Repository navigation
fix(desktop): make app category menu scrollable with SearchableDropdown - #10093
Conversation
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for tightening this up — reusing the existing SearchableDropdown is a good fit for the long category-list overflow case, and the selection/search path looks consistent with the component’s existing usage.
I did a static review of the Swift diff and the line-count/changelog updates. I don’t see a code-level blocker in the current patch. I’m not formally approving yet because the desktop Swift build/checks are still not fully green in the current PR context, and this UI change still needs the promised manual smoke test: open the Apps/Connect category filter with a long category list, confirm the popover scrolls/searches correctly, and confirm selecting “All Categories” and a specific category refreshes the list as expected.
Once Desktop Swift Build & Tests is green and that UI smoke pass is confirmed, this looks like a good candidate to merge from my side.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
kodjima33
left a comment
There was a problem hiding this comment.
Reviewed by automated PR reviewer — approving; merging once rerun CI is green.
Regression coverage required before mergeThe
Then rebase, rerun current Desktop Swift CI, and record named-bundle UI smoke evidence. This is a Definition-of-Done requirement, not a request to redesign the implementation. |
kodjima33
left a comment
There was a problem hiding this comment.
Desktop bug fix (make app category menu scrollable via SearchableDropdown) — approve only; DIRTY, needs rebase
c0c3680 to
bb815e6
Compare
e243130 to
e814e78
Compare
47c88d2 to
65e7aa0
Compare
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for the update. The SearchableDropdown direction still looks appropriate for fixing the long category-list overflow, and I did not find a new code-level blocker in the current diff.
I’m keeping this as changes-requested because the blocking item from the earlier automation feedback is still unresolved on this head: this user-visible desktop UI path still has no focused regression coverage or recorded UI smoke evidence. Please add/record validation for the long category-list searchable/scrollable picker, category search/filtering, selecting a specific category, and resetting to All Categories, then rerun the Desktop Swift test suite once it finishes/turns green.
I also could not locally compile the Swift here because this runner does not have swiftc/xcrun; I only validated the touched JSON artifacts statically.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
|
@undivisible this looks good to merge on review but has merge conflicts with |
|
Rebased cleanly onto latest Still open from review: named-bundle UI smoke for long category list / search / All Categories. Happy to run that next. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Review feedback addressed (
|
The category filter was a plain Menu, so long category lists (including Integrations and Realtime Notifications) could overflow the screen and hide items. Reuse the existing SearchableDropdown component, which caps height and scrolls, so every category remains reachable. Failure-Class: none Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Failure-Class: none Co-authored-by: Cursor <[email protected]>
Failure-Class: none Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Cursor <[email protected]>
Extract testable category selection and SearchableDropdown filtering helpers, then cover long-list popover path, search/filter, select, and All Categories reset. Co-authored-by: Cursor <[email protected]>
Failure-Class: none Co-authored-by: Cursor <[email protected]>
Category picker on AppsPage exercises SearchableDropdown; wire the component into existing apps-marketplace and apps flow manifests.
|
Rebased onto current This head now includes Leaving unmerged until the changes-requested review is re-checked / cleared. |
…wn (BasedHardware#10093) ## Summary Makes the app category filter in `AppsPage` scrollable by replacing the native `Menu` with the existing `SearchableDropdown` component. This addresses overflow when the category list is long in the Apps/Connect popup. - `desktop/macos/Desktop/Sources/MainWindow/Pages/AppsPage.swift`: `categoryMenu` now uses `SearchableDropdown` with `title`, `label`, `options`, `selectedId`, and `minWidth`. ## Product invariants affected - INV-CHAT-1 - INV-VOICE-1 Failure-Class: none #### Test plan - [x] `xcrun swiftc -parse desktop/macos/Desktop/Sources/MainWindow/Pages/AppsPage.swift` passes. - [x] CI desktop Swift build (Xcode 16.4) passes. - [ ] UI smoke test: open the app "More" menu and confirm the category dropdown scrolls and selecting a category updates the list. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10093?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Summary
Makes the app category filter in
AppsPagescrollable by replacing the nativeMenuwith the existingSearchableDropdowncomponent. This addresses overflow when the category list is long in the Apps/Connect popup.desktop/macos/Desktop/Sources/MainWindow/Pages/AppsPage.swift:categoryMenunow usesSearchableDropdownwithtitle,label,options,selectedId, andminWidth.Product invariants affected
Failure-Class: none
Test plan
xcrun swiftc -parse desktop/macos/Desktop/Sources/MainWindow/Pages/AppsPage.swiftpasses.