Repository navigation
docs(spec): add mobile UI design-system spec - #905
Conversation
Pins design-system patterns (breakpoints, navigation, modals, touch standards, voice button placement, safe-area handling, accessibility, component inventory) before mobile UI work in M1/M2/M3/M5 (#894-#898) begins. Without this spec, parallel agents on adjacent issues produce divergent component patterns and require rework. Documents the slide-out drawer choice over bottom-tab navigation (with rationale), 768px mobile breakpoint, the <Panel> component pair (desktop floating ↔ mobile fullscreen), 44pt touch minimums per Apple HIG, push-to-talk voice default on mobile, and a per-component inventory under src/gaia/apps/webui/src/components/mobile/. Resolves the spec deliverable from issue #901.
The old URL m3.material.io/foundations/accessible-design/accessibility-basics returns 404. The correct page is at /foundations/accessible-design.
SummaryThis PR adds a single 466-line spec doc ( Issues Found🟢 Minor1. Issue ↔ milestone mapping disagrees between PR description and spec ( The spec consistently says M1 = tunnel (#893) and M5 = PWA (#898):
But the PR description says:
That's the inverse on M1/M5. Either the spec or the description is wrong — please reconcile so future agents reading either source land on the same milestone graph. (The spec is internally consistent, so most likely the PR description got the M-numbers swapped.) 2. Line-number drift on Spot-check against the current
Most refs are dead-on, but the 3. Section 8 code block mixes CSS and HTML ( The fenced Add to <meta name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"> |
…work (amd#906) Adds a third issue template (alongside `bug_report.yaml` and `feature_request.yaml`) specifically for team-internal feature work and tasks intended for coding-agent assignment. ## Why The existing templates are user-facing. With AGENTS.md (PR amd#904) establishing "spec-before-PR" as a rule for consumer-critical work, internal issues need a template that prompts authors to capture: Goal, Scope, Acceptance criteria, Attribution / prior art, Dependencies, Failure modes, plus capability domain and product track selection. ## What it captures - **Goal** + **Scope** + **Acceptance criteria** sections (required) matching the depth of amd#887/amd#888/amd#890 specs - **Attribution** section (per CLAUDE.md attribution rule) - **Failure modes** section (per CLAUDE.md no-silent-fallback rule) - **Domain dropdown** — 8 options matching the new `domain:*` label taxonomy - **Track dropdown** — 3 options matching `track:*` labels (consumer-app / oem-pc / platform) - **Priority dropdown** with explicit definitions (p0=4 weeks, p1=2 milestones, etc.) - **Consumer-critical** checkbox ## Cross-references - AGENTS.md (PR amd#904) establishes the rules this template enforces in practice - Mobile design-system spec (PR amd#905) is an example of the spec depth required for consumer-critical work ## Test plan - [ ] Template renders correctly in the GitHub "New issue" picker - [ ] All dropdowns work - [ ] Required fields enforce on submit - [ ] No conflict with existing bug_report or feature_request templates
…work (amd#906) Adds a third issue template (alongside `bug_report.yaml` and `feature_request.yaml`) specifically for team-internal feature work and tasks intended for coding-agent assignment. ## Why The existing templates are user-facing. With AGENTS.md (PR amd#904) establishing "spec-before-PR" as a rule for consumer-critical work, internal issues need a template that prompts authors to capture: Goal, Scope, Acceptance criteria, Attribution / prior art, Dependencies, Failure modes, plus capability domain and product track selection. ## What it captures - **Goal** + **Scope** + **Acceptance criteria** sections (required) matching the depth of amd#887/amd#888/amd#890 specs - **Attribution** section (per CLAUDE.md attribution rule) - **Failure modes** section (per CLAUDE.md no-silent-fallback rule) - **Domain dropdown** — 8 options matching the new `domain:*` label taxonomy - **Track dropdown** — 3 options matching `track:*` labels (consumer-app / oem-pc / platform) - **Priority dropdown** with explicit definitions (p0=4 weeks, p1=2 milestones, etc.) - **Consumer-critical** checkbox ## Cross-references - AGENTS.md (PR amd#904) establishes the rules this template enforces in practice - Mobile design-system spec (PR amd#905) is an example of the spec depth required for consumer-critical work ## Test plan - [ ] Template renders correctly in the GitHub "New issue" picker - [ ] All dropdowns work - [ ] Required fields enforce on submit - [ ] No conflict with existing bug_report or feature_request templates
Summary
Adds `docs/spec/mobile-design-system.md` — pins design-system patterns (breakpoints, navigation, modals, touch standards, voice button placement, safe-area handling, accessibility, component inventory) before mobile UI work begins.
Why
The mobile work in M1 (#894 PWA), M2 (#895 responsive), M3 (#896 voice), M5 (#898 tunnel share) all touches the same React tree. Without a pinned spec, parallel agents on adjacent issues produce 4 different navigation patterns, 4 different modal patterns, 4 different touch conventions — guaranteeing rework. This spec is the prerequisite (per AGENTS.md "spec-before-PR" rule) for those issues to become agent-assignable.
Key decisions documented
Cross-references
Test plan