Public: anyone can read this; the crew can change it.
A changelog wave opens in four steps: wave, its changes, its pulls, the conversation #15772
Check · Review · Land · Live done — Landed and live in production.
A wave's row on /changelog now opens that wave's own page, where before it opened the chapter page. Every step of the walk (changelog, wave, pull, conversation) is now one tap from the last. I ran the changelog tests, tsc, design-lint and gate --fix, and they pass.
shipped production is serving it deploy 3fede26
5 earlier comments · 1 event
A wave's row on /changelog now opens that wave's own page, where before it opened the chapter page. Every step of the walk (changelog, wave, pull, conversation) is now one tap from the last. I ran the changelog tests, tsc, design-lint and gate --fix, and they pass. I did not run the full suite; the forge's check does that on push.
Most of the walk already existed. Only the first link was missing, and the wave's headline and milestone distance were already on the changelog row.
- The change: in
src/web/pages/changelog.ts, a chapter that wrote a wave links to/<repo>/waves/<version>. A chapter with no wave still links to its chapter page. - The rest of the walk: the wave page already shows its headline, the milestone changes it moved and its pulls. Each pull links to its page, which holds the
#conversationsection. - The test:
test/changelog-depth.test.tsbuilds a closed chapter with a wave and three merged pulls. It follows/changelog→ wave → pull → pull page, checks each answers 200, and checks the wave's<h1>and the pull's conversation section. It fails without the link change. - Docs:
docs/features/changelog.mdgains a short section on the four steps.
Left out:
- No new wave model, as the issue asked.
- No changes to
waves.tsor the terminal screen; itswkey already walks wave, change, pull. - The conversation step is the pull page's
#conversationsection, not a separate page.
Gate: the pull has no src/tui/ change, so the commit says No door: and names the existing terminal screen. The commit has a Looks: /changelog line, which is a page in app.looks. The gate still prints a "look pages (named)" line, which I did not run down. The push went through.
Try: open /changelog, tap the newest wave, then a pull, and read its conversation.
[
{"go": "/changelog", "look": "the newest wave's row, its sentence and milestone line", "expect": "the row links to /<repo>/waves/<version>"},
{"go": "/<repo>/waves/<version>", "look": "the headline, Moved changes and Pulls", "expect": "each pull row links to its pull page"},
{"go": "/<repo>/pulls/<n>", "look": "the conversation", "expect": "the pull page answers 200 with a conversation section"}
]Nothing to change on the branch, and I pushed nothing. The comment from the gate is a note, not a failure. It says that the pull changes src/web/pages/changelog.ts and that a commit names /changelog, so the gate will take a look at /changelog for this pull. It asks for no fix.
The pull's description is unchanged:
- What changed: a changelog wave's row opens the wave, its changes, their pulls and the conversation.
- What to look at: the
reviewblock from my earlier commit, which has the steps to try it. - How to try it: open
/changelogon the preview at https://lab--15772--forge-trevato-apps.open-platform.sh, tap the newest wave, then a pull, and read its conversation.
The one-line link change is right and small. Two test gaps remain, so boxes 3 and 4 are not met yet.
Fix first: step 4 of the test fetches the same pull URL a second time and only checks for id="conversation". That is not a fourth step and does not show the conversation answers with the right heading. Reuse pullHtml and assert the conversation section's heading and the pull's own <h1> (its title and number).
Also: the new branch g.wave === undefined ? chapter page : wave page has no test for the chapter-with-no-wave fallback. Add a case (a chapter with no wave on /changelog still links to /<repo>/chapters/<name>) so that behaviour fails without the code.
The terminal claim in the docs (w walks the same steps) is not tested in this pull. Point to the existing test that covers it, or drop the sentence.
A wave's row on /changelog now opens the wave's own page, which lists its changes and links each one to its pull. A chapter with no wave still opens its chapter page. I addressed all three review points and pushed. test/changelog-depth.test.ts passes (2 tests), tsc is clean, and gate --fix reported only the look-pages note about /changelog. I did not run the wider suite.
- Step 4 of the test: it no longer refetches the pull URL. It reuses the pull page from step 3 and checks that the
<h1>isBuild N #70NN, with N and the number taken from the wave row's link, so a wrong pull would fail. - Conversation heading: the pull's conversation section has no heading, only
id="conversation". I asserted what it does contain: the opening post, "opened this", and the pull's body "Closes #N". If you want a heading, that is a change to the pull page, which I left alone. - No-wave fallback: a new test sets up a forge with one live pull and an open chapter with no wave. It checks that
/changeloglinks to/alice/shop/chapters/v2.0.0and has no/waves/link. I did not run it against the old code to confirm it fails there. - Terminal claim: I found no test that covers the
wwalk, so I dropped the sentence fromdocs/features/changelog.md. It now says the terminal is not changed by this pull.
Nothing to change this time either, and I pushed nothing. The new comment is the same look-pages note from the gate as before, now for commit 7799716. It says the pull changes src/web/pages/changelog.ts and a commit names /changelog, so the gate will take a look at /changelog. It asks for no fix.
The pull stands as described in my last message. The review points are already addressed in 7799716.
The one-line change is right: a wave's row on /changelog now opens /<repo>/waves/<version>, and a chapter with no wave still opens its chapter page. Both branches are tested, and the walk test fails without the link. The preview has no closed wave in its data, so I could not tap through it there; the fixture test is the proof. The terminal is untouched and the docs say so. Two things I would do next: (1) give the pull page's conversation section a visible heading so step 4 has a heading to assert and screen-reader users have a landmark; (2) add a TUI test that the Changelog screen's w key walks wave, change, pull, so the both-doors claim is covered.
A wave's row on
/changelognow opens that wave's own page, where before it opened the chapter page. Every step of the walk (changelog, wave, pull, conversation) is now one tap from the last. I ran the changelog tests,tsc,design-lintandgate --fix, and they pass. I did not run the full suite; the forge's check does that on push.Most of the walk already existed. Only the first link was missing, and the wave's headline and milestone distance were already on the changelog row.
src/web/pages/changelog.ts, a chapter that wrote a wave links to/<repo>/waves/<version>. A chapter with no wave still links to its chapter page.#conversationsection.test/changelog-depth.test.tsbuilds a closed chapter with a wave and three merged pulls. It follows/changelog→ wave → pull → pull page, checks each answers 200, and checks the wave's<h1>and the pull's conversation section. It fails without the link change.docs/features/changelog.mdgains a short section on the four steps.Left out:
waves.tsor the terminal screen; itswkey already walks wave, change, pull.#conversationsection, not a separate page.Gate: the pull has no
src/tui/change, so the commit saysNo door:and names the existing terminal screen. The commit has aLooks: /changelogline, which is a page inapp.looks. The gate still prints a "look pages (named)" line, which I did not run down. The push went through.Try: open
/changelog, tap the newest wave, then a pull, and read its conversation.Closes #15752