Skip to content

Display: cite only the verses on screen, drop the audience '+N more verses' note - #147

Merged
Ezo-mas merged 2 commits into
mainfrom
feat/audience-cite-shown-verses
Nov 26, 2026
Merged

Ezo-mas merged 2 commits into
mainfrom
feat/audience-cite-shown-verses

Conversation

@Ezo-mas

@Ezo-mas Ezo-mas commented Nov 25, 2026

Copy link
Copy Markdown
Member

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

  • New shownReference helper (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".
  • Projector (display/App.tsx): no note, citation names only the shown verses.
  • OBS band (display/StreamBand.tsx): same. This includes verses dropped because the band is too small.
  • Removed the now-unused .display-range-note / .stream-more CSS.
  • Operator live preview is unchanged: it still shows "+N more verses", so the operator knows something was cut.

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.
  • New: shownReference unit tests; projector test for the trimmed citation and no note.
  • Updated OBS tests: they now assert the band carries no console-language text and cites John 1:1-3. Two existing OBS tests use the default limit of 3 on a 4-verse passage, so their expected citation changed from 1:1-4 to 1:1-3.
  • Not checked visually in the running app (bundle not rebuilt).

…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.
@Ezo-mas
Ezo-mas merged commit 214d226 into main Nov 26, 2026
1 check passed
@Ezo-mas
Ezo-mas deleted the feat/audience-cite-shown-verses branch November 26, 2026 16:23
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