-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui: Fix fuzzy search namespace-handling #10666
Conversation
Is “@ namespace” sensible? 🧐
Ember Asset Size actionAs of 00df085 Files that got Bigger 🚨:
Files that stayed the same size 🤷:
|
Ember Test Audit comparison
|
@JBhagat841 I'm assigning this to you just so that we don't lose track of open PRs from Buck, but there's no special rush on it other than that we should try to ship it in the 1.1.x cycle. |
Namespaces are set-up in Nomad to be an object that has an id property. However, namespaces actually don't have that shape. Our search was expecting a namespace object, but we actually don't have a namespace assigned to jobs in our config and namespace is set to null. Normally, these namespaces would be set to default, but that would require us to refactor our Mirage config if we wanted to assert that namespaces are 'default' and not null. So this is a bandaid solution.
e354f68
to
2649d19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Just missing a changelog entry 😉
88c29dd
to
2c30c33
Compare
2c30c33
to
00df085
Compare
ui: Fix fuzzy search namespace-handling
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
The initial UI for fuzzy search failed to include the flag to query across all namespaces. This also has a suggested implementation for showing namespaces in job and allocation label like
job @ namespace
, but this is perhaps not an established pattern in the UI, and maybe other search results should have namespaces too, maybe it should be lighter grey…? Things to consider 🤔