Skip to content

feat(cards): a first-run tour for children - #1183

Merged
tempus2016 merged 1 commit into
mainfrom
feat/kid-onboarding-tour
Nov 3, 2026
Merged

tempus2016 merged 1 commit into
mainfrom
feat/kid-onboarding-tour

Conversation

@tempus2016

Copy link
Copy Markdown
Owner

A first-time walkthrough for children on the Child card and the Kiosk.

What changes

  • The tour spotlights the real card, one part at a time: the header, the first job that can be ticked off now, points, streak and rewards, skipping steps with nothing to point at. The card stays live underneath. Pre-reader cards get a three-step picture version that can read itself aloud through the read-aloud speaker. The tour steps aside while a celebration (completion popup, all-done party, bounty dialog) is showing and comes back on the same step.
  • Once per child — finishing or skipping is saved per child (taskmate/tour/mark, linked-child rule) plus a per-browser flag; grown-ups reset it from Settings (taskmate/tour/reset). Children who had already done a chore are marked done on upgrade. It doesn't start for parents, adults or the View-as-child preview.
  • Settings → First-time tour — tour_enabled, tour_auto_read, a speaker picker for read_aloud_media_player, and a per-child list with Show again. Card option show_tour on both cards.
  • Layering — the scrim sits under Home Assistant's toolbar, so a scrolled dashboard keeps a clean header (found by the pre-release mobile check).
  • Docs — new wiki/Kid-Onboarding-Tour.md, Settings, Sensor Reference. Translated into every locale.
type: custom:taskmate-child-card
entity: sensor.taskmate_overview
child_id: <child_id>
show_tour: false

Testing

  • tests/test_kid_tour.py, tests/frontend/taskmate-kid-tour.test.cjs (the tick step in all six designs, pre-reader and kiosk; the scrim's z-index).
  • On the dev HA instance: after a reset the tour starts on the classic card, steps advance, a celebration pauses it on the same step, Skip records {"skipped": 3} and it doesn't return after a reload; a run on playroom finished with Done. The pre-release check found the job step pointing at a not-yet-due Night chore, now fixed in every design and the kiosk.

@github-actions github-actions Bot added documentation Improvements or additions to documentation backend Python integration code cards Lovelace cards / frontend (www/*.js) translations i18n / locale strings tests Test suite labels Nov 3, 2026
@tempus2016
tempus2016 merged commit 03340ef into main Nov 3, 2026
18 checks passed
@tempus2016
tempus2016 deleted the feat/kid-onboarding-tour branch November 3, 2026 19:04
@tempus2016 tempus2016 mentioned this pull request Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Python integration code cards Lovelace cards / frontend (www/*.js) documentation Improvements or additions to documentation tests Test suite translations i18n / locale strings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant