-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
refactor(frontend): Make dashboard search box the first filter #19721
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19721 +/- ##
==========================================
- Coverage 66.85% 66.85% -0.01%
==========================================
Files 1847 1847
Lines 70561 70560 -1
Branches 7737 7737
==========================================
- Hits 47174 47173 -1
Misses 21380 21380
Partials 2007 2007
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@kasiazjc @jess-dillard any objections to this? If not, we can probably get it through quickly. @cemremengu (or anyone, really) would just need to resolve the conflicts |
@rusackas No objections here, let's do it! |
@cemremengu let me know if you can fix the merge conflict, and we'll get this thing through! |
Searching is the most natural filter so most people are looking for it first before checking others. This PR moves `Search` to the beginning of the dashboard filters in an attempt to provide easier accessibility. Feel free to close this PR if this is not suitable for core team.
@rusackas done! |
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.
One little tweak, then we should be good!
@@ -533,13 +539,7 @@ function DashboardList(props: DashboardListProps) { | |||
{ label: t('No'), value: false }, | |||
], | |||
}, | |||
{ | |||
Header: t('Search'), | |||
key: 'search', |
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.
Oops! I think this line needed to come along for the ride!
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.
Ah apologies, forgot to check CI
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!
Could this be done for Charts view also? And I suppose Dataset view as well. Both still have |
SUMMARY
Searching is the most natural filter so most people are looking for it first before checking others. This PR moves
Search
to the beginning of the dashboard filters in an attempt to provide easier accessibility.Feel free to close this PR if this is not suitable for core team.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
** BEFORE **
AFTER
ADDITIONAL INFORMATION