feat: ship ScratchNode public wiki loop#490
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR size advisoryThis PR adds 598 lines of substantive change. CONTRIBUTING.md defines a soft limit of ~400 LOC. If the PR is genuinely cohesive (e.g. an architecture map, a generated migration, a deletion of a dead module), no action is needed. Otherwise consider:
This is advisory — it does not block the merge. |
✅ Dogfood Visual QA Gate: PASSED
ArtifactsDownload the Generated by Dogfood QA Gate |
3f3dd31 to
41704c0
Compare
41704c0 to
a447076
Compare
|
Demo: walkthrough of the surfaces this PR changed is available as a workflow artifact ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
scratchnode.live/e/:slug/wiki.events:getPublishedWikiBySlug({ slug })public reader, extended to return both the flat main-branch shape and the nested route payload without exposing drafts/private notes.Shareto copy real addressable answer URLs with#answer-<encodedAnswerId>instead of only showing a toast.Verification
npx vitest run convex/__tests__/scratchnode.publicWikiRead.test.ts convex/__tests__/scratchnode.publicWiki.test.tsnpx playwright test tests/e2e/scratchnode-live-route-honesty.spec.ts --project=chromium --workers=1npx tsc --noEmit --pretty falsenpm run buildhttp://127.0.0.1:5198/proto/home-v5.htmlloaded with no console errors.Notes
This supersedes #488, which used the default Codex branch prefix but failed the repo branch-name style gate.