Goals page mobile: add All/Mine quick-scope toggle in the title row#1995
Merged
psdjungpulzze merged 1 commit intoJul 12, 2026
Conversation
Adds a compact, lg:hidden segmented "All | Mine" pill to the Goals
PageBar right slot, left of the Controls trigger — a one-tap alias over
the existing owner facet (additive; the Owner facet in the Controls menu
/ FiltersPopover and the includeUnassigned toggle are untouched).
- All -> setFilter('owner', OWNER_ALL); Mine -> setFilter('owner', currentUserId).
- Neither segment is active when a third-party teammate / Unassigned owns
the facet, so the pill never misreports scope.
- Mine is only offered when canFilterByMyGoals(currentUserId) is true.
Desktop (lg+) is byte-identical — the pill is lg:hidden and the desktop
rightSlot still renders only addGoalButton.
No agent-visible tool/data change (pure UI alias over an existing filter).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Integration PR for this goal — its tasks commit onto this branch (one PR per goal). Opened automatically by the engine on first push; left as a draft until the goal completes.
Delivery summary
What was built for this goal, assembled for review at delivery time.
Goals page mobile: add All/Mine quick-scope toggle in the title row
Peter wants a quick "All | Mine" scope toggle added to the Goals page (engine-goals-client.tsx), placed in the SAME LINE as the "Goals" page title (the PageBar title row), below lg -- mirroring the pattern Approvals already ships (approvals-client.tsx's "All | Mine" pill row, from G#594/PR#1984), though Approvals renders its All/Mine as a row just below the title rather than inline with it -- confirm the exact placement (truly inline with the "Goals" text vs. immediately below it in the title bar's rightSlot) during scoping/planning, matching whichever reads cleanest at 390px. Today the Goals page's owner-scoping is the fuller "Owner" filter (all / mine / a specific person) plus a separate "Hiding unassigned" toggle, both tucked into the consolidated Controls dropdown per G#592/G#600 (chips now fold into the dropdown, not a separate row). Peter wants a FAST, always-visible All/Mine binary shortcut in the title row in addition to that fuller filter -- clarify during scoping whether this new toggle: (a) is purely a quick-access alias that sets the existing
ownerfilter to "all" or "mine" (current user) directly, leaving the fuller Owner dropdown control (which also supports picking a specific other person) untouched inside the Controls menu, or (b) should replace the Owner facet inside the dropdown entirely. Given Approvals kept its fuller Inbox/Sent/All exclusively as "All/Mine" (no third-party-assignee option), and Goals' Owner filter is richer (can filter to any specific teammate, not just "me"), (a) -- an additional fast toggle, not a replacement -- is the more likely fit; confirm with Peter rather than assuming. Scope: below-lg only; desktop (lg+) must stay byte-identical, consistent with every other goal in this mobile-polish round.Branch:
goal/goals-page-mobile-add-all-mine-quick-scope-toggle-in-the-tit· PR: #1995What shipped
Plan of record
Goals page mobile: add an ADDITIVE below-lg "All | Mine" owner quick-toggle as a slim segmented-pill row just below the "Goals" title. DECOMPOSE outcome: one implementation task spawned (#1983). Desktop (lg+) stays byte-identical.
Acceptance criteria
Review
0 of 3 review finding(s) resolved.
Commits
0142b25b91a41febe6b2315b0396f1f7c3856780…d0adb8ebd08b7f2f5b4c1d077721dae99ba621b0in InteractorOSS/product-manager