Repository navigation
See how it looks: preview a festival's scene from Settings - #3
Merged
Merged
Conversation
Choosing a festival or a family day in Settings now offers "See how it looks", which shows its scene on the real home screen as though it were today, with its opening. A quiet note along the bottom says it's a preview. Back returns to that row in Settings; Home, or leaving the home screen at all, ends it, so a festival that isn't today never lingers. Hidden festivals can be previewed too, and greeting-only ones aren't offered. The preview now takes a festival's key as well as its name, so two entries with one name can't be confused; names still work for adb. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Redraw when a new intent reaches the home screen while it's on screen, so Home during a preview always ends it. - Read a preview only from a new intent, so one never returns from a saved launch intent after the process is killed. - Back from an adb preview by name still focuses its row. - One lookup by key or name; a family day's key is its name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…read out Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
See how it looks, on each festival and family day in Settings: the home screen shows that scene as though it were today, opening and all, with "· Preview" after the greeting. Back returns to that row in Settings. Leaving the home screen in any way, including Home, ends it. Festivals that are only a greeting don't offer it, and hidden festivals can be previewed. Released as 1.3.4.
Verified
An emulator end-to-end test (throwaway, #4) passed all 10 checks on Android TV 13 and Google TV 16: preview from Settings; Back to the same row; nothing left afterwards; Home and a plain start ending a preview on screen; an app ending it; adb previews; no option for greeting-only festivals; a hidden festival; a birthday added from the phone page; no crash or ANR.
The run and an independent review caught, and this fixes: Home during a preview didn't redraw on Android 11+; an adb preview could return after the process was killed; the bottom note and first-visit tips covered the diyas (the label is now in the header).
🤖 Generated with Claude Code