-
Notifications
You must be signed in to change notification settings - Fork 84
Replace filter modal with a filter bar #6943
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
Replace filter modal with a filter bar #6943
Conversation
…ENG-1900-FE-Convert-filter-modal-to-a-filter-bar
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
@greptileai review again |
…cyRequestFiltersBar.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
@greptileai review again |
Greptile OverviewGreptile SummaryThis PR converts the privacy request filtering UI from a modal-based approach to an inline filter bar, improving UX by making filters more accessible and visible. Key Changes:
Critical Issue:
Notes:
Confidence Score: 3/5
Important Files ChangedFile Analysis
|
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.
9 files reviewed, 1 comment
clients/admin-ui/src/features/privacy-requests/dashboard/PrivacyRequestFiltersBar.tsx
Show resolved
Hide resolved
|
@speaker-ender fyi this is ready for review now |
speaker-ender
left a comment
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.
Minor nits/questions but looks good!
clients/admin-ui/src/features/privacy-requests/dashboard/PrivacyRequestFiltersBar.tsx
Outdated
Show resolved
Hide resolved
| setFilters, | ||
| }: PrivacyRequestFiltersBarProps) => { | ||
| // Convert filters to date range value | ||
| const getDateRange = (): [dayjs.Dayjs, dayjs.Dayjs] | null => { |
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 like how the return type is explicit about valid values.
Why not apply this to the filters/component props as well?
…rt-filter-modal-to-a-filter-bar
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Ticket ENG-1900
Description Of Changes
Replace the filter modal with a new filter bar in the new request manager screen. Rearrange elements in the header to have filter bar on top and actions in a second line below. Add a refresh button for results. Adds results count in header.
Notes:
Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works