Skip to content

#4316 expand all rules#4350

Open
cielbellerose wants to merge 7 commits into
feature/rules-dashboardfrom
#4316-expand-all-rules
Open

#4316 expand all rules#4350
cielbellerose wants to merge 7 commits into
feature/rules-dashboardfrom
#4316-expand-all-rules

Conversation

@cielbellerose

@cielbellerose cielbellerose commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Changes

Button for expanding/collapsing all rule dropdowns

  • general view
  • team view
  • edit view
  • project detail rules view (moved assign rules to the bottom bar for consistency)

Demo

Screen.Recording.2026-07-24.at.10.40.02.AM.mov

Screenshots

Screenshot 2026-07-24 at 10 34 22 AM Screenshot 2026-07-24 at 10 14 17 AM Screenshot 2026-07-24 at 10 14 30 AM Screenshot 2026-07-24 at 10 32 45 AM Screenshot 2026-07-24 at 10 32 17 AM Screenshot 2026-07-24 at 10 35 25 AM Screenshot 2026-07-24 at 10 32 37 AM

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #4316

@cielbellerose cielbellerose linked an issue Jul 23, 2026 that may be closed by this pull request
@cielbellerose cielbellerose self-assigned this Jul 23, 2026
@cielbellerose
cielbellerose changed the base branch from develop to feature/rules-dashboard July 23, 2026 19:24
* project. Finally groups by rules not assigned to any team.
* Note that rules can be on more than one team and in more than one project for that team.
*/
const getTeamOrganization = (allRules: Rule[]): { teamRules: TeamRules[]; unassignedToTeam: Rule[] } => {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to rules utils

const tableTextColor = theme.palette.text.primary;
const tableHoverColor = theme.palette.action.hover;

// recompute row tree only when the rules change

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to useTeamRuleOrganization

@cielbellerose
cielbellerose marked this pull request as ready for review July 24, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RulesDashboard] - Expand All Rules Button

1 participant