Repository navigation
fix(desktop): replace the tasks "…" menu with a Select button - #12911
nathanchengx wants to merge 2 commits into
Conversation
|
Verified the premise and the wiring before commenting — this is a clean control swap. What I checked, per file:
About the red checks: both failures trace to a single suite, One product note for maintainers: with the menu gone, the Assistant toggle becomes a persistently visible labelled button whenever it is enabled, where it used to be tucked behind "More". That reads as the right call — it matches the toolbar's labelled-button language — and it is a one-line revert if you would rather keep the toolbar minimal. Since the PR is still a draft I'm leaving a signal rather than a formal review — once it is marked ready and the flaky suite re-runs green, this should be a quick human sign-off. AI-generated maintainer feedback posted on behalf of the Omi maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
undivisible
left a comment
There was a problem hiding this comment.
Light CR: Select button instead of … menu is clear UX. Desktop Swift Build/Static still red on tip — please green those (and mark ready out of draft) before re-review/merge.
|
Marked ready for review. The red Desktop Swift checks on this PR come from |
31c709a to
866c91e
Compare
The To-Do toolbar hid "Select tasks…" behind a three-dot More menu, so the most common secondary action on the page took a click, a read and a guess. A labelled Select button in the toolbar says what it does. The task-assistant toggle that shared the menu gets its own labelled button (behind the same chat-enabled flag), and the two unused chip-styled variants of these buttons are removed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01FDiUGZjXHZBEzDQbCqLMeB
`PageQueryActionLabel` takes an optional icon; without one it draws the title by itself instead of collapsing to a glyph. Select uses it, since the word already says everything a checkmark could. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01FDiUGZjXHZBEzDQbCqLMeB
866c91e to
8ffcc21
Compare
|
Rebased onto current |
|
Follow-up on the rebased head (8ffcc21) — first automation pass on the word-alone refinement, so this focuses on what changed since the earlier note on the draft. Verified per file:
Status since the last pass: the PR is ready (no longer draft), and the Desktop Swift suite is fully green on this head — Build & Tests, Release Compile, Static & Test Contracts, and desktop-core-e2e-t0 all pass; the earlier One small nit: the "Carried fix (temporary)" section of the PR description is now obsolete (that commit was dropped in the rebase) — worth pruning so the description matches the branch. For the re-review: both asks from the earlier change request — green Desktop Swift checks and ready-out-of-draft — are satisfied on this head. The direction was already endorsed there, so this should be a quick sign-off. AI-generated maintainer feedback posted on behalf of the Omi maintainers. Leaving the formal approval with the human re-review already in flight. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Keeping this open. Not approving — Astar, on behalf of @aryanorastar |
What changed and why
The To-Do page toolbar hid "Select tasks…" behind a three-dot More menu, so the page's most common secondary action took a click, a read, and a guess. The menu is replaced by a Select button, the word alone with no glyph, drawn with the toolbar's existing
PageQueryActionLabel(which now takes an optional icon), shown whenever there are tasks to select. The task-assistant toggle that shared the menu keeps its flag gate (TaskAgentSettings.isChatEnabled) and becomes its own labelled Assistant button. Two unused chip-styled variants of these buttons that were never mounted are removed.Carried fix (temporary)
Rebased onto current
mainand carrying the one-commit fix from #12932 (Vision OCR language query via the request instance) so the Desktop Swift checks can run past the deprecation error that has brokenmainsince #12888 (#12931). It is byte-identical to #12932; once that merges, a rebase drops it from this PR automatically. This PR does not otherwise touch Rewind.Product invariants affected
MainWindow/Pages/TasksPage.swift; the toolbar action changed, no navigation or destination routing)How it was verified
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift build -c debugindesktop/macos/Desktop→ Build complete, no warnings inTasksPage.swift; pinned swift-format lint cleanomi-todo-select-button, signed in against the dev backend): the To-Do toolbar showsTo Do ▾on the left andSelect+New Taskon the right, no three-dot menu. Window screenshot taken.toggleMultiSelectMode()the menu item called, and the multi-select toolbar (Cancel / Delete) it hands off to is unchanged.Tests
No test change. The change is a toolbar control swap with no new logic; both actions were already reachable through the same view-model calls, and the accessibility identifier
tasks-select-toggleis now the mounted control for automation.Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code
https://claude.ai/code/session_01FDiUGZjXHZBEzDQbCqLMeB