Skip to content

feat: unify printing on/off with quiet hours into single print mode - #72

Merged
jampick merged 3 commits into
mainfrom
feature/unified-print-mode
Apr 5, 2026
Merged

feat: unify printing on/off with quiet hours into single print mode#72
jampick merged 3 commits into
mainfrom
feature/unified-print-mode

Conversation

@jampick

@jampick jampick commented Apr 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replaces separate "PRINTING: ON/OFF" toggle button and "Enable quiet hours" checkbox with a unified 3-state print_mode selector: Always On, Scheduled (quiet hours), Off
  • Quiet hours time inputs and wake mode are greyed out when not in Scheduled mode
  • Status bar shows combined print/quiet status with color-coded indicator
  • Backward-compatible migration from legacy enabled/quiet_enabled config fields

Test plan

  • Migration tests: legacy config → new print_mode (4 test cases)
  • Existing appliance and server validation tests pass
  • Verify web UI shows 3-state dropdown in PRINTING panel
  • Verify quiet hours fields grey out when "Always on" or "Off" selected
  • Verify status bar updates live via polling

Fixes #70

🤖 Generated with Claude Code

jampick@microsoft.com and others added 3 commits April 5, 2026 08:06
Replace separate "PRINTING: ON/OFF" toggle and "Enable quiet hours"
checkbox with a single 3-state print_mode selector: Always On,
Scheduled (quiet hours), or Off. Quiet hours settings are greyed out
when not in Scheduled mode, simplifying the UI.

Includes backward-compatible migration from legacy enabled/quiet_enabled
config fields to the new print_mode field.

Fixes #70

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fixes pre-existing ruff F811 lint error that was blocking CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pre-existing test failures — template renders "No changes" not "Up to date".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jampick
jampick merged commit 09aa5f2 into main Apr 5, 2026
1 check passed
@jampick
jampick deleted the feature/unified-print-mode branch April 5, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate printing on/off with quiet hours to simplify UI

1 participant