Route the interactive Panama date menu
This commit is contained in:
@@ -253,7 +253,8 @@ ShellRoot {
|
||||
|
||||
IpcHandler {
|
||||
target: "notifications"
|
||||
function toggle(): void { ShellState.toggle("notifications"); }
|
||||
function toggle(): void { ShellState.toggleDateMenu("notifications"); }
|
||||
function open(): void { ShellState.openDateMenu("notifications"); }
|
||||
function clear(): void { Notifs.dismissAll(); }
|
||||
function dnd(): bool {
|
||||
Notifs.doNotDisturb = !Notifs.doNotDisturb;
|
||||
@@ -266,13 +267,15 @@ ShellRoot {
|
||||
function fixture(name: string): void { CalendarAgenda.applyFixture(name); }
|
||||
function reset(): void { CalendarAgenda.clearFixture(); }
|
||||
function refresh(): void { CalendarAgenda.refresh(); }
|
||||
function open(): void { ShellState.open("notifications"); }
|
||||
function open(): void { ShellState.openDateMenu("agenda"); }
|
||||
function close(): void { ShellState.close(); }
|
||||
function select(date: string): void { CalendarAgenda.selectIsoDate(date); }
|
||||
function status(): string {
|
||||
return JSON.stringify({
|
||||
phase: CalendarAgenda.phase,
|
||||
fixture: CalendarAgenda.fixtureMode,
|
||||
open: ShellState.notificationsOpen,
|
||||
page: ShellState.dateMenuPage,
|
||||
sourceCount: CalendarAgenda.sources.length,
|
||||
eventCount: CalendarAgenda.events.length,
|
||||
selectedDate: CalendarAgenda.selectedDateKey,
|
||||
|
||||
Reference in New Issue
Block a user