refactor: monitor field toggles [ENG-2582]#7441
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
fa7b126 to
a23598a
Compare
036ba7b to
97027f3
Compare
97027f3 to
3560496
Compare
3560496 to
9dcf411
Compare
9dcf411 to
ed19190
Compare
ed19190 to
3fc6c97
Compare
1607421 to
e9fb801
Compare
Greptile SummaryThis PR refactors the Action Center monitor field filtering by moving Key changes:
Issues found:
Confidence Score: 3/5
Important Files Changed
Last reviewed commit: a3273b3 |
Additional Comments (1)
The first The second This causes unnecessary double renders on initial mount since both hooks will run. The first hook should be removed, keeping only the second one that properly resets state when filters change. |
6e97748 to
a3273b3
Compare
|
@greptile |
clients/admin-ui/src/pages/data-discovery/action-center/datastore/[monitorId]/index.tsx
Show resolved
Hide resolved
clients/admin-ui/src/pages/data-discovery/action-center/datastore/[monitorId]/index.tsx
Show resolved
Hide resolved
864633f to
e330583
Compare
dd50f39 to
e184446
Compare
lucanovera
left a comment
There was a problem hiding this comment.
Nice work! The new filter button/dropdown looks nice with the new icon and the checkbox for state. I left a few comments on small code improvements, but I'll leave the approve too.
One callout I want to make is that we should try to fix the UX tree closing when you apply filters. I know that these filters are not supposed to be used very often, but if someone needs to use it and it closes each time it would be a really bad UX. I hope we can make a fast follow up to fix it.
clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/MonitorTree.tsx
Outdated
Show resolved
Hide resolved
clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/MonitorTree.tsx
Outdated
Show resolved
Hide resolved
clients/admin-ui/src/features/data-discovery-and-detection/action-center/fields/page.tsx
Show resolved
Hide resolved
...ui/src/features/data-discovery-and-detection/action-center/forms/MonitorFieldsSearchForm.tsx
Outdated
Show resolved
Hide resolved
chore: i hate effects chore: more linting chore: more linting again chore: fix rebase
chore: another rename
chore: linting
e184446 to
b9b3174
Compare
Agreed and there is a follow up for that for the upcoming sprint. |
Ticket ENG-2582
Description Of Changes
Refactors the filters and moves
ignoredandapprovedfilters into a page settings dropdown.This also enables filtering of the tree by
ignoredandapprovedresources.Code Changes
ignoredandactiveresources in the action centerSteps to Confirm
Action Centerscreenshow ignoredandshow approvedresets the tree and appropriately filters the tree.Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works