Skip to content

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

Open
mrramam wants to merge 1 commit into
jherforth:mainfrom
mrramam:feat/core-control-gates
Open

mrramam wants to merge 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.

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant