orchestrator: welcome page target (UI-BRIEF, R1-08, reference frames)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-11 23:18:27 -06:00
commit 924b799875
9 changed files with 29 additions and 0 deletions

View file

@ -72,3 +72,31 @@ a hint when empty. The page sits in a floating rounded card with a margin.
- Keep egui for the redesigned UI, or draw the chrome with something else? (egui can do all of the above with custom
painting; text shaping and blur are its weak spots.)
- Fonts: the video uses a geometric sans (looks like Google Sans / Outfit) with thin clock digits.
## Welcome page (nacre://welcome), added 2026-11-11
Source: the user's recording `~/Videos/Recordings/recording_20261111_23-15-56.mp4` (13 s, their reference browser).
Frames: `docs/ui-reference/welcome-*.jpg`. The user: "I want this to be the welcome page, improve any way you want."
So it's a target to beat, not a pixel spec. Existing code: `Page::Welcome` → `misc::welcome`, `welcome_step`.
Flow: a centred translucent card over a live animated backdrop (the NTP Shapes background: soft tonal cookies,
blobs, pills drifting), a step indicator on top (dots, the current one a stretched pill, joined by a wavy line),
and a footer row: `← Back` on the left, `Skip setup` text button and a filled pill `Continue →` on the right
(`Get started →` on step 1, `Start browsing →` on the last). Steps change with a soft crossfade + blur and a slight
slide; the card resizes on a spring. Steps:
1. **Welcome**: app mark (gem) in a tonal cookie, "Welcome to Nacre", one-line pitch, feature chips
(Ad blocking, Privacy mode, Your colours, Built-in VPN).
2. **Bring your things**: chips for what to import (Bookmarks, History, Home page & search), detected browsers
on this computer (with an empty state naming the browsers it looks for), and "Passwords from a file" with
Choose CSV… and short export instructions.
3. **Make it yours**: Mode (Follow the system / Light / Dark), Colour (From each website / System accent /
A colour I pick + swatches), New tab background chips; everything previews live as you click.
4. **Privacy, your way**: rows with icon, title, subtitle and switch: Block ads and trackers, Privacy mode,
HTTPS-only, Ask sites not to track you; sensible defaults already on.
5. **Search with**: engine chips (DuckDuckGo, Google, Brave, Startpage, Bing, Kagi), When Nacre starts
(new tab / continue where I left off / home page), Writing (check spelling switch).
6. **You're all set**: check mark in a tonal circle that pops in, "Everything here lives in Settings too",
a "Make Nacre your default browser" tonal button.
Improve on it: real keyboard flow (Enter = continue, Esc = skip), Motion setting respected, every choice written
to settings immediately, works in light mode too, no scroll inside the card at normal window sizes.

View file

@ -33,3 +33,4 @@ State tags: `[open]`, `[fixed <commit>]`, `[wontfix: reason]`. Severity: high /
- R1-05 [open] UI is "really basic"; the new-tab page isn't what the user was going for. Severity: medium. Phase 4 redesign; target in docs/UI-BRIEF.md.
- R1-06 [open] Wants the feel of the old Python Nacre (`nacre` in ~/.local/bin: dark Material-style lists of nacre:// pages, outlined icons), improved with animations and an "unslop" look, very user friendly. Severity: medium. Input for the Phase 4 redesign.
- R1-07 [open] Ad-block removal animation, like the "pie" ad blocker extension: before a blocked ad element (e.g. YouTube in-feed "Sponsored" cards, feed/sidebar ad slots) disappears, show a Material You overlay on it, a tonal shape (cookie/scalloped) with a check mark that pops in, then the element shrinks out and its height/width collapses smoothly so the surrounding content shifts into place (no jump, no blank gap). Applies to cosmetic removals and YouTube ad slots. Today `COSMETIC_JS` in `src/inject.rs` only fades and scales to 0.92 and then sets `display:none`, so content jumps. Respect the Motion setting and `animate_removal`; skip offscreen elements. Severity: medium. (user, during S019) → S012.
- R1-08 [open] Welcome page: make nacre://welcome the multi-step setup flow from the user's recording (steps, motion and frames in docs/UI-BRIEF.md "Welcome page", `docs/ui-reference/welcome-*.jpg`), improved where possible. Severity: medium. (user, during S019) → S020.

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB