Skip to content

Simplify SwiftUI views and consolidate shared components, customize ask omi shortcut, resize the answer view, chat with pdf#3527

Merged
beastoin merged 2 commits intomainfrom
rx2kg_omi_mac
Nov 27, 2025
Merged

Simplify SwiftUI views and consolidate shared components, customize ask omi shortcut, resize the answer view, chat with pdf#3527
beastoin merged 2 commits intomainfrom
rx2kg_omi_mac

Conversation

@beastoin
Copy link
Copy Markdown
Collaborator

@beastoin beastoin commented Nov 27, 2025

simplify swiftui views and consolidate shared components and more.

  • customize ask omi shortcut - right-click on the ask omi
  • resize the answer view - top-right corner
  • copy question/answer - right-click on the question/answer
  • chat with pdf files.

demo

Screenshot 2025-11-27 at 20 59 23 Screenshot 2025-11-27 at 20 55 18 Screenshot 2025-11-27 at 20 54 54 Screenshot 2025-11-27 at 20 54 43 Screenshot 2025-11-27 at 21 02 53

deploy

  • deploy omi macos app

#3515 #3500

- Customize ask omi shortkey.

- Resize floating windows.

- Chat with pdf files.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is a significant refactoring that simplifies the SwiftUI views by consolidating the AI conversation UI into the FloatingControlBar. It also introduces new features like customizable shortcuts for 'Ask Omi', window resizing, and the ability to chat with PDF files. The code is well-structured, especially the new additions in FloatingControlBar.swift and GlobalShortcutManager.swift.

My review includes two main points of feedback:

  1. A security/collaboration issue regarding a hardcoded DEVELOPMENT_TEAM ID in the project file.
  2. A bug in the shortcut recording logic that allows setting modifier-only shortcuts.

Overall, this is a great improvement to the codebase. Addressing these points will enhance security and fix a bug in the new shortcut feature.

Comment thread app/macos/Runner.xcodeproj/project.pbxproj Outdated
Comment thread app/macos/Runner/FloatingControlBar.swift
@beastoin beastoin merged commit f6a90ac into main Nov 27, 2025
1 check passed
@beastoin beastoin deleted the rx2kg_omi_mac branch November 27, 2025 14:07
@beastoin beastoin changed the title Simplify SwiftUI views and consolidate shared components and more. Simplify SwiftUI views and consolidate shared components, customize ask omi shortcut, resize the answer view, chat with pdf Nov 27, 2025
@kodjima33
Copy link
Copy Markdown
Collaborator

kodjima33 commented Dec 3, 2025

@beastoin this is bad im sorry

  • changing should be in settings, not right click
  • also, can you disable "ask omi" shortcut IF omi is hidden?

Currently, if I click CMD+RTRN shortcut (while omi is hidden), it still triggers omi. As a user, I don't want "ask omi" to activate IF ITs hidden. I want to be able to HIDE omi with CMD + \ so that I could use CMD + RTRN shortcut in superhuman (ask omi)

Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
…asedHardware#3527)

* Simplify SwiftUI views and consolidate shared components. features:

- Customize ask omi shortkey.

- Resize floating windows.

- Chat with pdf files.

* Reset team
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.

2 participants