Skip to content

Workspace demo: try the real workspace on a public-domain sample, no … - #59

Merged
mekado11 merged 1 commit into
gh-pagesfrom
claude/fiction-analysis-tool-vb1pH
Sep 21, 2026
Merged

mekado11 merged 1 commit into
gh-pagesfrom
claude/fiction-analysis-tool-vb1pH

Conversation

@mekado11

Copy link
Copy Markdown
Owner

…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

…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
@vercel

vercel Bot commented Sep 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
manuscriptlens Ready Ready Preview Sep 21, 2026 3:32am UTC

@mekado11
mekado11 merged commit 5d6b79f into gh-pages Sep 21, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — ed1a08ea Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants