Repository navigation
Display: cite only the verses on screen, drop the audience '+N more verses' note - #147
Merged
Merged
Conversation
…es' note for the audience The projector and the OBS band showed '+N more verses' under a citation that still named the full range. The note was in the console's UI language, not the Bible's, so an English console showed English text under Lithuanian scripture. Audience screens now cite the verses actually shown (John 1:1-3), including verses the OBS band drops to fit. The operator live preview keeps the note.
With the audience '+N more verses' note gone, +1 is how the operator shows the verses a limit cut, so it is on unless a console turned it off. A stored 'false' still wins. README and CHANGELOG updated.
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.
Why
When a passage was longer than the verse limit, the projector and the OBS band showed "+N more verses" under a citation that still named the full range. The note was UI chrome on an audience screen, and it used the console's language rather than the Bible's. So an English console put English text under Lithuanian scripture.
What
shownReferencehelper (shared/verseText.ts) cuts the citation to the first and last verse on screen. A whole-chapter reference becomes e.g. "Psalms 23:1-3".display/App.tsx): no note, citation names only the shown verses.display/StreamBand.tsx): same. This includes verses dropped because the band is too small..display-range-note/.stream-moreCSS.No protocol, approval-flow or backend changes.
static/frontend/is not rebuilt.Tests
npm run lint,typecheck,format:check,npm test -- --run: 66 files / 758 tests passed, none skipped.shownReferenceunit tests; projector test for the trimmed citation and no note.John 1:1-3. Two existing OBS tests use the default limit of 3 on a 4-verse passage, so their expected citation changed from1:1-4to1:1-3.