[ui] TwoTabs: The rose and the garden read again when another tab wrote, keeping their own

This commit is contained in:
2026-11-07 15:06:44 +01:00
parent 102ac44675
commit b67fa3603d
7 changed files with 185 additions and 9 deletions
+2
View File
@@ -16,4 +16,6 @@ export interface SunsetWiring {
readonly save: (choice: SunsetChoice) => Promise<void>;
/** The clock. A parameter, so tests and the e2e suite can fix it. */
readonly now: () => number;
/** Hears a town chosen in another tab (two-tabs.md); returns the way to stop. */
readonly changes?: (listener: () => void) => () => void;
}