Nacre/docs/review/phase5.md

66 lines
5.7 KiB
Markdown

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Phase 5 notes: development polish pass (user, 2026-11-12 evening)
Input for `/plan-generate` → category `07 Polish pass` (and `03 Gaps` S011–S014, which haven't started yet).
Same tags as phase 1/4: `[open]`, `[fixed <commit>]`, `[wontfix: reason]`.
R5-01 [fixed 0ecfd0f] CRASH: Nacre crashed (SIGSEGV) while searching. Last log line before it:
`ERROR script::dom::html::scripting::htmlscriptelement] Fetching classic script failed Load cancelled (UrlWithBlobClaim
{ url: "https://static.doubleclick.net/instream/ad_status.js", token: None })`, so the ad blocker cancels a script load
just before the crash (YouTube/Google search page, throwaway profile). Reproduce, get a backtrace (`RUST_BACKTRACE=1`,
gdb/coredumpctl), fix, regression smoke. Severity: critical. First in the pass.
R5-02 [open] Slow page loads, especially the first load of a site. Needs a performance pass (cold vs warm load
timing on the heavy-web sites, DNS stub, bridge, HTTP cache, ad-block matching cost, painter/frame pacing). Severity: high.
R5-03 [open] SVG handling: site logos render wrong. Wikipedia's globe logo draws as a black square
(user screenshot); check SVG `<img>`, inline SVG, `currentColor`, filters/masks, and SVG favicons. Severity: high.
R5-04 [open] Spell-check highlights look wrong (position/size of the red underlines in text fields). Severity: medium.
R5-05 [open] History, passwords (and other toolbar buttons) open a tab or page; only Downloads opens a flyout. Make
them flyouts like Downloads (the old Nacre's history/passwords flyouts are the reference: `docs/ui-reference/old-flyout-*.png`),
with "open the full page" from the flyout. Severity: medium.
R5-06 [open] Custom download manager: a "Custom" entry in Settings → Downloads → managers so the user's own future
download manager can receive links. Contract to define and document (DESIGN.md): an HTTP POST of a small JSON
(url, filename, referrer, cookies, user agent, headers) to a user-set `http://127.0.0.1:<port>/<path>`, optional
token header, plus a status ping; reuse `src/net/dlm.rs` (aria2/ABDM/JDownloader already use local ports). Severity: medium.
R5-07 [open] DevTools: today nacre://devtools is a tab with Console/Network/Elements. Wanted: a separate pop-up window
(docked or undocked) with Chromium-DevTools-level features: element picker (hover highlight on the page, select →
DOM tree), Elements with styles/computed/box model, Console with object inspection, Network with headers/timing,
Sources, Storage/Application, Performance basics; in the Material You theme. Servo's own devtools server (Firefox
protocol) may supply most data: check before building. Severity: medium, large.
R5-08 [open] Animations: make more of the UI move nicely. The user found an "animate" skill
(https://open-design.ai/skills/animate/): it's written for websites; read it and translate its rules into app rules for
egui (spring motion, Motion setting, which transitions get motion), then apply to flyouts, page switches, lists,
toggles. Severity: medium.
R5-09 [open] "Little things all work": a sweep of small details: icons (state colours, sizes), SVG handling (R5-03),
spelling (R5-04), empty/loading/error states, hover/press on every control, keyboard focus. Make it a checklist plan
with smoke shots per item. Severity: medium.
R5-10 [open] After everything works: more site passes (YouTube with MSE merged, Reddit, Wikipedia, Google sign-in,
captchas incl. Turnstile's black widget, GitHub, DuckDuckGo), with the heavy-web and site-doctor smokes as the gate.
Severity: high.
Open from earlier lists that belong here too: R4-04 inline address-bar autofill, R4-06 Nacre's own context menu,
R4-08 "Settings updated" popup (source unknown), Turnstile black widget and the Bookmark flyout staying open (PROGRESS
"Later").
R5-11 Site colour refresh: when a site changes its theme colour after load (YouTube switching to dark), the toolbar
recolours but the icon colours come out wrong (not what a fresh load of the same colour gives). Seen on
youtube.com/results, 2026-11-12. Goes to S043 (UI refine). Severity: medium.
R5-12 Still seen 2026-11-12 on main + MSE: YouTube search shows no results after reload (results list at zero size,
S041 step → moved to S029 by the orchestrator); Wikipedia SVG icons still wrong (S033); the browser feels slow overall
on a slow connection (S032). Severity: high.
R5-13 2026-11-12, user on main + MSE: YouTube home stays on grey skeleton cards (thumbnails/titles never fill),
the YouTube logo text draws half, the guide menu (hamburger) is broken. Heavy sites (YouTube, Discord) need real
testing and fixing against a reference browser (D-031). Google sign-in looked right and went through (works).
YouTube → S029; Discord and the other heavy sites → S041. Severity: high.
R5-14 Caret like Damson's: the text caret in Nacre's own fields (address bar, find bar, search, settings inputs)
should be Damson's: primary colour, 2 px rounded, solid while typing then a smooth cosine fade pulse (not a hard
blink), stretching as it moves (`~/Projects/Damson/src/ui/editor.rs` ~420-460, read only). Respect the Motion setting.
Goes to S039. Web pages' caret is Servo's; leave it unless cheap. Severity: medium.
R5-15 2026-11-12, user on main + MSE, YouTube watch: a second video never plays (spinner, "If playback doesn't
begin shortly…", 0:00), while the desktop media widget (MPRIS/media session) keeps showing the first video ("Me at
the zoo") — media metadata isn't updated on YouTube's in-page navigation. Search bar and page parts overlap once it
happens. Method asked by the user: record the same session in the reference Chromium (built-in browser pane:
network requests + console) and in Nacre (request log, console, JS errors) and diff them to find what Servo is
missing (APIs, failed requests, errors). → S029. Severity: high.