Skip to content

feat(admin): forget the PIN on one device; search and pause prizes - #366

Merged
mrramam merged 1 commit into
jherforth:mainfrom
mrramam:feat/pin-prizes
Oct 31, 2026
Merged

mrramam merged 1 commit into
jherforth:mainfrom
mrramam:feat/pin-prizes

Conversation

@mrramam

@mrramam mrramam commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Two small admin additions.

Forget PIN on this device. Re-requiring the PIN on one display meant resetting every display. Security now offers this button when the display remembers the PIN. An open panel stays open, and the PIN is asked for next time.

Prize search and pause.

  • Prize Management gets a search over the prize list. The store list below it always shows everything.
  • Pausing a prize hides it from the kids' store and refuses new requests, while it stays in the ledger and on the shelf. A request made before the pause still waits for a parent.
  • PATCH accepts paused alone, so pausing can't undo an edit made on another display.

Adds prizes.paused (schema 39). If another PR takes 39 first, I'll renumber. The any-day migration test no longer pins the latest schema number.

Merges cleanly with #365.

Tested: server 701, client 883 and i18n pass. Driven on desktop and phone against a test server, and running in our production since today. Forget PIN wasn't exercised against a real PIN on our production. Not tested on a real touch screen, and Spanish hasn't been seen on screen.

Remembering the PIN by accident on one display meant resetting every display.
Security now offers "Forget PIN on this device" when this display remembers it.
An open panel stays open; the PIN is asked for next time.

Prize Management gets a search over the prize list. Pausing a prize hides it
from the kids' store and refuses new requests, while it stays in the ledger and
on the shelf. A request made before the pause still waits for a parent. PATCH
accepts `paused` alone, so pausing can't undo an edit made on another display.

Adds prizes.paused (schema 39). The any-day migration test no longer pins the
latest schema number.
@mrramam
mrramam merged commit 498536c into jherforth:main Oct 31, 2026
4 checks passed
@mrramam
mrramam deleted the feat/pin-prizes branch October 31, 2026 19:13
@github-project-automation github-project-automation Bot moved this from Backlog to Done in HomeGlow Kanban Oct 31, 2026
@jherforth jherforth added the enhancement New feature or request label Oct 31, 2026
@jherforth jherforth added this to the 2.0 milestone Oct 31, 2026
adamecker pushed a commit to adamecker/HomeGlow that referenced this pull request Nov 1, 2026
…, jherforth#370; admin jherforth#366; ha-panels jherforth#371) into test/all-combined

# Conflicts:
#	server/migrations/registry.js
#	server/tests/anyDayChores.test.js
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