feat(broadcast): idle fade-out for the live display, keyed to sermon … - #179
Open
Josesx506 wants to merge 1 commit into
Open
feat(broadcast): idle fade-out for the live display, keyed to sermon …#179Josesx506 wants to merge 1 commit into
Josesx506 wants to merge 1 commit into
Conversation
…relevance When the preacher moves on and the on-air verse goes stale, the output now fades to black on its own instead of lingering indefinitely. - New Idle Fade Timeout setting (10-120s slider, default 30s, persisted) - The output fades over 800ms when the timer expires; presenting anything fades back in and restarts the clock - The timer re-arms only on a genuine present (VerseRenderData.presentedAt changing) — incidental re-emits (theme edits, output syncs) can't keep a stale verse alive - A keepalive watches the detection stream: candidates still related to the on-air verse (direct or semantic match, or a chapter-only mention of its book+chapter) refresh the stamp, so the verse stays up while the sermon is on it and fades once the speech veers away - The in-app Live Display panel mirrors the fade - Payloads without idleFadeMs/presentedAt behave exactly as before (always re-arm), so older senders are unaffected Includes unit tests for the relevance predicate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAHGVvCBEcMPVtazz3cyoz
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.
…relevance
When the preacher moves on and the on-air verse goes stale, the output now fades to black on its own instead of lingering indefinitely.
Includes unit tests for the relevance predicate.
Claude-Session: https://claude.ai/code/session_01PAHGVvCBEcMPVtazz3cyoz
Description
Type of change
Areas affected
Checklist
bun run typecheckpassescargo clippypasses without warningsbun run testpasses (if applicable)Tested on
Screenshots / recordings