Move floating bar toggle to dedicated tab, fix bar sizing#5816
Merged
Move floating bar toggle to dedicated tab, fix bar sizing#5816
Conversation
Move the "Ask omi" toggle from General settings into the Floating Bar tab, rename it to "Show floating bar", and remove the subtext. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Increase the collapsed pill from 4px to 6px height with slightly rounder corners for better visibility and easier hover targeting. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use a dedicated 300px notification width instead of the 430px AI chat width to prevent the floating bar from becoming excessively wide when notifications appear. Also increase collapsed window size from 10px to 14px to match the taller pill. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Greptile SummaryThis PR makes three focused UI improvements to the macOS floating control bar: moves the "Show floating bar" toggle from General settings into the dedicated Floating Bar tab, increases the collapsed pill height for better visibility, and narrows the notification overlay to 300 px instead of the full AI-chat width (430 px).
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Floating bar state] --> B{showingAIConversation?}
B -- Yes --> C[Resize to expandedWidth=430px\nfull AI chat view]
B -- No --> D{currentNotification != nil?}
D -- Yes --> E[Resize to notificationWidth=300px\nheight = expandedBarSize + spacing + notificationHeight]
D -- No --> F{isHovering?}
F -- Yes --> G[Expand to expandedBarSize\n210 × 50 px]
F -- No --> H[Collapse to minBarSize\n40 × 14 px\nshows 28 × 6 px pill]
Last reviewed commit: "Reduce notification ..." |
Glucksberg
pushed a commit
to Glucksberg/omi-local
that referenced
this pull request
Apr 28, 2026
…are#5816) ## Summary - Move "Ask omi" toggle from General settings into the Floating Bar tab, renamed to "Show floating bar" (no subtext) - Make collapsed floating bar pill slightly taller (4px → 6px) for better visibility - Reduce notification width from 430px (AI chat width) to 300px to prevent the bar from becoming excessively wide when notifications appear ## Test plan - [x] Build compiles successfully - [ ] Verify "Show floating bar" toggle appears in Settings > Floating Bar - [ ] Verify toggle is no longer in General settings - [ ] Verify collapsed bar pill is visible and slightly taller - [ ] Verify notifications don't stretch the bar to full chat width 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code