overview: a verb for mission control, and a state readout
Multitasking was raised only by the pill's first-stage swipe, so the one surface that has been reported broken was the one neither an agent nor a test could reach. state() reports what the cards are drawn from. Used it immediately: with a window open the model is not empty — zones 2, windows 1, subscribed true — so the missing cards are not missing data.
This commit is contained in:
parent
075ddf19eb
commit
5ec6bfdc63
1 changed files with 18 additions and 0 deletions
|
|
@ -454,6 +454,24 @@ Scope {
|
|||
function close(): void {
|
||||
GlobalStates.overviewOpen = false;
|
||||
}
|
||||
|
||||
// Multitasking. Raised only by the pill's first-stage swipe until now,
|
||||
// which meant the running-work view was the one surface on the device
|
||||
// that neither an agent nor a test could reach — and it is the one
|
||||
// that has been reported broken.
|
||||
function missionControl(): void {
|
||||
GlobalStates.missionControlOpen = !GlobalStates.missionControlOpen;
|
||||
}
|
||||
|
||||
function state(): string {
|
||||
return JSON.stringify({
|
||||
overview: GlobalStates.overviewOpen,
|
||||
missionControl: GlobalStates.missionControlOpen,
|
||||
zones: ViewtopControl.zoneCount,
|
||||
windows: ViewtopControl.windows.length,
|
||||
subscribed: ViewtopControl.subscribed
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
|
|
|
|||
Loading…
Reference in a new issue