feat(mobile): native iOS segmented control for My Issues scope switcher (MUL-3402)#4270
Open
voska wants to merge 1 commit into
Open
feat(mobile): native iOS segmented control for My Issues scope switcher (MUL-3402)#4270voska wants to merge 1 commit into
voska wants to merge 1 commit into
Conversation
Replace the custom outline-pill row (Assigned / Created / Agents) with the native UISegmentedControl (@react-native-segmented-control, already a dep). Brings the authentic iOS connected-segment look + sliding selection animation + the system selection haptic on change — none of which the hand-rolled pills had. Appearance follows the app color scheme for dark mode.
|
@voska is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
4 tasks
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.
What does this PR do?
Replaces the custom outline-pill row in the My Issues scope switcher (Assigned / Created / Agents) with the native iOS
UISegmentedControl(@react-native-segmented-control, already a dependency).This brings the authentic iOS connected-segment look, the native sliding-selection animation, and the system selection haptic on change — none of which the hand-rolled pills had.
Related Issue
N/A — native-feel polish; no tracking issue.
Closes #
Type of Change
Changes Made
app/(app)/[workspace]/(tabs)/my-issues.tsx—ScopeToolbarnow renders<SegmentedControl>instead of a row of outline<Button>pills; appearance follows the app color scheme for dark mode. Net −3 lines (the native control replaces hand-rolled markup).How to Test
Checklist
pnpm typecheckpasses; verified manually in the iOS SimulatorAI Disclosure
AI tool used: Claude Code
Prompt / approach: Identified the hand-rolled pills as a non-native pattern during a native-feel review, then swapped to the already-installed native
UISegmentedControl. Verified before/after + the slide animation in the iOS Simulator.Screenshots
Before (custom pills) / after (native segmented control):

Sliding-selection clip: native-segmented-slide.mp4