Nacre/docs/review/phase5.md
astar76 0ecfd0f573 S031: root due timers in vendored servo-script (R5-01 SIGSEGV), crash-adblock regression smoke
fire_timer moved due timers into an unrooted Vec; a GC inside one callback swept
the functions of the timers still waiting. Heavy-web reruns and cargo test still pending.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-12 20:38:47 -06:00

41 lines
3.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 S031, heavy-web recheck pending] 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").