ENG-2716: Add rules tab to policy detail page#7437
Merged
gilluminate merged 7 commits intomainfrom Feb 23, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
gilluminate
added a commit
that referenced
this pull request
Feb 19, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Greptile SummaryAdds a functional rules tab to the DSR policy detail page, expanding from a placeholder to display policy rules in collapsible panels. The implementation includes read-only form views for each rule showing name, key, action type, and conditional fields (masking strategy for erasure rules, storage destination for access rules). Key Changes
Implementation Quality
Confidence Score: 4/5
Important Files Changed
Last reviewed commit: a2b7206 |
40b7a73 to
dced905
Compare
gilluminate
added a commit
that referenced
this pull request
Feb 20, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
dced905 to
2ab5960
Compare
Contributor
speaker-ender
left a comment
There was a problem hiding this comment.
- Is there a link to the mock up described in the ticket?
- Might be a Jack question, but why plain text for the count instead of using a badge?
Minor nits/comments but otherwise functions as intended and can approve if the design is correct.
clients/admin-ui/src/features/policies/utils/formatMaskingStrategyName.ts
Outdated
Show resolved
Hide resolved
gilluminate
added a commit
that referenced
this pull request
Feb 23, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
2ab5960 to
5d7c0ca
Compare
Contributor
Author
|
@speaker-ender I applied your 2 suggestions. Thanks! Jack wants to leave the parentheses as is for now. |
Co-authored-by: Cursor <cursoragent@cursor.com>
1ce528a to
90ca6b2
Compare
speaker-ender
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket ENG-2716
Description Of Changes
Add the Rules tab implementation to the read-only DSR policy detail page. Expands the placeholder rules tab into a functional Collapse-based view that displays each rule's details including name, key, action type, masking strategy (for erasure rules), and storage destination (for access rules). Also adds a new masking strategies API endpoint, a reusable InfoPopover component, and improves accessibility on InfoTooltip.
Code Changes
clients/admin-ui/src/features/common/InfoPopover.tsx- New reusable popover component with info icon, supporting hover and focus triggersclients/admin-ui/src/features/common/InfoTooltip.tsx- Added focus trigger andtabIndex={0}for keyboard accessibilityclients/admin-ui/src/features/policies/rules/RulePanel.tsx- New read-only form panel displaying rule details (name, key, action type, masking strategy, storage destination)clients/admin-ui/src/features/policies/rules/RulesTab.tsx- Expanded from placeholder to Collapse-based rule list with empty stateclients/admin-ui/src/features/policies/utils/formatMaskingStrategyName.ts- Utility to convert snake_case strategy names to human-readable labels (e.g. "aes_encrypt" → "AES Encrypt")clients/admin-ui/src/features/policies/utils/formatMaskingStrategyName.test.ts- Unit tests for the formatting utilityclients/admin-ui/src/features/policy/policy.slice.ts- AddedgetMaskingStrategiesRTK Query endpoint for/masking/strategyclients/admin-ui/src/pages/privacy-requests/policies/[key].tsx- Wirespolicy.rulesintoRulesTab, shows rule count in tab labelclients/fidesui/src/ant-theme/global.scss- Added styles for form item explain/extra text (smaller font, neutral color)clients/fidesui/src/index.ts- ExportedPopoverPropstypeSteps to Confirm
Pre-Merge Checklist
CHANGELOG.mdupdatedMade with Cursor