From ea0232cc63fe1f94051e809764bfb44042c077f1 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Wed, 19 Aug 2026 14:46:58 +1000 Subject: [PATCH 1/9] feat(windows): open N peer windows kept in sync by a Store change feed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every window is a full peer copy of the app, and a Store-level change feed keeps them consistent: a write in any window — or in the backend itself — reaches every other window and every web client. Windows: a `new_window` command builds `win-N` windows from the parsed tauri.conf.json main-window entry, cascaded from the opener, behind File ▸ New Window (Cmd+N; New Project moves to Shift+Cmd+N so the native accelerator can't swallow the keydown). The capability glob widens to ["main", "win-*"] — without it invoke fails and the window never shows — and win-* labels are excluded from window-state tracking, so stale geometry entries never accumulate for labels the plugin can't remove. Menu events target the focused window instead of fanning out across windows, and open a new window natively when nothing is focused. Per-window identity: the PR-poll client id becomes `tauri-