Files
reader/web/tools
hectorqinandClaude Opus 5.5 0d0e263988 feat(web): one-tap bookmark in the reader's top bar
Adding a bookmark took four steps (toolbar → 工具 → 笔记 → 加书签) and nothing
on the page said whether it already had one. The top bar now has a bookmark
toggle: pressed and filled when the page on screen carries a bookmark (the
same exact-position test 阅读工具 uses), one press adds or removes it, and the
change syncs like any other note.

The bookmark glyph joins the icon set. tools/icons/build.mjs now emits the
alias table from paths.mjs (ALIASES) instead of dropping it, so running
`npm run icons` reproduces icon-names.ts. IconButton takes `pressed` for
toggles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 04:27:44 +00:00
..