diff --git a/docs/UI-BRIEF.md b/docs/UI-BRIEF.md index 4ab4ac8..833e828 100644 --- a/docs/UI-BRIEF.md +++ b/docs/UI-BRIEF.md @@ -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. diff --git a/docs/review/phase1.md b/docs/review/phase1.md index 92f6af4..709c5c7 100644 --- a/docs/review/phase1.md +++ b/docs/review/phase1.md @@ -33,3 +33,4 @@ State tags: `[open]`, `[fixed ]`, `[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. diff --git a/docs/ui-reference/welcome-1-welcome.jpg b/docs/ui-reference/welcome-1-welcome.jpg new file mode 100644 index 0000000..7580135 Binary files /dev/null and b/docs/ui-reference/welcome-1-welcome.jpg differ diff --git a/docs/ui-reference/welcome-2-import.jpg b/docs/ui-reference/welcome-2-import.jpg new file mode 100644 index 0000000..68d1618 Binary files /dev/null and b/docs/ui-reference/welcome-2-import.jpg differ diff --git a/docs/ui-reference/welcome-3-make-it-yours.jpg b/docs/ui-reference/welcome-3-make-it-yours.jpg new file mode 100644 index 0000000..22de1ae Binary files /dev/null and b/docs/ui-reference/welcome-3-make-it-yours.jpg differ diff --git a/docs/ui-reference/welcome-4-privacy.jpg b/docs/ui-reference/welcome-4-privacy.jpg new file mode 100644 index 0000000..fc3828c Binary files /dev/null and b/docs/ui-reference/welcome-4-privacy.jpg differ diff --git a/docs/ui-reference/welcome-5-search.jpg b/docs/ui-reference/welcome-5-search.jpg new file mode 100644 index 0000000..b3ae4f5 Binary files /dev/null and b/docs/ui-reference/welcome-5-search.jpg differ diff --git a/docs/ui-reference/welcome-6-all-set.jpg b/docs/ui-reference/welcome-6-all-set.jpg new file mode 100644 index 0000000..a02cf2d Binary files /dev/null and b/docs/ui-reference/welcome-6-all-set.jpg differ diff --git a/docs/ui-reference/welcome-transition.jpg b/docs/ui-reference/welcome-transition.jpg new file mode 100644 index 0000000..69ec3f5 Binary files /dev/null and b/docs/ui-reference/welcome-transition.jpg differ