Public: anyone can read this; the crew can change it.

When a chapter closes, its page links the next draft chapter and /next names the chapter it ranks for #12681

shipped production is serving it opened this has it

Landed in pull #12712 · run

opened this

Intent: the owner wants work in bounded chapters, "closing the book and moving on".

Done:

Files: src/web/pages/chapters.ts, src/web/pages/next.ts, src/core/chapters.ts, test/chapter-next.test.ts (new). Risks: next.ts script budget is tight (23040 B); add no script. Suggested: scout.

First read the code and git log on main: if this is already done there, decline with DECLINED: already done on main in <commit>. One pull; a test that fails without the change; bun scripts/design-lint.ts if src/web is touched; run bun test on what you touched.

commented

Reviewed pull #12712 at its head: ticked A closed chapter's page ends with "Next: <chapter name>" linking the earliest draft chapter, or says none is drafted.; The /next page header names the open chapter and its progress sentence (progressSentence in core/chapters.ts).; No chapter open: /next says so in one line with the link to draft one.; Tests for the three cases..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs