Series designs
Ways to tie pages that belong together, one document rewritten over time or articles read in order, into a series: in a list, on a series home, inside a part, and comparing parts.
A series in a list
Where a series shows up among other pages: the homepage feed, a project's notes, related cards. It needs to read as more than one page at a glance, and open the series home when clicked. A versions series leads with its newest part; a sequence with its first.
A. Paper stack
B. Fanned
C. Row with a segment per part
For text-only lists, where cards have no picture.
The series home
The series' own page, where the stack opens: its description, then every part. In a versions series the current part is outlined and the older ones dimmed; in a sequence they're all equal.
A. Organizer grid
Versions
- 1The planDec 4Both phases planned: subprojects and stage, then media
- 2Phase 2: assets as a libraryDec 5Phase 1 done; media rewritten as a searchable library
- 3Phase 2: what we builtDec 11The library shipped; uses replace the old table
- 4Phase 2 retrospectiveDec 18 · currentWhat held up, what changed, what's next
Sequence
- 1Why a CMS of my ownOct 12The problem with content spread across repos
- 2Routes as dataOct 25Code pages get rows without moving
- 3Agents propose, I approveNov 5Every change through a proposal
- 4Projects and subprojectsDec 4One level of nesting, and stages
- 5Assets as a libraryDec 11Files an agent can find by what they show
B. Timeline
- Part 1 · Dec 4The planBoth phases planned: subprojects and stage, then media
- Part 2 · Dec 5Phase 2: assets as a libraryPhase 1 done; media rewritten as a searchable library
- Part 3 · Dec 11Phase 2: what we builtThe library shipped; uses replace the old table
- Part 4 · Dec 18Phase 2 retrospectiveWhat held up, what changed, what's next
Inside a part
What a reader sees on a part's own page, under its byline, so they always know it's one of several and can move along. Shown here on part 2.
A. One line under the byline
Versions, with compare
Sequence
B. Segment strip
C. Notice on an older version
Only in a versions series, on any part that isn't the latest, so nobody follows an old plan by mistake.
Comparing parts
For a versions series, "Compare with part 1" opens one of these. Markdown parts only: code pages have no body to compare. The diff could reuse the highlighting goatboat's proposal page already draws.
A. Unified diff
## The design: files, and where they're used−A `media` table holds one row per file in R2, and `media_uses` records where each is used.+An `assets` table holds one row per file in R2, and `asset_uses` records where each is used. −On save, goatboat records an `inline` use for each image in a body.+Images inside an article body are not uses. The renderer looks their urls up in the library.+ +## Finding files: `find_media`
B. Side by side
A `media` table holds one row per file in R2, and `media_uses` records where each is used. On save, goatboat records an inline use for each image in a body.
An `assets` table holds one row per file in R2, and `asset_uses` records where each is used. Images inside an article body are not uses.