Send-app UI: 'Send all applications' is now the first row of the list
Per Ed: instead of a separate 'Send all applications' checkbox that hides the list, that toggle is now the FIRST ROW of the active-applications list. Ticked = send the whole system and the individual apps collapse away; untick it and the running apps appear beneath it (the remembered list shows too). Backed by the now-hidden sendAllApplicationsCheckbox as state; a reserved sentinel row name routes the first-row toggle to it. One scrollable control instead of a checkbox plus a list. Coverage audit + profile round-trip still clean; gate 37/37. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
3103bac791
commit
18b079ba3a
@@ -124,6 +124,11 @@ public sealed class MainForm : Form
|
||||
// when the ticked apps' actual process ids change (an app opened or closed).
|
||||
private RemSound.Sender.AudioSessionStartWatcher? sessionStartWatcher;
|
||||
private string? lastSendAppPidSignature;
|
||||
// The active-apps list's FIRST ROW is a synthetic "Send all applications" toggle (Ed's design): ticked =
|
||||
// send the whole system, and the individual apps below collapse away; unticked reveals them. It's backed
|
||||
// by sendAllApplicationsCheckbox (kept as hidden state). This reserved process-name marks that row so the
|
||||
// handlers can tell it apart from a real app.
|
||||
private const string SendAllAppsSentinel = " | ||||