Skip to content

Fix/api key reach collapsed - #549

Merged
codyllord merged 4 commits into
developfrom
fix/api-key-reach-collapsed
Oct 27, 2026
Merged

codyllord merged 4 commits into
developfrom
fix/api-key-reach-collapsed

Conversation

@codyllord

Copy link
Copy Markdown
Contributor

No description provided.

A key whose role spans many services turned the detail page into a
scroll of expansion panels: with 152 reachable services the page was
7,100 px tall and the reach map alone 6,400 px of it. The section now
starts closed, and its header shows what it holds ("152 services, 152
grants") so nothing is lost by not opening it. The scope map stays in
the DOM so the summary resolves without a click.

- df-scope-map emits a `loaded` summary once reach is resolved.
- Show/Hide toggle with aria-expanded; the summary comes from the map.
- Guard the snackbar call in create mode, where there is no app yet
  (null dereference surfaced by the spec).
- Spec: provide MatSnackBarModule so the suite runs again; add a test
  for the collapsed state and the toggle.

Checked against a role reaching 152 services: page height 7,106 px
before, 1,028 px after, all 152 panels still render when opened.
Rows showed the service label, and most labels are just the type
("mysql" over and over), so a wide role read as a list of identical
entries. Show the name, with a differing label as the hover title.
@codyllord
codyllord merged commit 2efa210 into develop Oct 27, 2026
1 check passed
@codyllord
codyllord deleted the fix/api-key-reach-collapsed branch October 27, 2026 20:11
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.

1 participant