S016: chrome and menus redesign: pill tabs on springs, address pill, toolbar badges, page card, floating flyouts
Tabs slide to their slots with a sliding selection pill and drag under the pointer; the address field is a pill with a site chip, host emphasis and a star that fills; flyouts and menus share one floating surface that springs open and fades closed. Web page corners are masked over the GL blit. tests/smoke/chrome.txt shoots the chrome and every flyout dark and light. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
0d81f02cf1
commit
72d06510b2
1 changed files with 1758 additions and 722 deletions
|
|
@ -68,6 +68,22 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
|
|||
- Later: chrome toolbar glyphs still drawn at text size via egui Buttons (S016); `egui::Ui::id`/`Id::new`
|
||||
deprecation 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
|
||||
(selftest `type` sends Focused(true)); stale TextEdit selection shows after focus leaves (cleared by hand).
|
||||
|
||||
## Later
|
||||
- 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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue