Repository navigation
feat: fleet-demo user registry, diagram rendering, and theme fixes - #526
Merged
Merged
Conversation
sini
force-pushed
the
feat/fleet-user-enhancement
branch
2 times, most recently
from
May 13, 2026 03:15
1baff9a to
1268ca2
Compare
sini
force-pushed
the
feat/fleet-user-enhancement
branch
from
May 13, 2026 03:19
1268ca2 to
23b9f7f
Compare
sini
enabled auto-merge (squash)
May 13, 2026 03:25
Fleet demo enhancements: - Wire ssh-keys battery, remove inline deploy users - Fleet-only composite mermaid galleries with descriptions - Deep README covering policies, pipes, entities, and groups - Simplified diagrams.nix with github-light theme - Filter wsl-host-aspect from namespace (not used in this template) - Filter excludes from pipe summary (framework-internal, not a user pipe) - Fix README URL to vic/den Diagram rendering fixes: - Use theme.accentPool instead of hard-coded Catppuccin colors in fleet-views.nix — all accent0..7 references fell through to hard-coded values because the theme record has accentPool (list), not named accent attributes - Auto-detect light vs dark palettes for contrast text on accent fills (base07 for light themes, base00 for dark) - Consistent entity-kind coloring across all fleet views — hosts are green in pipe-flow, scope-topology, and policy-resolution - Namespace diagram colors by structural role (host vs shared) using colorKey to bypass per-name hash perturbation - Transparent environment subgraphs in pipe-flow diagram - Pipe colors spread via coprime stepping for visual distinction - Assert non-empty accentPool in accent helper Build config: - Exclude generated diagram outputs from treefmt formatting rules
sini
force-pushed
the
feat/fleet-user-enhancement
branch
from
May 13, 2026 03:31
23b9f7f to
a0b006d
Compare
theutz
approved these changes
May 13, 2026
theutz
left a comment
Collaborator
There was a problem hiding this comment.
❤️❤️💙💙❤️💙❤️💙💙💙❤️❤️❤️💙❤️❤️❤️❤️💙💙❤️❤️❤️TM
charlesfire
pushed a commit
to charlesfire/den
that referenced
this pull request
May 16, 2026
…enful#526) ## Summary - **Fleet demo**: wire ssh-keys battery, user registry, composite mermaid galleries, deep README covering policies/pipes/entities/groups - **Diagram theme fix**: fleet-views.nix referenced `theme.accent0..7` (named attrs that don't exist) instead of indexing `theme.accentPool` — all accent colors fell through to hard-coded Catppuccin values regardless of chosen scheme - **Light theme contrast**: auto-detect light vs dark palettes, select `base07` (dark) or `base00` (dark) for text on accent fills - **Consistent coloring**: hosts are green across all fleet views (pipe-flow, scope-topology, policy-resolution); namespace colors by structural role (host vs shared) using `colorKey`; transparent pipe-flow subgraphs; coprime-stepped pipe edge colors ## Test plan - [x] 778/778 CI tests passing - [x] Regenerated fleet-demo diagrams with correct palette colors - [x] Verified github-light default theme produces dark text on accent fills - [x] Verified namespace diagram: uniform color per structural role - [x] Verified pipe-flow: entity-kind host coloring, transparent env subgraphs
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.
Summary
theme.accent0..7(named attrs that don't exist) instead of indexingtheme.accentPool— all accent colors fell through to hard-coded Catppuccin values regardless of chosen schemebase07(dark) orbase00(dark) for text on accent fillscolorKey; transparent pipe-flow subgraphs; coprime-stepped pipe edge colorsTest plan