segmented keys its animation state on its widget id instead of its screen position (the recording showed wrong checks while scrolling); Interface size uses a new settled_slider that shows a value label while dragged and sets the value on release; filter_chip keeps one width; zoom resets at 100 %. Selftest press/drag/release and scroll; smoke scripts sliders(-visible).txt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 KiB
19 KiB
Progress
One entry per session, newest last, ≤ 15 lines: done, verified how, not done, later.
S001 — Compile to a binary (2026-11-11)
- Done: self-test WIP and UI brief committed; first build had 5 errors (missing
Readimport in instance.rs, missingSpellerimport in actions.rs, borrow errors in app.rs:796, store/scripts.rs:124, ui/pages/settings.rs:947), fixed in place; removed a no-opdrop(&mut)in app.rs. No feature degraded. - Verified:
nice cargo build --release -j 2exit 0;target/release/nacre(144 MB)--help/--versionexit 0 headless;lddresolves everything. nacre crate alone rebuilds in ~1 min (Servo was already built). - Not done: unit tests, launching a window (later plans).
- 66 warnings remain: egui 0.37 deprecations (
Ui::id,Id::new) and dead code. Dead code that hints at unwired features:History::autocomplete/top_sites(omnibox inline completion, new-tab top sites?),keys::conflicts(shortcut conflict check),Command::SpellReplace(duplicate ofMenuAction::SpellReplace),tabs::Page::Error,Prompt::Info. Worth a look in the gaps phase.
S002 — Unit tests green (2026-11-11)
- Done:
nice cargo test --release -j 2compiles with no test-only errors; 29 tests pass, run 0.1 s (build ~16 s). Green twice in a row. No code or test changes were needed: no bugs found. - Verified: grep of test modules: only temp dirs (adblock, vault), loopback TcpStream (bridge),
/nonexistentpaths (history); URLs in tests are string constants. No test touches~/.config/nacre*, Tor or proxies. - Not done: coverage is thin (29 tests across 16 modules; no tests for e.g. downloads dlm, session, apps).
S003 — First launch and smoke harness (2026-11-11)
- Done: hidden display = Xvfb + llvmpipe (D-005).
tools/smoke.sh+tests/smoke/{launch,https,restore}.txt(CLAUDE.md §5). Launch renders nacre://newtab (egui) and a local file:// page (Servo); example.org loads through the bridge (route Direct, ~205 KB); second launch restores the session; user profile untouched. - Fixed: (1) every egui glyph panicked in vello_cpu ("rasterize before flushing"): servo-canvas turns on
vello_cpu/multithreading for epaint too. Vendored epaint 0.37.0 in
vendor/epaint([patch.crates-io]), glyphs render single-threaded (D-006); regression testtheme::tests::egui_draws_text(fails without it). (2) segfault on quit: Hub<->Servo Rc cycle kept Servo alive;App::quitnow drops every Servo handle before the windows' GL contexts (src/app.rs). - Verified:
tools/smoke.sh tests/smoke/launch.txtexit 0 ×5, 2 non-blank PNGs, 0panicked; 30 tests green. - Not done: exit fix not A/B-checked by reverting (crash seen once before the fix, 5 clean runs after).
- Later: toolbar/tab icons draw as tofu boxes (icon font glyphs missing); new-tab clock text nearly invisible on the light theme; tile letters ("Y", "G") above names look like missing favicons.
S004 — Phase 1 review (2026-11-11)
- Done: build current;
docs/review/phase1.mdwritten; user's feedback recorded as R1-01..R1-06 (6 open, 0 fixed). - Most severe: R1-01 icon glyphs missing (tofu boxes), R1-03 YouTube fails to load (not investigated; S006).
- Not done: no fixes (none trivial); the user's session tried only a short run.
- Later: R1-05/R1-06 feed the Phase 4 redesign (look of old Python Nacre, animations).
S005 — Painters (2026-11-11)
- Done: D-008 one painter per window (
window.rspage_context/painted_tab/paint_unshown); PiP = second web view with its own painter that reloads the page and seeks (Tab::pip,actions.rsenter/exit_pip, PIP_JS take/start/state/resume). Fixed: egui destroy in the wrong GL context (chrome blank after PiP); PiP video frozen (Servo 0.7 freezes a playing video seeked then play()ed:pip.startpauses first). - Measured (llvmpipe, 15 tabs): per-tab painters 1128 MB / 141 threads vs shared 349 MB / 71 threads; ~56 MB per painter; frame median ~13 ms either way. glibc keeps freed memory after discard.
- Verified: painters.txt, launch.txt, painters-perf.txt exit 0; 30 unit tests green. Shots checked by eye (target/smoke/painters-final): s1-s6 tabs, r1-r3 resize, p1 placeholder, p2/p4 PiP playing (1.33 s -> 3.40 s), p3 tab 1, p5 tab 5 resumed, c1-c3 closes.
- Not done: real-GPU check (S010). PiP loses page state (in DESIGN engine limits). Split view now impossible.
- Later: status field
painterscounts web views, not painters; rename. malloc_trim after discard.
S015 — Material You foundation (2026-11-11)
- Done:
theme.rsM3 schemes frommaterial-colors =0.4.2(D-009) with all roles + old aliases;theme::applystores tokens (palette, roundness, motion) in the egui context; shape/space/type tokens; springs (FAST/DEFAULT/SLOW/EFFECT, Motion setting scales or disables). Outfit variable font (5 weights) + Material Symbols subset (tools/icons.py, 139 icons, 55 KB).widgets.rsrestyled (buttons, icon buttons, switch, segmented, card, rows),ui/paint.rs(cookie, wavy line/progress, shadow), hiddennacre://gallery+tests/smoke/gallery.txt. DESIGN.md § UI system. - Fixed: R1-01 (every emoji/Unicode glyph in src/ui now an icon constant); R1-02 (strong text used on_primary = white in light theme; clock now Thin Outfit in primary).
- Verified: 38 unit tests (reference colours #555992/#BEC2FF/#65558F/#CFBDFE, contrast ≥ 4.5 for 12 presets light and dark, widget click/Tab+Space/hover-settle); gallery.txt and launch.txt exit 0, shots checked by eye.
- Not done: focus ring and pressed states not seen in screenshots (tests only); no real-GPU check; no CJK font.
- Later: chrome toolbar glyphs still drawn at text size via egui Buttons (S016);
egui::Ui::id/Id::newdeprecation warnings across src/ui.
S016 — Chrome and menus redesign (2026-11-11)
- Done: chrome.rs rewritten: pill tabs on springs (selection pill slides, drag under the pointer, others make room),
round +, 52 pt toolbar of icon buttons with badges/progress ring/VPN dot, address pill (site chip, "Not secure",
host emphasis, zoom/install chips, star that fills), suggestions as a floating menu, bookmarks bar chips + empty
hint, page as a rounded card (corners masked over the GL blit). menus.rs:
floating(spring open/close),menu_item; every flyout and the page menu restyled (wavy download/seek bars, cookie artwork with dot visualizer, morphing play). Measurements: DESIGN.md "Chrome". Main menu: Save page/PDF/QR/Install/Shortcut moved into "Save and share". - Shots:
tools/smoke.sh tests/smoke/chrome.txt(target/smoke/s016f-chrome): chrome-dark/light, main(-opening)-dark, main-light, downloads, shield, vpn, siteinfo, qr, tabmenu (dark+light), media(-playing), profiles, apps, back, bookmark, suggest-dark, narrow-light. selftest:flyout tabmenu|back|bookmark,type <text>. - Verified: chrome, launch, restore, painters, gallery smoke exit 0; 40 unit tests (+drag_layout, address_job).
- Not done/seen: S006 basics scripts don't exist yet (ran the four above instead); page right-click menu, hover, press and a live tab drag not in screenshots (no pointer in selftest for chrome); no real-GPU check.
- egui limits hit: Area capped at 600×400 unless
default_size; Xvfb never focuses the window, so text focus drops (selftesttypesends Focused(true)); stale TextEdit selection shows after focus leaves (cleared by hand).
S017 — New tab page elements (2026-11-11)
- Done: newtab.rs rebuilt: greeting, Thin clock in fixed digit cells + AM on its baseline + long date, shortcut
circles + dashed Add (right-click open/remove), Now playing card (shared
menus::media_art/seek_bar/play_button/ media_title; radial visualizer bars hug the scallops, cookie turns once a minute; shuffle via the page's own button, repeat = loop; source chip), Weather card (Open-Meteo feels-like, high/low, rain %, humidity, wind, place; empty/loading/failed states), search pill, Notes / Reading list / Top sites cards on a 3/2/1-column grid. Defaults: video order, all on, seconds on. - Handoff for S018: elements are
ntp.elementskeys greeting, clock, shortcuts, media, weather, search, notes, reading, recent (= "Top sites");blocks()packs consecutive cards into rows, so reorder/toggle is just that list. Background code untouched (image texture nowf.ui.ntp_bg_texture). User feedback on Shapes in the notes folder. - Shots (
SMOKE_SIZE=1400x1200 tools/smoke.sh tests/smoke/newtab.txt, target/smoke/s017-e): ntp-dark/light, ntp-playing-dark/light, ntp-tall-dark/light, ntp-weather-error-dark, ntp-shapes-dark, ntp-narrow-dark, ntp-phone-dark; target/smoke/s017-w weather-dark/light (real data). Checked against the video frames. - Verified: 44 unit tests (+blocks, clock_text, weather parse, long date); newtab, launch, chrome smoke exit 0.
- Not done/seen: hover/press on shortcuts and cards, the stacked phone media card below the fold (no scroll command), shuffle against a real player (YouTube Music, Spotify), real-GPU check.
S018 — New tab backgrounds and Customize (2026-11-11)
- Done:
ui/pages/backdrop.rs(image/GIF with Dim/Blur; Shapes with every kind the user listed, Blobs, Constellation with lines, Waves, Dot grid; all react to the cursor; Amount/Speed/Motion scale, still freezes) andcustomize.rs(panel sliding in from the right: background chips, Amount, Speed, cursor, Upload/Change/Remove, Dim/Blur sliders, element order + switches, 24-hour, seconds, name, Weather place with Open-Meteo suggestions, units). General no longer links the NTP sub-page; redraws honour egui's delay (D-010). Clock SemiBold, soft colons, AM/PM on top (user). - Shots (target/smoke/s018-c, visible, ~772 pt wide): bg-none, bg-shapes(-lots/-light), bg-blobs, bg-constellation (-lots), bg-waves, bg-dots(-lots/-nopointer), panel-dark/light, image-dark, image-blur, gif-a/b (frames differ), gif-dots.
- Lots/Fast median/max draw ms, fps: Shapes 1.38/13.8, 60; Blobs 1.31/7.7, 59; Constellation 1.29/2.3, 60; Waves 1.38/2.0, 60; Dot grid 1.41/2.1, 60. CPU ~10 % of a core animating, 0-1 % idle; None/hidden tab/Motion off 2-3 fps.
- Verified: 50 unit tests; backgrounds, newtab, chrome smoke exit 0.
- Not seen: place suggestions (network + typing; parse tested only), Upload dialog, slider drag, Escape; pointer shots partly follow the user's real mouse in visible runs. Shortcut editing still lives in the old sub-page.
S019 — Settings pages redesign (2026-11-12)
- Done: settings.rs rewritten: navigation rail with icons, sliding selected pill and search pill (icon rail under
760 pt); every section and sub-page as titled cards of rows; search covers every row (unseen pass), highlights
matches, empty state,
?search=link. Appearance: live scheme preview, preset swatches as schemes, custom colour picker + hex, style chips, contrast slider snapping to M3 levels. Limits: Freeze tabs, Save data, DNT = limited rows; third-party cookies, Widevine = "Not available". New tab sub-page = Customize link + shortcut editor. - Widgets (reusable): icon_row, icon_link_row, wide_row, limited_row, unavailable_row, highlight_rows, chip,
choice_chips, toggle_chips, input_chip, slider, stepper
number(DESIGN.md "Widgets", "Settings"). Selftesttap. - Shots: target/smoke/s019-v (visible, compact rail) and s019-w (hidden 1280×1100, wide rail):
-dark/light for general appearance toolbar performance privacy adblock passwords downloads media about profiles search spell keys import newtab permissions lists managers discord, search(-empty)-dark/light, narrow-dark/light. - Verified: 51 unit tests (+stepper); settings.txt exit 0 visible and hidden; settings-write.txt (fresh home) wrote startup Restore, privacy mode on, lock after 30, palette fallback #006A6A. S008's stores script doesn't exist yet.
- Not seen: page scrolled below the fold (no scroll command), hover/press in shots, colour picker popup, key capture; backgrounds/chrome smoke not rerun after moving chip/slider out of customize.rs (same code, it compiles).
S020 — Other pages and dialogs redesign (2026-11-12)
- Done: history, bookmarks (+ reading list), downloads, passwords (logins, addresses, cards, generator, check, master password, lock screen), apps (+ scripts and styles), devtools, task manager, about, clear data, site settings, source and the web error pages (neterror, badcert, crash HTML, dark and light) in the S015/S019 system, each with designed empty, no-match and error states. Welcome is the six-step setup flow (R1-08). All dialogs: alert/confirm/prompt, sign-in, select, colour, Bluetooth, leave page, autofill dropdowns, permission and find bars.
- Widgets added (DESIGN.md "Pages and dialogs"): page_header, search_pill, empty_state, status_state, list_item,
more_menu, password_field, strength_meter. Fixed
rowstarting stacked in narrow containers. Added icons diamond, fingerprint, rocket_launch, lightbulb. Selftestkey,welcome. - Shots (target-independent, run with SMOKE_VISIBLE=1):
tests/smoke/pages-ui.txt(history, bookmarks, downloads, passwords, apps, site settings, clear data, about, tasks, devtools, source, welcome 1-6, light variants) andtests/smoke/dialogs.txt(alert, confirm, prompt, select, colour, find bar, light alert). - Verified: 51 unit tests; launch, settings, chrome, pages-ui, dialogs smoke exit 0.
- Not seen: populated downloads and apps lists, password/address/card editors and lists (vault is empty in smoke), the select dropdown and permission/sign-in/leave-page dialogs (no script trigger), the HTML error pages after the change (only the old one), welcome Import with a detected browser, hover/press states, tiny windows. "Make Nacre your default browser" is not in the done step (no code for it yet).
S016 follow-up — R1-09 wavy loading address bar (2026-11-12)
- Done: while the active tab loads, the address pill squeezes (DEFAULT spring) into a 4 pt track and becomes
paint::wavy_progress; the pointer over it, focus or typing morphs it back; after the load it fills to the end, then the field returns. Motion off = instant. Servo 0.7 gives only stages, sochrome::load_estimateeases to 0.6 (Started) / 0.92 (HeadParsed) over time; test added. selftest:fakeload <s>|done,hover <x> <y>|none,blur. - Verified: chrome.txt (loading-dark, loading-morph-dark, loading-hover-dark, loading-again-dark, loaded-dark, loading-light) and launch.txt exit 0 on Xvfb and with SMOKE_VISIBLE=1 (real GPU, 772 px wide tiled window); 52 unit tests. Not seen: a real slow network load (local pages finish too fast; fakeload holds the stage).
S016 follow-up — R1-11 colours after welcome (2026-11-12)
- Not reproduced as reported: fresh profile, welcome (with and without a colour picked there), then every Appearance control (source, swatch, custom) changes the UI, hidden and SMOKE_VISIBLE=1.
- Real cause found and fixed: a nacre:// page typed into a web tab (or shown over it) kept the site's theme-color,
so under the Website source palette/fallback picks showed nothing.
Tab::site_colouris None on internal pages;drawrestyles when the active tab's site colour changes (also on Back to the web page). Test added. - Verified: 53 unit tests;
SMOKE_SIZE=1280x1100 tools/smoke.sh tests/smoke/colours.txt(new, pagepages/theme-colour.html) all shots as expected; visible run covers site → Settings → Back (taps miss at 772 px). - System accent on niri + Caelestia: read
~/.local/state/caelestia/scheme.jsonprimary before kdeglobals and GNOME's stale'red'; test added; smoke.sh now isolatesXDG_STATE_HOME. Visible shot with a copy of the user's scheme shows the desktop's pink-purple. Not done: live follow of wallpaper changes (restart needed). - Not seen: the user's exact path, if it was another one; ask them to retry.
S016 follow-up — R1-10 cookie tab spinner (2026-11-12)
paint::cookie_spinner: a stroke along a 7-lobe scalloped cookie, arc timing from the original'sdraw_spinner(grows to 270°, retracts, turns; the outline turns too). Motion off: still three-quarter cookie, no repaint.- Tab favicon spot (
chrome.rstab): spring on loading; at the end the stroke closes into the whole cookie and shrinks/fades while the favicon grows back. Tests: arc bounds and outline (56 unit tests green). - Verified:
SMOKE_VISIBLE=1 tools/smoke.sh tests/smoke/chrome.txtshotstab-spinner-a/b-dark(two phases) andtab-spinner-morph-dark(closing cookie over the globe),loaded-dark(favicon back). Light theme not shot. - Not changed: the downloads button keeps its plain circular spinner.
S016 follow-up — R1-15/17/18 flyouts (2026-11-12)
- R1-15: the shield flyout ("Protection") holds Ad blocker (global and per site, count, lists), Privacy mode (the
incognito setting in incognito windows, as the original) and VPN (switch, provider, status) as separate groups,
each with a settings icon. The original had no VPN toolbar item, so
Flyout::Vpnis gone: the VPN button stays (status dot) and opens the shield flyout. - R1-17:
menus::actionsused a wrapping layout that centred itself in the full-window area and stretched the QR flyout to the bottom; now one row. QR flyout: title with copy/save icons, code, hint, address. - R1-18: panel flyouts get
header(title + icon actions),group(accent labels),entry(icon, two lines, time),empty_state; downloads, apps, site info, profiles, bookmark, back list use them (DESIGN.md). - Verified: build, 56 unit tests,
SMOKE_VISIBLE=1 tools/smoke.sh tests/smoke/chrome.txtdark and light shots. Not seen:entryrows with content (back list and apps are empty in the smoke profile), per-site shield line (file:// has no host), shield on a short window (scrolls, not shot). - Later: the original's history, bookmarks and passwords toolbar flyouts (search pill, timed rows); today those buttons open the pages.
S016 follow-up — R1-21 controls hold still under the pointer (2026-11-12)
- Recording: Appearance page while scrolling; segmented buttons showed other controls' checks. Cause:
segmentedkeyed its animation state on its screen position. Now on its own widget id (DESIGN.md "Widgets"). - Interface size: new
settled_slider(value label while dragged, set on release; click and arrows at once), so the page no longer rescales under the pointer. Contrast, dim, blur stay live (repaint only). Going back to 100 % now resets the zoom (style_windowskipped 1.0). filter_chipkeeps one width (check slides into reserved space): Style chips, toggle chips, import chips, the permission prompt's Remember and find's Match case no longer push their neighbours.- Selftest
press/drag/release,scroll x y dy. Tests: settled slider, filter chip width (58 green). - Verified:
SMOKE_SIZE=1280x1600 tools/smoke.sh tests/smoke/sliders.txtandSMOKE_VISIBLE=1 … sliders-visible.txtshots (held: label, page 100 %; released: 125 %; scroll: right checks). Not proven: the recording's tearing-like frames (looks like capture tearing, not reproduced); no regression test for the segmented id.
Later
- System accent: watch caelestia scheme.json / the portal
accent-colorand restyle live (R1-11). - Reader mode, split view, translate, real gamepad rumble (D-002: not planned for now).
- Packaging and first release (D-001: plan when the user asks).
- Shortcut icons: a favicon cache by host (today only open tabs' favicons show).
- Interface size above ~110 % on a narrow (772 px) window clips wide segmented rows at the right (R1-21 visible run).