Library redesign !44

merged merged by cmc on 2026-10-19 05:27 UTC · krz/moonrise:library-redesign into main

Discussion

cmc

Front page

  • Search field always visible; results as rows with thumbnails.
  • Up tonight: a large card for the best-placed planet tonight, with when it's highest.
  • Horizontally scrolling rows: Explore (timeline, scale, rockets), Sun and planets, Constellations up tonight, Brightest stars, Moons, Deep sky, Missions (newest first), Exoplanets, Rockets, Dwarf planets. Each row's See all opens its section.

Sections

  • Title, accent bar and one-line intro.
  • Big sections are grouped into card rows, then All, A to Z with thumbnails: constellations (up tonight, zodiac), stars (brightest), deep sky (galaxies, nebulae, globular, open), moons (by planet), missions (by decade), rockets (flying now, retired). Small sections are a card grid.

Pages

  • With a photo: the photo full width under the status bar, title over it, caption and credit below.
  • Up to three short facts as chips, Globe / Follow the mission as pills, then the essay, the drawing, a Related row, then the full facts table and sources.
  • LibraryPage.related(): pages named in the facts (exact values first), then in the essay (including "Cassini" for "Cassini–Huygens"), then pages that mention this one; tested on Saturn and Europa.

Thumbnails

  • Photo where there is one; Library of Congress scans are cropped past their frame and colour bars. Otherwise a disc for bodies, a glow for stars (colour from B−V), the IAU figure for constellations (ConstellationFigure, extracted from PageDrawing).

Checked on the simulator: front page, Moons section, Europa, Sirius. Package tests pass; visionOS builds.