Friction-reduction redesign: saved characters, custom length, print fixes#4
Merged
Merged
Conversation
…ixes
Story Studio overhaul:
- Saved characters with descriptions ("Mason, 7, long brown hair, loves
dinosaurs"). Tap chips to select, multi-select for multi-kid stories,
pencil to edit. Descriptions auto-wove into every story prompt.
- Custom story length: 3 preset chips (Quick 3 / Standard 6 / Long 10)
plus a Custom minute input (1-20). Backed by a 130-wpm bedtime
read-aloud constant so the prompt instructs the model with a real
word-count target and acceptable range. Post-generation, the actual
word count + minutes are surfaced so users see when the model misses.
- Age input becomes direct-edit (type=text, inputmode=numeric, native
spinners suppressed). No more up/down arrows.
- Post-generation polish: "Another like this" regenerate button, last-8
stories saved to localStorage and reopenable via collapsed library.
Routing:
- Returning visitors always land on the marketing page now, never the
dashboard. (StoryForge has saved-character chips at the top so they're
still one tap from generating.)
Print:
- Virtue label badge is navy text on solid pale yellow with dark gold
border — visible in print instead of barely-there translucent gold.
- Discussion box and family-activity panels get page-break-inside:avoid
so they don't get cut across pages.
- print-color-adjust:exact forces printers to respect backgrounds.
API:
- Bumped max_tokens from 3000 → 8000 so longer custom stories don't get
truncated. Sonnet bills on actual output so the cap is free headroom.
Snapshot tag pre-friction-redesign-2026-05-19 marks the prior state for
easy revert.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Story Studio overhaul aimed at reducing friction to generating stories. Snapshot tag
pre-friction-redesign-2026-05-19marks the prior state for easy revert.Saved characters with descriptions
Length redesign
lib/data.ts. The prompt now instructs the model with a hard word-count target and acceptable range, with a CRITICAL LENGTH REQUIREMENT block.Direct-edit age
type=\"text\" inputmode=\"numeric\"with native spinners suppressed.Always-landing routing
Print fixes
page-break-inside: avoidso they don't get split across pages.print-color-adjust: exactforces printers to respect backgrounds.Other polish
max_tokensbumped 3000 → 8000 so longer custom stories don't truncate (Sonnet bills on actual output, not the cap).Test plan
🤖 Generated with Claude Code