Skip to content

fix: always show page sidebar and read current page on play#20

Merged
f merged 1 commit into
f:masterfrom
nathanael:fix/sidebar-and-play-current-page
Mar 8, 2026
Merged

fix: always show page sidebar and read current page on play#20
f merged 1 commit into
f:masterfrom
nathanael:fix/sidebar-and-play-current-page

Conversation

@nathanael
Copy link
Copy Markdown

Summary

  • Always show the page sidebar -- previously it only appeared when multiple pages existed, but the Add Page button lives inside the sidebar, making it impossible to add pages from a single-page state.
  • Play reads the current page -- pressing play always reset to page 0 (the welcome text) instead of reading whichever page the user was currently editing. Now it reads the active page, falling back to the first non-empty page only if the current one is blank.

Test plan

  • Open the app fresh -- sidebar should be visible with one page and Add Page button at the bottom
  • Add a second page, type text, press play -- should read the page you are viewing, not page 1
  • With only the welcome text on page 1, add a new page with custom text, select it, press play -- should read your custom text

Generated with Claude Code

The page sidebar was only visible when multiple pages existed, but the
"Add Page" button lives inside the sidebar — making it impossible to
add pages from a single-page state.

Also, pressing play always reset to page 0 (the welcome text) instead
of reading whichever page the user was currently editing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@f f merged commit 83bfdce into f:master Mar 8, 2026
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