diff --git a/Plans/07 Polish pass/S039-motion.md b/Plans/07 Polish pass/S039-motion.md index 5f58ff9..df5282b 100644 --- a/Plans/07 Polish pass/S039-motion.md +++ b/Plans/07 Polish pass/S039-motion.md @@ -1,6 +1,6 @@ # S039 — Motion rules and animations -> Category 07 Polish pass · Model: Opus · Effort: medium · Depends on: S035 · Size: M · Human: no +> Category 07 Polish pass · Model: Opus · Effort: medium · Depends on: — (S035 adds its new flyouts on top, following these rules) · Size: M · Human: no > Files touched: src/theme.rs (spring presets), src/ui/{menus,dialogs,chrome,widgets,paint}.rs, src/ui/pages/{settings,downloads,history}.rs, docs/DESIGN.md "UI system" (Motion rules), tests/smoke/motion.txt (new) ## Goal diff --git a/Plans/07 Polish pass/S043-ui-refine.md b/Plans/07 Polish pass/S043-ui-refine.md new file mode 100644 index 0000000..f2d6722 --- /dev/null +++ b/Plans/07 Polish pass/S043-ui-refine.md @@ -0,0 +1,35 @@ +# S043 — UI refine pass: from "OK" to fluent + +> Category 07 Polish pass · Model: Opus · Effort: medium · Depends on: S039 · Size: M · Human: 🧑 the user picks between before/after shots at the end +> Files touched: src/ui/{menus,chrome,widgets,paint,dialogs}.rs, src/theme.rs, src/ui/pages/*.rs (only shared widgets), tests/smoke/refine.txt (new) + +## Goal +The user: things work but look "basic, not nice and fluent". Reference `docs/ui-reference/basic-protection-flyout.png` +(the shield / Protection flyout): flat stacked sections, thin dividers, small headers, a lone big number, buttons +floating at the right, generic spacing. Raise the visual quality of the chrome and flyouts to a designed Material You +look that pairs with the S039 motion: clear hierarchy, grouped surfaces (tonal containers instead of dividers), +consistent spacing on the 4 px grid, typography scale used with intent, icons with state colour, richer +controls (status chips, meters), polished empty/active states. No new features. + +## Read +- `docs/ui-reference/basic-protection-flyout.png`, `docs/UI-BRIEF.md`, `docs/DESIGN.md` "UI system (S015)" incl. the S039 motion rules +- `src/ui/menus.rs` (flyouts), `src/ui/widgets.rs`, `src/theme.rs` tokens · load the `app-taste` and `unslop` skills + +## Steps +- [ ] Shots of the current state: every flyout (shield, downloads, media, site info, profiles, main menu, bookmark edit), toolbar, tab strip, address dropdown, dark and light (`chrome.txt` / new `refine.txt`); list what reads as "basic" per screen (5 lines each max) in `docs/review/phase5-refine.md`. +- [ ] Shared building blocks first (DRY): section card (tonal container, header row with icon + action), stat block (number + label + meter/sparkline), status chip, button row alignment, list row; tokens in `theme.rs`. +- [ ] Shield flyout redesign with the blocks (the user's example): ad-block stat as a card with per-page/total and a small meter, privacy and VPN as cards with state chips, actions aligned; before/after shots. +- [ ] Apply to every other flyout and the main menu; then toolbar/tab strip/address dropdown details (hover/press states, icon weights, spacing). +- [ ] Check S039 motion still applies (anchor scaling, closing state) on the new layouts. +- [ ] Rerun refine, chrome, gallery, settings, launch smokes; read the PNGs; `SMOKE_VISIBLE=1 tools/smoke.sh tests/smoke/refine.txt` for the user. +- [ ] 🧑 Orchestrator shows the user before/after shots of the shield flyout and two others; record their verdict in phase5-refine.md. +- [ ] PROGRESS entry, INDEX line, commit `S043: …`, push. + +## End criteria +- refine.txt green; before/after PNGs for every flyout in dark and light (read them); chrome, gallery, settings, launch smokes green; `nice cargo test --release -j 2` green. + +## Pitfalls +- Keep it a visual pass: no behaviour changes. Don't hand-tune per flyout what belongs in a shared widget. + +## Handoff (→ PROGRESS.md) +New shared widgets and tokens; screens still marked "basic". diff --git a/Plans/INDEX.md b/Plans/INDEX.md index 905f257..c279ab4 100644 --- a/Plans/INDEX.md +++ b/Plans/INDEX.md @@ -59,3 +59,4 @@ Tracker: https://claude.ai/artifact/9AD7fPfwJ4ASFzVTJGKU4h - [ ] [S040 — Little things sweep](07%20Polish%20pass/S040-little-things.md) · Opus medium - [ ] [S041 — Site passes](07%20Polish%20pass/S041-site-passes.md) · Opus high · 🧑 - [ ] [S042 — Phase 5 review with the user](07%20Polish%20pass/S042-phase5-review.md) · Sonnet medium · 🧑 +- [ ] [S043 — UI refine pass: from "OK" to fluent](07%20Polish%20pass/S043-ui-refine.md) · Opus medium · 🧑 diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md index e61c9cc..eabd65e 100644 --- a/docs/DECISIONS.md +++ b/docs/DECISIONS.md @@ -30,3 +30,4 @@ - D-024 — 2026-11-12 — S031 (SIGSEGV, critical) runs before S010–S014 and before S028: main's `target/` was free while S027 finishes in its worktree, and a crash outranks the remaining review/gap plans. S028 GOes after S031 and S027 are validated. — orchestrator call (user: make recommended calls) — S028, S031, S010–S014 - D-025 — 2026-11-12 — S027 accepted at WPT 239/407 (target 293 not met): the failing groups need the player side (metadata after the init segment, duration boundary conditions, play/seek, changeType across containers, errors before init, buffered after removeSourceBuffer, Opus/fLaC in MP4) and move to S028's scope, with the one-off script-thread hang at WPT file 19. S028's end report states the new WPT count. — the DOM work is done and smoke-verified; the rest is player integration — S028 - D-026 — 2026-11-12 — User priority: Nacre must first work as a full daily browser (sites load and render, video plays, sign-ins, downloads, tabs/session solid) before broad bug-fix and polish sweeps. Run order after the in-flight work (S031 crash, S028 MSE merge): S029 YouTube/Reddit → S041 site passes → S032 load speed → S033 SVG/masks → S030 media packaging → S010 🧑 review → S011–S013 gaps → S034–S038 → S039/S040 polish last; S014/S042 reviews close their phases. — user, 2026-11-12: "patch it up until it works like a full fledged browser" before aggressive bug fixing — every remaining plan +- D-027 — 2026-11-12 — Supersedes D-026's order: motion and visual quality move up (user: things look basic, not fluent; example the Protection flyout). Order after the in-flight work (S031, S028): S029 → S039 motion (no longer waits for S035) → S043 UI refine pass (new) → S041 → S032 → S033 → S030 → S010 🧑 → S011–S013 → S034–S038 → S040; reviews S014/S042 close their phases. — user, 2026-11-12 — every remaining plan diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index b5acc8c..9d9f5ce 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -108,7 +108,7 @@ Orchestrator 2 = this run (started from the old orchestrator local_f8354413-…) - Sessions report by SendMessage to the orchestrator's id; a new orchestrator must message each running/waiting session its own id. ### Wrap-up (2026-11-12 late, weekly limit) — start a NEW orchestrator from here -- User priority now D-026: full working daily browser first, polish last. Run order is in D-026. +- User priority: D-026 then D-027 (motion S039 and new UI refine plan S043 moved up). Run order is in D-027. - At wrap-up: S031 (spare-a, main tree) and S028 (worktree ~/Projects/Nacre-s022, branch s022-mse-proto) were told to commit their state (`WIP` if unfinished) with accurate plan boxes and a PROGRESS note, push, and stop. Check `git log`, `git status` (main and the worktree) and each plan's first unchecked box before anything else; a plan @@ -116,7 +116,7 @@ Orchestrator 2 = this run (started from the old orchestrator local_f8354413-…) - S028 must not merge to main until S031 is validated (D-024). S029/S030/spare-b (S010) are waiting, untouched. - Next three steps: (1) validate or resume S031 (`python3 tests/smoke/net/server.py &` then `SMOKE_VISIBLE=1 tools/smoke.sh tests/smoke/crash-adblock.txt` ×3, heavy-web); (2) resume/validate S028 and let it - merge; (3) GO S029, then S041 (D-026 order). + merge; (3) GO S029, then S039, S043 (D-027 order). - Known bugs: R5-01 crash until S031 lands; YouTube stalls / WPT 239/407 (S028); see PROGRESS "Later". - Build/test: `nice cargo build --release -j 2`, `nice cargo test --release -j 2` (never together, one cargo per target/); smokes per CLAUDE.md §5. diff --git a/docs/HANDOFF_PROMPT.md b/docs/HANDOFF_PROMPT.md index 11af9e0..95a2133 100644 --- a/docs/HANDOFF_PROMPT.md +++ b/docs/HANDOFF_PROMPT.md @@ -1,4 +1,4 @@ /orchestrate Read docs/HANDOFF.md and docs/STATUS.md (if it exists), then continue from the next steps in the last section -("Wrap-up (2026-11-12 late)"). Run order is D-026 in docs/DECISIONS.md. Only open other files when you need them. +("Wrap-up (2026-11-12 late)"). Run order is D-027 in docs/DECISIONS.md. Only open other files when you need them. diff --git a/docs/ui-reference/basic-protection-flyout.png b/docs/ui-reference/basic-protection-flyout.png new file mode 100644 index 0000000..b24f283 Binary files /dev/null and b/docs/ui-reference/basic-protection-flyout.png differ