feat(layout): single-tenant UX polish — footer, field hierarchy#76
Merged
Conversation
Completes the visual polish items from issue #13: - Sidebar footer: add version number and Docs link alongside the existing "Powered by OpenDecree" line. Version injected at build time via __APP_VERSION__ (Vite define from package.json). - Config editor: in single-tenant and config-only modes, show field descriptions at full text-sm weight ("prominent"), dim untitled field paths to secondary gray, and render type badges in neutral gray instead of per-type colors ("subtle"). - Tests: add Layout.full and Layout.single-tenant test suites covering footer content and nav item presence/absence. Closes #13 Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Add TenantDetail unit tests for the single-tenant and full layout modes introduced in the previous commit. Tests verify that field descriptions use prominent sizing in product mode and small sizing in full mode, that type badges use neutral gray (subtle) vs per-type colors, and that untitled field paths are secondary vs bold. Fixes codecov/patch failure on PR #76. Co-Authored-By: Claude <noreply@anthropic.com>
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
Test plan
Layout.fullandLayout.single-tenanttest suites pass (footer content, nav item presence/absence).npx vitest run.npx biome check src/reports no issues.Closes #13