fix: clickable folder path in the viewer, a favicon, open at the tablet's last page, templates repeat down long pages, sync time keeps up #34
Loading…
Reference in a new issue
No description provided.
Delete branch "bug-batch-oct17"
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 #33, closes #32, closes #31, closes #30, closes #27.
favicon.icowas a fully transparent 64×64 PNG and the layout had no icon link. New icon matching the header mark (dark rounded square, white pencil):favicon.svg, a real 16/32/48favicon.ico, and a 180pxapple-touch-icon.png, linked from the root layout.?page=, the viewer opens the page incPages.lastOpened(orlastOpenedPagein older content files), falling back to the first page if it's gone. A page in the URL still wins.Remarkable.last_opened_index/2.<img>; it's now arepeat-ybackground tiled every page height from the page's top edge, sized with container query units so it scales with the page (thumbnails too). Lines small and dots tile seamlessly; lines medium repeats its header gap, as the template itself is drawn per page.@nowthat a timer moves on exactly when the wording would change (relative_time_changes_in/2): at the next minute while it says minutes, the next hour while it says hours, never once it's a date. So at most once a minute.Tests: last-opened page (new and old content, missing page, explicit page wins), breadcrumb links and navigation, the tiled template, the label ticking from "just now" to "1 min ago", and
relative_time_changes_in/2. 698 passed;--warnings-as-errors(test and prod) andformat --check-formattedclean.Checked in the browser against a synced library: the favicon in the tab, a 2491px-tall lined page with rules all the way down, a breadcrumb back to its folder, and a 17-page notebook opening on page 17.
Also: viewer layout. From
lg(1024px) the page and its transcription sit side by side, the transcription sticky beside the page (it was below the page untilxl). The page thumbnails are a column of their own from2xl(1536px); until then they open as a dropdown from the page number ("3 / 3 ⌄"), closed by picking a page, clicking outside, Escape, or the page number again. Checked at a 1080px-wide window and zoomed out past 2xl.