[codex] Add notch island floating bar UI#8347
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f67a0b91dd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
10 issues found across 17 files
Confidence score: 2/5
desktop/macos/pi-mono-extension/index.test.tscurrently enforces stripping top-level schema combinators, which weakens validation for agent-control tool inputs and can allow invalid requests to pass as valid. This should be reverted or narrowed so required preconditions remain enforced before merging.- In
desktop/macos/Desktop/Sources/FloatingControlBar/FloatingControlBarView.swift, Ask Omi is gated behind!isHoveringeven though clicking requires hover, so normal user clicks can fail to trigger the action. Fix the hover/click condition and add a UI regression test for notch button interaction before merge. desktop/macos/Desktop/Sources/AudioCaptureService.swiftaccepts override input device IDs during reconfiguration without validating availability, so stale/disconnected IDs can break capture instead of falling back to a usable device. Add validation plus fallback-to-default behavior (with a reconfiguration test) before merging.- Floating-bar state transitions look inconsistent across
desktop/macos/Desktop/Sources/FloatingControlBar/FloatingControlBarWindow.swift,desktop/macos/Desktop/Sources/MainWindow/Pages/SettingsPage.swift, anddesktop/macos/Desktop/Sources/FloatingControlBar/RealtimeHubController.swift, which can force collapsed/incorrect UI states or leave stale indicators after mode changes and barge-in paths. Align resize/show/clear logic with active state and update tests to exercise production transition paths before merge.
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
180fec2 to
103f02b
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 103f02bc6d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
2 issues found across 3 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b6f4a22901
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
3 issues found across 2 files (changes from recent commits).
You’re at about 93% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 22a960db3d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…us colors, show recent agents, shrink panel after glow, add notch pill tap, fix glow height calc
|
Follow-up on the notch-island review comments:
Local verification:
|
|
Addressed the remaining notch agent-pill reachability review comment. Fix:
Verification:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9cf6a55a7f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed the remaining Codex thread for PR #8347. Verification:
No additional code changes were needed in this cron run because the PR branch already contained commit |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6b7280f00e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed the Codex P2 default-device listener feedback. Fix:
Verification: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4e57816583
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed and verified the remaining default-device listener review thread. Current PR head
Verification run locally in Both commands passed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9856797b75
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Resolved the stale notch input panel height thread after re-verifying the current head. Current head
Verification: |
There was a problem hiding this comment.
1 issue found across 4 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d53cf91bdc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Addressed the current trusted-bot review feedback in this PR. What changed:
Verification passed:
|
There was a problem hiding this comment.
1 issue found across 4 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
|
Follow-up fix for the new Cubic P1 comment. What changed:
Verification passed:
|
There was a problem hiding this comment.
1 issue found across 1 file (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
|
Follow-up fix for the new Cubic P2 comment. What changed:
Verification passed:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d1f1b8cbd2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Follow-up fix for the new Codex P2 comment. What changed:
Verification passed:
|
There was a problem hiding this comment.
💡 Codex Review
When Notch Mode is enabled on a notchless/external display, notchModeEnabled is false but topInsetForPillFallback is 4 pt, and other fallback-placement paths use that helper. This PTT path still passes the legacy 40 pt inset, so pressing or releasing PTT on those displays moves the voice bar/pill down to the old position instead of keeping the notch-mode fallback placement; route this through the fallback inset as well.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Adds the notch-island floating bar experience for MacBook displays with a camera housing while preserving the legacy compact pill on notchless monitors.
Highlights:
Review
An independent subagent review was run before publication. It found one blocking issue: adapter binding replacement closed the previous native binding before inserting the replacement. This PR fixes that by wrapping close+insert in a transaction and adds a rollback regression test. It also flagged generated logo fit artifacts; those were excluded from the PR.
Validation
git diff --checkxcrun swift build -c debug --package-path Desktopxcrun swift test -c debug --package-path Desktop --filter FloatingBarNotchTransitionTestsnpm run buildindesktop/macos/agentnpm testindesktop/macos/agent/Applications/omi-notch-mode.appviaOMI_APP_NAME="omi-notch-mode" ./run.sh --yolo, then relaunched it directly.Known local validation gap:
npm testindesktop/macos/pi-mono-extensioncurrently fails before running tests because the package has no declared/installable dependency for@mariozechner/pi-coding-agentin this checkout.