Repository navigation
feat(ui): show copyright attribution on Verse of the Day (YPE-6850) - #518
Merged
Merged
Conversation
Every card size now shows the Bible version's copyright under the verse, including when the Bible App logo is hidden. The copyright follows the Scripture's direction so it lines up with the verse in LTR and RTL. Amp-Thread-ID: https://ampcode.com/threads/T-01a23ca3-c820-726a-ae34-44d89cc806f4
🦋 Changeset detectedLatest commit: 7280e44 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
The reference took the Scripture's direction for alignment, so with mixed directions it drifted away from the sun icon and eyebrow. It now aligns with the interface and only its text runs in the Scripture's direction. Amp-Thread-ID: https://ampcode.com/threads/T-01a23ca3-c820-726a-ae34-44d89cc806f4
cameronapak
requested review from
Dustin-Kelley,
abharms,
bmanquen and
camrun91
December 3, 2026 16:52
Drop the exact Arabic eyebrow assertion, which a wording-only translation update would break. The lockup check now measures the rendered text of the eyebrow and reference and checks the sun sits right before them, and the RTL stories wait for the copyright element instead of fixture wording. Amp-Thread-ID: https://ampcode.com/threads/T-01a23ca3-c820-726a-ae34-44d89cc806f4
bmanquen
reviewed
Dec 3, 2026
bmanquen
left a comment
Collaborator
There was a problem hiding this comment.
1 non-blocking comment inline.
bmanquen
approved these changes
Dec 3, 2026
cameronapak
pushed a commit
that referenced
this pull request
Dec 4, 2026
The copyright line added in #518 appeared at full height when the verse arrived, outside AnimatedHeight, so content below jumped 24px at once (CLS 0.049 at 390px on Slow 4G). Keeping one empty line in its place while loading brings that to 0.014, the remaining difference being the verse's own length versus the typical-verse reservation. Amp-Thread-ID: https://ampcode.com/threads/T-01a23831-2d77-77fd-9e5e-e91ef59406bf
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.
Closes YPE-6850.
New here? Start here
What's this? The Verse of the Day card shows a Bible verse but never said who holds the rights to that translation. This PR adds the Bible version's copyright text under the verse on every card size, following the Reader SDK design.
Why does it matter? Publishers license their translations on the condition that they're credited. The Bible Reader and Bible Card already show this text; Verse of the Day was the gap.
Who does it affect? Apps that embed
<VerseOfTheDay />, and the people who read it. No props change.What happens if we leave this as-is? The card keeps showing licensed Scripture without its required credit.
What changed
default,lg, and with the Bible App logo hidden) shows the copyright under the verse: 10px semibold, 1.2 line height, muted color, with the copyright's line breaks kept, matching Figma.getPassageAttribution, the same source BibleCard and BibleReader use: the copyright, or the promotional content when the copyright is empty. It's hidden while the card loads and when it fails.<bdi dir="auto">keeps mixed-script copyrights in the right order.<bdi dir>. The eyebrow is a UI string, so it follows the app's language: English in an English app, "آية اليوم" in an Arabic one.RtlInterfaceAndScripturestory covers a fully Arabic card. All three RTL stories now check that the reference lines up with the eyebrow. The newRtlScriptureWithLtrInterfacestory checks an Arabic passage and copyright;RtlInterfaceWithLtrScripturenow also checks the copyright direction;Minimaluses NIV (111) because the mock data has no entry for the default version, so it rendered no copyright.Not in scope: the Figma large card also moves the reference under the verse and adds a "Full Chapter" button. Those aren't part of this ticket.
Before / after
Desktop widths look the same as phone, just wider, so they're left out.
Testing
defaultandlgwith the logo hidden (both fail on main), followsltrandrtlScripture direction, and is hidden on a passage error.pnpm --filter @youversion/platform-react-ui test: 686 passed. Typecheck, oxlint, and prettier clean.Confidence Score: 5/5

The PR appears safe to merge; no actionable new issues were found.Summary
Adds Bible translation credit below the verse on both
VerseOfTheDaysizes.Both earlier findings are addressed. Tests and browser captures were not run; dependencies are not installed.
Reviews (5) · Last reviewed commit: "Merge branch 'main' into ype-6850-votd-c..." · Reviewed by Greptile