feat: show item and page tags in the library and viewer; installable as an app (PWA) #35
Loading…
Reference in a new issue
No description provided.
Delete branch "tags-and-pwa"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #22, closes #21.
#22 Tags in the UI (both kinds, per the comment on the issue)
Remarkable.tags/1: an item's own tags (.contenttags), oldest first, no repeats ignoring case.Remarkable.page_tags/1:pageTagsgrouped bypageId.<.tag_list>component: item tags as filled chips, page-only tags as dashed chips with a page icon,+Npast a limit, all names in the title.#21 PWA
manifest.webmanifest(standalone, start/, theme#18181b) with 192/512 icons, a maskable 512 (mark inside the safe zone), and the SVG favicon; linked from the root layout withtheme-colorand iOS web-app meta.sw.js: precaches onlyoffline.htmland its icon; page navigations go to the network and fall back to the offline page when the server can't be reached. Nothing the app shows is cached, so a signed-out device keeps nothing and LiveView behaves as before. Registered fromapp.js.static_paths, so they're served signed out.Testing: tag parsing, Library chips (item and page kinds), viewer tags and page badges, and the manifest, icons, service worker and offline page being served. 705 passed;
--warnings-as-errors(test and prod) andformat --check-formattedclean. In the browser against a synced library: tags on folders and notebooks, page tags on October 2026's page 17. Chromium (via DevTools protocol) reports no installability errors, the manifest parses, and the service worker activates.Also: tags lead somewhere. Every tag chip is a link to
/tags/:name, which lists everything outside the trash with that tag (ignoring case): folders, notebooks/books, and single pages (thumbnails opening at that page)./tagslists every tag in use with how many folders, items and pages have it, linked from a new Tags button in My files.Remarkable.tagged/2andall_tags/1. Library cards were restructured so the chips are not links inside the card link: folder cards use a stretched link, document cards put tags below their link. 710 tests pass.