From 6eb090632d1f105c83951474afda0f6130b930cf Mon Sep 17 00:00:00 2001 From: astar76 Date: Wed, 11 Nov 2026 22:17:08 -0600 Subject: [PATCH] S017: new tab page elements: clock, shortcuts, Now playing and Weather cards, search pill, three cards on a grid Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 3 +- Plans/04 UI redesign/S017-ntp-elements.md | 14 +- Plans/INDEX.md | 2 +- .../fonts/MaterialSymbolsOutlined-Nacre.ttf | Bin 60468 -> 63140 bytes docs/DESIGN.md | 17 +- docs/PROGRESS.md | 17 + src/actions.rs | 38 +- src/app.rs | 7 +- src/inject.rs | 9 +- src/media.rs | 3 + src/store/settings.rs | 5 +- src/theme.rs | 4 + src/ui/icons.rs | 16 + src/ui/menus.rs | 191 +-- src/ui/mod.rs | 2 + src/ui/pages/newtab.rs | 1039 ++++++++++++++--- src/ui/pages/settings.rs | 7 +- src/util.rs | 13 + tests/smoke/newtab-weather.txt | 14 + tests/smoke/newtab.txt | 49 + tools/icons.txt | 9 + 21 files changed, 1159 insertions(+), 300 deletions(-) create mode 100644 tests/smoke/newtab-weather.txt create mode 100644 tests/smoke/newtab.txt diff --git a/CLAUDE.md b/CLAUDE.md index efa865a..eef3abd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,10 +63,11 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl | Tool | Role | Available after | |---|---|---| | `nice cargo build --release -j 2` | compile check, produces `target/release/nacre` | now | -| `nice cargo test --release -j 2` | unit tests (38, ~16 s test-profile build then <1 s run; shares the S001 build) (util, settings, history, bookmarks, permissions, vault, dns, bridge loopback, download, adblock, keys, scripts, updates, inject, hub, theme, ui::widgets input, ui::paint) | first successful build; not alongside a build | +| `nice cargo test --release -j 2` | unit tests (44, ~16 s test-profile build then <1 s run; shares the S001 build) (util, settings, history, bookmarks, permissions, vault, dns, bridge loopback, download, adblock, keys, scripts, updates, inject, hub, theme, ui::widgets input, ui::paint, ui::pages::newtab) | first successful build; not alongside a build | | `src/selftest.rs` | in-app self test: `NACRE_SCRIPT=` runs script commands (listed at its top) | now | | `tools/smoke.sh