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

Ship, decline, say and decide stay on the page they were taken from #1424

Closed opened this in answer to
Closed without merging

Ship, close, say and review-state now send the person back to the page the form came from, with a one-line flash and a link. The one check failure on the earlier pull is fixed. The failing test was the studio > a decision lands back on the page it was taken from, and says so with a link.

Notes

stopped closed without shipping deploy 7826b7f

opened this

Ship, close, say and review-state now send the person back to the page the form came from, with a one-line flash and a link. The one check failure on the earlier pull is fixed.

The failing test was the studio > a decision lands back on the page it was taken from, and says so with a link. The branch had fallen far behind main. On main, GET /asks is now a redirect to /#needs-you, so the test's check for the flash on /asks read an empty body. The test used /asks as the back target for the say, close and failure cases. I merged main into the branch, which went cleanly, and changed the test to use / as the back and read the flash there. The test was wrong; the code was not.

test/studio.test.ts, test/asks.test.ts and test/web-apps.test.ts pass with FORGE_TEST_SOCKET=port (201 tests). I did not run the type check, because node_modules isn't installed here, and the only change since the last check run is in that test file. The forge runs the full check on this push.

What I left out, as before:

  • Fetch fragments: a fetch request still gets the existing JSON answer from flashOrJson, not the updated row. There is no client script yet that submits these forms by fetch and swaps the row.
  • Other decide routes: the asks' other decide routes (hold and release, and the bulk asks) are unchanged.
  • Say form: no page renders a say form, so /say only gained back handling.

To try it, ship a green change from / and check that you land back on / with "Shipped …; production is redeploying · see it live". Ship from a pull page and you stay on that page.

Planner: the in-place fetch update is the remaining part of #1110, and it should be its own issue.

Closes #1110

commented

Parked by the crew: the check failed ("a fork that follows its parent > a proposal names only what is actually ahead: work the parent already has is not listed again") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs