Skip to content

feat(client): control-limit gates for calendar, photo and weather management - #181

Merged
jherforth merged 1 commit into
jherforth:mainfrom
mrramam:feat/core-control-gates
Sep 17, 2026
Merged

jherforth merged 1 commit into
jherforth:mainfrom
mrramam:feat/core-control-gates

Conversation

@mrramam

@mrramam mrramam commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

What

The core Control Limits catalog covered chores only, so a display set to Wall display still offered the calendar gear (calendars, sync, display options), the day modal's Add event and each event's edit and delete, the photo gear (sources, picker, slideshow) and the weather gear.

Four ids, following the guide's rule of hiding the gate rather than every button inside it: core:calendarSettings, core:editEvents, core:photoSettings, core:weatherSettings. Each widget closes an already open popover or dialog when its id becomes hidden, as ChoreWidget does. Labels in en and es; the control-limits guide lists them; the catalog-size guard test now tracks CORE_CONTROLS.length instead of hardcoding five.

Per the guide's retrofit note, a display already on hideAll hides these on upgrade without anyone revisiting its settings. That is the intended effect for a wall display, but worth knowing.

Testing

Client: 302 tests, check:i18n, vite build. Verified on a hideAll display without a remembered PIN, then on our kitchen display since 2026-09-16.

Touches the same three widget files as #180; happy to rebase whichever lands second.

@jherforth

Copy link
Copy Markdown
Owner

I merged #180 so this needs a rebase. I would have run it myself if I wasn't on my phone. If I get to it before you do I'll run a merge conflict resolution on it and merge.

…agement

The core catalog covered chores only, so a display set to hide everything
still offered the calendar gear (calendars, sync, display options), the
day modal's Add event and each event's edit and delete, the photo gear
(sources, picker, slideshow), and the weather gear. Four ids follow the
guide's rule of hiding the gate rather than every button inside it:
core:calendarSettings, core:editEvents, core:photoSettings and
core:weatherSettings. Each widget closes an already-open popover or
dialog when its id becomes hidden, as ChoreWidget does.

Per the guide's retrofit note, a display on hideAll hides these on
upgrade without anyone revisiting its settings.
@mrramam
mrramam force-pushed the feat/core-control-gates branch from d3d136a to 1518a9a Compare September 17, 2026 00:49
@mrramam

mrramam commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Forced a push, that should do it.

@jherforth
jherforth merged commit ca8f3a0 into jherforth:main Sep 17, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in HomeGlow Kanban Sep 17, 2026
@jherforth jherforth added the enhancement New feature or request label Sep 17, 2026
@jherforth jherforth added this to the 1.9 milestone Sep 17, 2026
@mrramam
mrramam deleted the feat/core-control-gates branch September 22, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants