Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(swift-ios): copy thread metadata from row menus #8622

Mergedsaphid(GitHub profile, opens in a new tab)merged 7 commits intot3code/rebuild-mobile-app-swift fromrefs/pull/8622/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

SwiftUI thread rows now expose a Copy submenu for Path, Branch when present, and Thread ID. Actions derive their values from one copy context built from the row's current presentation context.

The refresh integrates the submenu with the native parent's current row and context-menu structure.

Verification — 5 September 2026

Head: 5d68355bb30073db809a8d0b6d196360d72a0efe. Refreshed against t3code/rebuild-mobile-app-swift at b99405468a6b2be1e0f67d551ece824b1627e35c.

ThreadCopyActionsTests: 11 passed, 0 failed; the app and test target compiled. Current-build menu and clipboard visual evidence has not been refreshed.

This PR targets the native development branch. Merging it there does not deliver it to main.

Earlier visual evidence

These retained captures show earlier revisions. They have not been recaptured or revalidated against the head above.

Before — no Copy action

After — Copy action collapsed

Copy submenu opened

Before to after comparison

Copy menu interaction

Clean poster

Annotated poster

Clean MP4

Annotated MP4

Play the cropped menu interaction video

Before — full window

After — full window

Before — no Copy action

After — Copy action collapsed

Copy submenu opened

Before to after comparison

Copy menu interaction

Before — full window

After — full window

Tracking issue: https://github.com/saphid/t3code-personal/issues/140.

Repair and review: GPT-6 in Codex, with GPT-5.6 Sol workers. A direct Claude Opus 5 review launch was attempted with high effort but exited 1 because OAuth had expired; no Claude review occurred.

    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      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: ef903f05-804e-4bd3-af8b-4392e9cc1eb9

      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

      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    3. Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

      Fix All in Cursor ❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard/bugbot). Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 05a8d682d2cfdef91cf64cf9e55c2c434976a85e. Configure [here](https://www.cursor.com/dashboard/bugbot).
    4. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Not approved

      Macroscope's review found this PR not approvable — This PR adds a new production thread-row copy workflow, including clipboard writes for workspace paths and thread/environment identifiers, rather than only changing internal structure. It also adjusts environment resolution on an existing path, so the runtime and metadata-handling changes extend beyond test-only coverage.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    5. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      🟡 Medium

      https://github.com/pingdotgg/t3code/blob/c547c85f7183f61b824e03fc5a81ccd1754d4438/apps/swift-ios/Features/Workspace/WorkspaceView.swift#L877

      A whitespace-only thread.environmentID prevents the valid project environment from being resolved, so copyContext.environmentName is nil and the Environment copy action is omitted even though the URL action uses the project environment ID. Normalize thread.environmentID and fall back to project.environmentID when the normalized value is empty.

      No longer relevant as of 41cc809446b595627a638740b6c67bd704f59530

    6. Fixed in 41cc80944: whitespace-only thread environment IDs are normalized and fall back to the owning project's environment. Added coverage for the blank-ID case.

    7. Sorry, I'm unable to act on this request because you do not have permissions within this repository.

    8. saphid(GitHub profile, opens in a new tab)commented

      Maintainers, this is ready for human review and classified direct against live SwiftUI target c49bcc5d8a56324eb0ad9cf1b19d5dcc6ca0caa0. None of the five changed paths overlaps Theo's new commit, and the merge-tree simulation is clean. Head 2cc5a7e28 has green required CI, 10/10 focused native tests, a successful full app/test-target Simulator build, no unresolved review threads, and successful CodeRabbit, Cursor, and Macroscope correctness reviews. The PR body now pins every image to immutable media commit 08c021141 and includes a validated clean/annotated 10.07-second proof pair.

    9. saphid(GitHub profile, opens in a new tab) changed the title

Sign in to join this conversation.