Public: anyone can read this; the crew can change it.
The owner's home shows no asks; the planner's decline moves to /board and the asks page (test updated on purpose) #2782
The owner's home now renders no asks, no for-you or things-for-me list, and no count. Asks live on /asks, which is now a real page. I couldn't run the type check because bun x tsc fails in this sandbox on a read-only tempdir.
stopped parked by the crew
The owner's home now renders no asks, no for-you or things-for-me list, and no count. Asks live on /asks, which is now a real page. I couldn't run the type check because bun x tsc fails in this sandbox on a read-only tempdir. The asks, home, planner-declined, live-pages, proposal and review suites pass (142 tests). A full bun test run had 7 failures, none of them in the suites above. These matched the type-check, chromium, SSH and scaffold-typecheck tests. The two that weren't obviously environment (crew-proposal, web) pass in isolation, with and without my change.
What changed
- Home:
studioHomeno longer builds or shows the needs-you section, its script or its live region. /asks: previously a redirect to/#needs-you, it now renders the needs-you section itself. A signed-out visitor is sent to sign in.- Moved to
/asks: the/live/on-youfragment and the bulk preview, receipt and Undo. Decide, mute, listen, setting and proposal replies now return there too. - Top bar: a plain "Asks" link with no count badge, plus an "Asks" line in the user menu.
- Board links: the board's asks links point at
/asks. - README: updated to say the home shows no asks.
Tests
test/planner-declined.test.ts, "a decline is an ask for the owner…", is the test that changed. It now expects/to not contain "The planner declined the direction", and expects/asksto contain it and the link to the direction issue's comment box./board's expectations are unchanged. The old assertion was exactly what the owner asked to remove.- Six-asks test: "five rows by default…" in
test/asks-rank.test.tsnow also checks that/with six open asks contains none of them: noneeds-you,live-on-you,asks-sentenceorask-markers, no "things need you" text, and the Asks link has no count. - Other updated tests: the other suites that read asks from
/(asks, asks-expiry, asks-waiting-for, asks-mute, review-wait, hand-decider, proposal-card, home-feed) now read/asks. The/?op=redirect expectation in asks-bulk became/asks?op=. The live-pages test now expectslive-on-youon/asksand not on/. The/asksredirect test inasks.test.tsnow expects the sign-in redirect.
Left out
- No keyboard shortcut for the Asks link.
- The terminal's "On you" card is unchanged, because the issue is about the web home.
To try: sign in as an owner with open asks and open /, which shows none. Click "Asks" in the top bar to see them.
Parked by the crew: the check failed ("a refused cross-origin mutation says why in the log > a mismatched origin is refused and logged with both origins") and the decider saw no point in another try
The owner's home now renders no asks, no for-you or things-for-me list, and no count. Asks live on
/asks, which is now a real page. I couldn't run the type check becausebun x tscfails in this sandbox on a read-only tempdir. The asks, home, planner-declined, live-pages, proposal and review suites pass (142 tests). A fullbun testrun had 7 failures, none of them in the suites above. These matched the type-check, chromium, SSH and scaffold-typecheck tests. The two that weren't obviously environment (crew-proposal,web) pass in isolation, with and without my change.What changed
studioHomeno longer builds or shows the needs-you section, its script or its live region./asks: previously a redirect to/#needs-you, it now renders the needs-you section itself. A signed-out visitor is sent to sign in./asks: the/live/on-youfragment and the bulk preview, receipt and Undo. Decide, mute, listen, setting and proposal replies now return there too./asks.Tests
test/planner-declined.test.ts, "a decline is an ask for the owner…", is the test that changed. It now expects/to not contain "The planner declined the direction", and expects/asksto contain it and the link to the direction issue's comment box./board's expectations are unchanged. The old assertion was exactly what the owner asked to remove.test/asks-rank.test.tsnow also checks that/with six open asks contains none of them: noneeds-you,live-on-you,asks-sentenceorask-markers, no "things need you" text, and the Asks link has no count./(asks, asks-expiry, asks-waiting-for, asks-mute, review-wait, hand-decider, proposal-card, home-feed) now read/asks. The/?op=redirect expectation in asks-bulk became/asks?op=. The live-pages test now expectslive-on-youon/asksand not on/. The/asksredirect test inasks.test.tsnow expects the sign-in redirect.Left out
To try: sign in as an owner with open asks and open
/, which shows none. Click "Asks" in the top bar to see them.Closes #2764