Skip to content

feat(layout): single-tenant UX polish — footer, field hierarchy#76

Merged
zeevdr merged 2 commits into
mainfrom
feat/single-tenant-ux-polish
May 31, 2026
Merged

feat(layout): single-tenant UX polish — footer, field hierarchy#76
zeevdr merged 2 commits into
mainfrom
feat/single-tenant-ux-polish

Conversation

@zeevdr

@zeevdr zeevdr commented May 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Completes the sidebar footer spec from Single-tenant mode: sidebar, navigation, and UX polish #13: adds the app version number and a Docs link alongside the existing "Powered by OpenDecree" line, so the single-tenant sidebar matches the design doc.
  • Implements the field display hierarchy called out in ui-modes.md: descriptions are shown at full weight ("prominent"), untitled field paths are dimmed to secondary gray, and type badges use neutral gray ("subtle") in single-tenant and config-only modes.

Test plan

  • New Layout.full and Layout.single-tenant test suites pass (footer content, nav item presence/absence).
  • All 53 tests pass — npx vitest run.
  • npx biome check src/ reports no issues.

Closes #13

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>
@zeevdr zeevdr added this to the Beta Readiness milestone May 31, 2026
@zeevdr zeevdr added size: M Moderate — a day or two, clear scope priority: P2 Nice-to-have labels May 31, 2026
@codecov

codecov Bot commented May 31, 2026

Copy link
Copy Markdown

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>
@zeevdr zeevdr merged commit cc1d7b2 into main May 31, 2026
10 checks passed
@zeevdr zeevdr deleted the feat/single-tenant-ux-polish branch May 31, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: P2 Nice-to-have size: M Moderate — a day or two, clear scope

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single-tenant mode: sidebar, navigation, and UX polish

1 participant