Skip to content

feat(swift-ios): start a new thread on the same branch - #6136

Draft
saphid wants to merge 15 commits into
pingdotgg:t3code/rebuild-mobile-app-swiftfrom
saphid:saphid/swiftui-thread-menu-new-same-branch
Draft

feat(swift-ios): start a new thread on the same branch#6136
saphid wants to merge 15 commits into
pingdotgg:t3code/rebuild-mobile-app-swiftfrom
saphid:saphid/swiftui-thread-menu-new-same-branch

Conversation

@saphid

@saphid saphid commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

What Changed

  • add New Thread on Same Branch to thread row menus
  • seed the new-task sheet from the source project, checkout, and branch
  • validate stale or unavailable checkouts and show a useful failure message

Dependency

Stacked on #6135, #6134, and #6117. Review commit 91798e9ab for this feature until those PRs land.

Verification

  • ThreadNewTaskSeedTests and the affected new-task/sidebar suites passed on iOS Simulator after conflict resolution
  • preserved both the fix(swift-ios): make thread swipe actions safe #6117 delete/undo lifecycle and the seeded new-task presentation
  • git diff --check: passed

UI

The row menu opens a prefilled new-task sheet targeting the same branch without mutating the source thread.

Note

Add 'New thread on same branch' action and settle-undo toast to iOS thread sidebar

  • Adds a 'New thread on <branch>' context menu and swipe action that pre-seeds NewThreadView with the source thread's branch and worktree, surfacing specific errors when the branch is unavailable.
  • Introduces a timed settle-undo toast in the sidebar that lets users reopen a just-settled thread and restore its pin/snooze state, auto-expiring after 5s (15s under VoiceOver/Switch Control).
  • Replaces the immediate thread delete action with a confirmation alert before deletion.
  • Adds a dynamic Snooze submenu with time-based presets (1 hour, this evening, tomorrow, next week) and copy-to-clipboard actions for thread path, branch, and ID in the context menu.
  • setSettled, setSnoozed, and setPinned on FeatureRootModel now return Bool indicating mutation success, used by the undo flow to gate toast presentation.

Macroscope summarized 91798e9.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c6d56d21-eb19-437e-9b0d-371805bcf27a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant