feat(settings): comfortable and compact density

Open
#140 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
react, typescript, web-dev
Domain
design, frontend

Research direction

Read plans/261202-0003-client-bootstrap/design-feature-matrix.md and plans/261202-0806-keep-all-design-features/plan.md for the design and implementation order, then inspect the shared design tokens, segmented-control primitive, and nearby Settings section files. Implement the local per-device preference and verify it in real web/PWA and desktop builds, covering the listed tests and touch targets; done means the preference works across the specified themes, layouts, and keyboard use without server sync.

Written by the indexing model from the issue text.

Description

enhancement in progress

Design: board 29 Settings, row M18 (density Comfortable / Compact).

A local preference that tightens spacing in lists, tables and the conversation, on web/PWA and desktop.

Acceptance criteria

  • A segmented control in Settings, Appearance with Comfortable (default) and Compact, using the shared segmented-control primitive.
  • Density is a design-token switch (spacing and row-height tokens), not per-screen overrides. No hardcoded sizes.
  • The preference is local, stored per device (not per workspace), and never synced to the server.
  • Touch targets stay at least 44 px on touch devices in Compact; 390 px layouts may ignore Compact where it would break the task.
  • Tests. Toggle, persistence across reload, both themes and reduced motion, and keyboard use.
  • Done. This issue has no server route: it closes when density works in real web/PWA and desktop builds, not in fixtures alone.

Capability

No feature id: a local preference, available on every server.

Denied, pending and recovery states

N/A: local preference. If storage is unavailable, Comfortable is used.

Parity

Surface Evidence
Gateway API/RPC N/A: local-only UI preference
CLI N/A
MCP N/A
CCP / RGD / ACP N/A
Dewee client Settings on web/PWA and desktop
Conversation N/A
Docs docs/UX-AX-STANDARDS.md density note
Traces N/A

Dependencies

#111. Admin lane owns screens/settings/{index,settings-nav}.tsx; this issue adds only its own section file and one registration line, in the order the plan names.

Rules for this issue

  • The owner kept this feature on 2026-12-02 (DECISIONS.md D23, recorded by the keep-all docs PR #132). Design rows and states are in plans/261202-0003-client-bootstrap/design-feature-matrix.md. The plan is plans/261202-0806-keep-all-design-features/plan.md.
  • Done means wired. This issue closes only with a slice wired to the real route it depends on: the relay route through the web BFF and the desktop host command, or, for a client-only feature, the real native or browser path. The slice runs behind its dark capability id and is verified on staging once the route exists. Fixtures are for tests only. A fixture-backed screen never closes this issue and is never listed in plans/EVIDENCE.md. Until the route merges, the feature renders its gated or dark state.
  • One relay integrator. Only the relay-integrator lane adds ClientMethod entries to CLIENT_METHODS in packages/core/src/protocol.ts, one route at a time in merge order, together with the BFF allowlist entry and the desktop host command. A feature lane does not edit protocol.ts or capabilities.ts. The desktop host's shared files (lib.rs, capabilities/default.json, Cargo.toml, Cargo.lock, build.rs, apps/desktop/src/desktop-session.ts) have one owner at a time, in the order the plan names; a lane puts its commands in its own module and adds only a registration line.
  • Ships dark. The client id below resolves from the server's capability read through the capability map (#135). A feature without both renders its gated or dark state, never sample data presented as real. Where the route belongs to a domain that still awaits server-side relay parity, its relay child flag stays off until that domain's upstream parity work lands (tracked privately).
  • Both hosts. Web/PWA and desktop, en/vi, light/dark, 390/768/1024/1440, keyboard-only.
  • Checks. Typecheck, Biome and focused tests. Tests cover flag off, denied, pending, revocation and recovery.
  • Review. An independent review runs before the PR leaves draft. No auto-merge.
Dominant language
No language data
Stars
1
Forks
2
Avg merge
1h 51m
Merged PRs (30d)
103

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextlevelbuilder/dewee-desktop-app

All issues in nextlevelbuilder/dewee-desktop-app

Similar issues

More Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.