← Back to Pull requests

Add configurable system-wide hotkeys for mic and camera #1

Closed
unknown closed this pull request without merging on Nov 20, 2026 20:40 UTC
View on GitHub
unknown unknown commented on Nov 20, 2026 20:37 UTC
Author

Summary


  • Adds a "Use system-wide hotkeys" toggle in Settings (off by default) that lets the mic/camera shortcuts work even when MacMeet isn't the active app.

  • Each shortcut is independently configurable via a recorder control, so it can be changed to anything — e.g. Zoom's own global shortcuts (⇧⌘A, ⇧⌘V) instead of the ⌘D/⌘E defaults.

  • Registration, per-shortcut persistence, and conflict warnings are provided by the KeyboardShortcuts package, MacMeet's first external dependency. Pinned to 1.15.0 because later releases use SwiftUI's #Preview/@Entry macros, which need Xcode's Previews macro plugin — unavailable with just the Command Line Tools this project targets.
  • Test plan


  • swift build succeeds cleanly (no warnings)

  • ./build.sh --open builds and launches the signed app

  • In Settings, confirm the two new recorder rows appear next to the master toggle and are disabled while it's off

  • Turn the toggle on, record ⇧⌘A for mic and ⇧⌘V for camera

  • Join a call, switch focus to another app, confirm ⇧⌘A/⇧⌘V mute the mic and toggle the camera

  • Confirm the local menu shortcuts (⌘D/⌘E) still work as before when MacMeet is frontmost

  • Quit and relaunch, confirm the customized shortcuts persisted
  • 🤖 Generated with Claude Code

    Diff: 171 lines (+128 / -43) across 2 files Reviewer: jsumners-nr Review duration: 2m
    All Vouch review confidence checks passed
    Residual risk 0.33 = Change Risk (0.58) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.58 · 171 lines diff across 2 files
    0.58
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 51% · Reviewer familiarity: 35%
    43%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.308
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.058
    Real PR Conversation Timeline
    1 comments
    "Review active on #1"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.0% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 58.4% (MEDIUM) · Higher = larger blast radius
    58.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 44.0% · Lower = rushed or shallow review
    44.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 32.7% · Safe to merge
    32.7%