Skip to content

Offer named clients when routing, not just apps - #24

Merged
TerrifiedBug merged 1 commit into
mainfrom
feat/route-seen-clients
Sep 7, 2026
Merged

Offer named clients when routing, not just apps#24
TerrifiedBug merged 1 commit into
mainfrom
feat/route-seen-clients

Conversation

@TerrifiedBug

Copy link
Copy Markdown
Owner

What

Follow-up to #23. The route list's + opened an application picker, which cannot find a daemon — a FaceTime call belongs to avconferenced, which has no .app — so the only way to route one was a hand-written line in config.json.

Every client meeting detection names goes into an in-memory list (newest first, deduplicated by identifier). Once it has anything in it, + becomes a menu: "Choose Application…" first, then those clients by name. Picking one skips the app picker and asks only for the folder. Snapshot at open like the rest of the Settings model, in memory only, so it starts empty at each launch; the README and the section footer say so.

AppList gains an optional addChoices; with none it is the plain button it was, so the ignored-apps list is untouched.

Verified live (dev build)

  • Fresh launch, nothing seen: + is the plain button, opens the app picker as before.
  • After a detected QuickTime session: + is a menu button (AX AXMenuButton) listing Choose Application…, separator, QuickTime Player.
  • Picking QuickTime Player opens only the folder panel; choosing a folder writes { "com.apple.QuickTimePlayerX": "~/Desktop/yap-route-test" } and the row appears with icon, name and folder.

No change on the transcription or key-down path. swift test: 52 passed.

The route list's + opened an application picker, which cannot find a
daemon: a FaceTime call belongs to avconferenced, which has no .app, so
the only way to route it was a line in config.json by hand.

Every client meeting detection names now lands in an in-memory list,
newest first, and once that list has anything in it the + becomes a menu:
"Choose Application…" first, then those clients by name. Picking one skips
the app picker and asks only for the folder. In memory only and a snapshot
at open, like the rest of the Settings model, so the list starts empty at
each launch — the README says so.
@TerrifiedBug
TerrifiedBug merged commit 683e6ae into main Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant