Repository navigation
Workspace demo: try the real workspace on a public-domain sample, no … - #59
Merged
Merged
Conversation
…account app.html?demo=selfhelp and ?demo=novel open the real workspace on a cleaned public-domain text (As a Man Thinketh, 1903; The Secret Garden, chapters 1-8, 1911). demo-boot.js runs only when ?demo= is present: it swaps the Firebase SDK for the in-memory double (demo-firebase.js, moved to the root from the test fixture), keeps every save in a throwaway in-memory storage so nothing is left in the browser, refuses every /api call, hides Save and Account, and shows a banner with the other sample and a link to create an account. The double's user has no tier and the server would reject its token, so the demo grants nothing. The sample is loaded through the app's own upload path, so the demo is the product, not a mock. Homepage: the hero's secondary action becomes "Try the workspace" and the how-it-works link becomes "Try it on a novel"; #signup opens the sign-up dialog. The local server now serves assets/samples/*.txt. The smoke test opens both samples and asserts no API call, no visible save, a free tier, and the novel's cast in the navigator. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VWzYm8L13Mra3ihjhuCM2U
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
…account
app.html?demo=selfhelp and ?demo=novel open the real workspace on a cleaned public-domain text (As a Man Thinketh, 1903; The Secret Garden, chapters 1-8, 1911). demo-boot.js runs only when ?demo= is present: it swaps the Firebase SDK for the in-memory double (demo-firebase.js, moved to the root from the test fixture), keeps every save in a throwaway in-memory storage so nothing is left in the browser, refuses every /api call, hides Save and Account, and shows a banner with the other sample and a link to create an account. The double's user has no tier and the server would reject its token, so the demo grants nothing. The sample is loaded through the app's own upload path, so the demo is the product, not a mock.
Homepage: the hero's secondary action becomes "Try the workspace" and the how-it-works link becomes "Try it on a novel"; #signup opens the sign-up dialog. The local server now serves assets/samples/*.txt. The smoke test opens both samples and asserts no API call, no visible save, a free tier, and the novel's cast in the navigator.
Claude-Session: https://claude.ai/code/session_01VWzYm8L13Mra3ihjhuCM2U