mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
Builds on the omnibox work to modernize the launcher list now that favorites and visit history both exist: - Idle browser home (BrowserHome): pinned favorites on top under a "Favorites" header, then a "Recent" section from the visit history — all in one grid so they scroll together. Long-press a recent to drop it. - Typed suggestions are grouped: a highlighted "Favorites" group first (subtle primary-container tint + medium weight), then "Recent". Favorites still rank first via the existing frecency boost. - Real favicons: captured from the WebView that already loaded the page in the keyless :napplet browser host (so they ride the page's own Tor-routed network path — the main app never fetches host/favicon.ico itself), scaled and relayed as PNG bytes over a new MSG_RECORD_ICON IPC, and stored per-host by BrowserIconRegistry (main process, filesDir). Favorite cards, suggestion rows, and recent rows all show them, falling back to a glyph. FavoriteAppIcon gains an optional iconModel; FavoriteAppCell is reusable via a new LazyGridScope.favoriteAppItems extension so the browser home and the Favorite Apps tab share one cell. Thumbnails deferred to a follow-up. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017LyxWy2k3AT1LiZSvMsiDx