-
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] Generalized namespace handling, generalized facet searching, node pools facet search #23468
Conversation
This looks beautiful! LGTM. I won't approve because that is reserved for engineering! |
@@ -202,7 +195,7 @@ export default class JobsIndexController extends Controller { | |||
* @param {Error} e | |||
*/ | |||
notifyFetchError(e) { | |||
const firstError = e.errors[0]; | |||
const firstError = e.errors?.objectAt(0); |
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.
I should've caught this in #23427, but handling it here. Defensive logic in case there's an errors-less error (driving through a tunnel, etc.)
@@ -433,40 +426,38 @@ export default class JobsIndexController extends Controller { | |||
label: 'NodePool', | |||
options: (this.model.nodePools || []).map((nodePool) => ({ | |||
key: nodePool.name, | |||
string: `NodePool == ${nodePool.name}`, | |||
string: `NodePool == "${nodePool.name}"`, |
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.
Fixes an issue reported in #23445
441242d
to
885e836
Compare
885e836
to
a01cde7
Compare
Ember Test Audit comparison
|
e41e55f
to
82664c0
Compare
82664c0
to
39552cd
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.
LGTM!
Changes the jobs index page's Namespaces dropdown from single select (radio buttons) to checkboxes (multiple OR-based selection)
Also fixes an error noted in #23445 where node pools and namespaces with
-
characters would not filter correctlyResolves NET-10159