Skip to content

fix(ui): YPE-3868 - remove divider lines between books in the chapter picker - #317

Merged
cameronapak merged 2 commits into
mainfrom
ype-3868-react-sdk-remove-chapter-picker-book-list-shows-divider-lines-between-books-to-match-newer-designs
Aug 4, 2026
Merged

fix(ui): YPE-3868 - remove divider lines between books in the chapter picker#317
cameronapak merged 2 commits into
mainfrom
ype-3868-react-sdk-remove-chapter-picker-book-list-shows-divider-lines-between-books-to-match-newer-designs

Conversation

@cameronapak

@cameronapak cameronapak commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator
Built-in.Retina.Display.Area.2026-08-04.02_45.PM.mp4

Summary

Book rows in BibleChapterPicker no longer render separator lines, matching the approved design. The same component renders inside the RN Expo SDK's WebView, so both surfaces pick this up.

Changes

  1. Book rows render with no divider between them — the picker reads as one clean list.
  2. Patch changeset for @youversion/platform-react-ui.

Start here: change 1 — the border is dropped by passing yv:border-b-0, which tailwind-merge collapses against the AccordionItem primitive's default yv:border-b. The shared primitive is untouched, so future consumers keep the standard border.

Test plan

  • pnpm typecheck — passed (6/6 tasks, includes full build)
  • pnpm lint — passed (7/7 tasks)
  • pnpm --filter @youversion/platform-react-ui test — 401 passed / 30 files
  • pnpm --filter @youversion/platform-react-hooks test — 289 passed / 29 files
  • Confirmed the built stylesheet emits .yv\:border-b-0{border-bottom-width:0}
  • Row padding comes from AccordionTrigger's yv:py-4 and is untouched, so tap targets are unchanged

Needs manual check: side-by-side against the Figma design, which is acceptance criterion 2 on YPE-3868.

Greptile Summary

The PR removes separator lines from book rows in BibleChapterPicker while leaving the shared accordion primitive unchanged.

  • Overrides each picker row’s default bottom border with yv:border-b-0.
  • Adds a patch changeset for @youversion/platform-react-ui.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
packages/ui/src/components/bible-chapter-picker.tsx Replaces the book-row border utilities with the prefixed yv:border-b-0 override, matching the intended picker-specific design.
.changeset/chapter-picker-no-book-dividers.md Correctly records the user-visible styling change as a patch release for the UI package.

Reviews (2): Last reviewed commit: "test(ui): drop chapter picker book list ..." | Re-trigger Greptile

Context used:

The book list now renders as a clean, undivided list to match the
approved design. Row padding and tap targets are unchanged.

YPE-3868

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 76ec094

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 Patch
vite-react Patch
@youversion/platform-core Patch
@youversion/platform-react-hooks Patch

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

@cameronapak cameronapak self-assigned this Aug 4, 2026
@cameronapak cameronapak changed the title fix(ui): remove divider lines between books in the chapter picker YPE-3868 - fix(ui): remove divider lines between books in the chapter picker Aug 4, 2026
Comment thread packages/ui/src/components/bible-chapter-picker.test.tsx
Addresses review feedback: the assertion restated the className and
carried no value.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@cameronapak cameronapak changed the title YPE-3868 - fix(ui): remove divider lines between books in the chapter picker fix(ui): YPE-3868 - remove divider lines between books in the chapter picker Aug 4, 2026
@cameronapak
cameronapak merged commit 9c2e8e4 into main Aug 4, 2026
17 of 20 checks passed
@cameronapak
cameronapak deleted the ype-3868-react-sdk-remove-chapter-picker-book-list-shows-divider-lines-between-books-to-match-newer-designs branch August 4, 2026 20:45
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