Wall displays: a night schedule that dims or blanks the board

A named display can dim the board or blank it (so a tablet or computer may
sleep) between two times on the screen's own clock. A critical alert brings the
board back unless told not to, and a touch or key press brings it back for two
minutes. A share link that opens the display follows the same schedule.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-13 18:47:53 +01:00
1 parent 168d01dc7b
commit a69d0a611d
17 files changed
+9948 -22

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ export default function SharedWall() {
<WallView
data={data}
idle={idle}
display={displayConfig ? { name: displayConfig.name, pages: displayConfig.pages } : null}
display={displayConfig ? { name: displayConfig.name, pages: displayConfig.pages, night: displayConfig.night } : null}
rotation={{ seconds: rotation.seconds, onChange: rotation.setSeconds }}
footerActions={
<button type="button" className="wall-link" onClick={() => void document.documentElement.requestFullscreen?.().catch(() => {})}>
+1 -1
View File
@@ -104,7 +104,7 @@ export default function Wall() {
<WallView
data={data}
idle={idle}
display={display ? { name: display.name, pages: display.pages } : slug && displays !== null ? { name: t("No display called “{slug}” — showing everything", { slug }), pages: [] } : null}
display={display ? { name: display.name, pages: display.pages, night: display.night } : slug && displays !== null ? { name: t("No display called “{slug}” — showing everything", { slug }), pages: [] } : null}
rotation={{ seconds: rotation.seconds, onChange: rotation.setSeconds }}
footerActions={
<>