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:
1 parent
168d01dc7b
commit
a69d0a611d
17 files changed
+9948
-22
No files matched your search
@@ -61,6 +61,8 @@ export interface WallDisplay {
|
||||
slug: string;
|
||||
pages: string[];
|
||||
rotateSeconds: number | null;
|
||||
/** A night schedule on the screen's own clock; null = none. */
|
||||
night: { from: string; to: string; mode: "dim" | "off"; wakeOnCritical: boolean } | null;
|
||||
createdBy: string | null;
|
||||
createdAt: string;
|
||||
}
|
||||
@@ -69,6 +71,7 @@ export interface WallDisplayInput {
|
||||
slug?: string;
|
||||
pages: string[];
|
||||
rotateSeconds: number | null;
|
||||
night: { from: string; to: string; mode: "dim" | "off"; wakeOnCritical: boolean } | null;
|
||||
}
|
||||
|
||||
export interface ShareLink {
|
||||
@@ -111,7 +114,7 @@ export interface WallGroup {
|
||||
|
||||
export interface PublicWall {
|
||||
/** The named display this link opens, if any. */
|
||||
displayConfig?: { name: string; pages: string[]; rotateSeconds: number | null } | null;
|
||||
displayConfig?: { name: string; pages: string[]; rotateSeconds: number | null; night: { from: string; to: string; mode: "dim" | "off"; wakeOnCritical: boolean } | null } | null;
|
||||
detail: ShareLinkDetail;
|
||||
level: "ok" | "warning" | "critical" | "unsure";
|
||||
environment: string | null;
|
||||
|
||||
Reference in new issue
Block a user