1.16 part 4/11: Home, Library and Reader UI, and their strings in ten languages

Closed
EP
12d ago
+11338-13538

Part 4 of 11 of Zimi 1.16: home, Library and Reader UI, and their strings in ten languages.

The release is split into 11 parts so each one can be reviewed whole. Each part's base is the part before it, so this diff is only its own files; a part on its own is not a running state. CI runs once, on the release PR that carries every part into main.

Every part was reviewed before it was opened, and the full suite (quick tier, node tests, every browser test under software GL) ran on the combined tree.


Summary by cubic

Part 4 of the 11-part Zimi 1.16 release: Home, Library, and Reader UI, plus their strings in ten languages. Each part's base is the part before it, so this diff only carries its own files; a part on its own is not a running state, and CI runs once, on the release PR that brings every part into main.

Home and Reader

  • Reader bars stay up while reading; turning a page, switching type size, or opening the contents no longer hides them. The theme picks are now Auto, Light, Sepia, Dark, and Red, and a page that already draws its own red is not dimmed again.
  • Home's boot no longer flashes: the layout settles before the first paint, even on a slow link. The search tips are a full-width sheet, and the help "?" steps aside while typing so the clear × owns the box's end.
  • Every Home tile and app top bar has a ⋯ menu with an About sheet behind it; the Apps heading holds the order and view chooser together in one control.
  • The flat orrery lifts into the 3D Planets view at the same positions; a new capability governor slows a device's refresh and pixel ratio instead of cutting the view down. The view opens even on a software GPU, and an idle page asks for no frames.
  • A book with no main page now offers search inside it and a random page rather than an empty header.
  • Reader View's state lives in the article address (&rv=1) while it is on, so a reload or copied link reads the article the way it was left.
  • The Golden Record pictures are WebP; their credits file matched.
  • A spelling suggestion no longer sits above results that already answer the search, Read aloud now reads a wiki's main page instead of only its banner, and Say reads the language from the ZIM's metadata, not only its name.
  • Every Discover card keeps its width on a phone and carries a language badge, a community catalog's mark is a glyph in its icon's corner, and a finished Create job's card carries a quiet link to openZIM's sharing instructions (the feature's Beta tag is gone).

Library and shell

  • The library lists a book once: superseded files fold under the newer one, own ZIMs (Almanac, Games) are not repeated by name, and data packs live on the Almanac HD row rather than as their own rows. Long titles and long language names stay inside compact tiles, and a catalog's Update is never offered for Zimi's own ZIMs. A kept book's menu is grouped Open / File / Random / Delete, without a per-book auto-update item.
  • Importing a saved-data file asks merge or replace before it applies.
  • Zimi's footer is one shared definition across Home, the Games shelf, and the Almanac, inside Zimi and in their standalone ZIMs, and every list's heading runs on the same section-label style.
  • The new debug log captures what is tapped and posts it to the server, never input values.
  • Home's string file no longer carries the Almanac's keys; those download with the Almanac's first file.
  • Manage's tab, category, language, and search now live in the address, as does the Bookshelf's view, so a reload returns you where you were; Manage also gains a deep check beside Check and names the chunk a split book is missing.
  • Settings > Server > Add-ons draws one row shape in every state, says it is offline instead of "Could not load this list", and a second press cannot start a second install.
  • Installed PWAs keep their CSS offline and after a deploy; a worker no longer caches a shell of another build.
  • Controls on the first screens take a 44px touch, and sideways rows scroll only sideways, showing their bar on hover to a mouse and never to a finger.
  • A PDF over the 50 MB cap opens by Range in the reader; a compressed one is refused with an explanation. The design tokens live once in tokens.css, inlined by the shell and by each app page.