Skip to content

feat(ui): abstract Bible reader theme settings for RN#227

Draft
Dustin-Kelley wants to merge 5 commits intomainfrom
YPE-2258-react-sdk-abstract-bible-theme-settings-component-view-for-rn-expo-sdk
Draft

feat(ui): abstract Bible reader theme settings for RN#227
Dustin-Kelley wants to merge 5 commits intomainfrom
YPE-2258-react-sdk-abstract-bible-theme-settings-component-view-for-rn-expo-sdk

Conversation

@Dustin-Kelley
Copy link
Copy Markdown
Collaborator

Summary

  • Export BibleThemeSettingsContent and related types for reuse (e.g. RN Expo SDK).
  • Add optional onOpenBibleThemeSettings on BibleReader.Toolbar to bypass the web popover and receive a payload with current font settings and semantic actions (onFontIncreased, onFontDecreased, onFontSelected).
  • Add unit tests for default popover behavior and override path.

Test plan

  • pnpm --filter @youversion/platform-react-ui test -- bible-reader.test.tsx
  • Manual: web reader toolbar settings popover still works without override handler.

Made with Cursor

Export BibleThemeSettingsContent, add Toolbar onOpenBibleThemeSettings
override with semantic font actions, and add unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 6, 2026

🦋 Changeset detected

Latest commit: 8f1caa5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@youversion/platform-react-ui Minor
vite-react Patch
@youversion/platform-core Minor
@youversion/platform-react-hooks Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Dustin-Kelley Dustin-Kelley requested a review from cameronapak May 6, 2026 19:03
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.

1 participant