feat(mobile): browse and review pull requests natively (#18126)
This commit is contained in:
1 parent
ac2cc78d4a
commit
5495cc4445
153 files changed
+11595
-378
No files matched your search
@@ -1,15 +1,15 @@
|
||||
# Building the mobile Screens dependency
|
||||
|
||||
The mobile v5 stack uses a committed tarball from the
|
||||
[T3 Screens fork](https://github.com/juliusmarminge/react-native-screens/tree/t3-v5.0.0-t3.17).
|
||||
[T3 Screens fork](https://github.com/juliusmarminge/react-native-screens/tree/t3-v5.0.0-t3.24).
|
||||
The fork owns the integration changes; the app does not patch this package.
|
||||
Each archive includes compiled JavaScript, declarations, native source and
|
||||
`t3-fork.json` recording its version, source commit and upstream base.
|
||||
|
||||
To reproduce the current archive with Node 24 and the repository's pinned Yarn:
|
||||
To reproduce an archive, use Node 24 and the repository's pinned Yarn from a
|
||||
clean fork checkout at the source commit recorded in its `t3-fork.json`:
|
||||
|
||||
```sh
|
||||
git clone --branch t3-v5.0.0-t3.17 https://github.com/juliusmarminge/react-native-screens.git /tmp/t3-screens-fork
|
||||
yarn --cwd /tmp/t3-screens-fork pack:t3 /absolute/path/to/t3code/apps/mobile/deps
|
||||
```
|
||||
|
||||
@@ -17,6 +17,7 @@ For an update, sync the fork's `main` with upstream, merge it and the required
|
||||
proposal branches into `t3/main`, increment the `5.0.0-t3.N` version, pin `t3Fork.upstreamCommit` to the
|
||||
integrated upstream SHA and commit.
|
||||
Run `pack:t3` from that clean checkout and tag the source as `t3-v<version>`.
|
||||
Publish the source commit and tag to the fork before submitting the app change.
|
||||
Replace the old archive, update `apps/mobile/package.json` and run `vp i` to
|
||||
regenerate the lockfile. Verify mobile types and affected navigation tests.
|
||||
Changes to native source also require rebuilding and testing the native client.
|
||||
|
||||
@@ -153,6 +153,11 @@ Open **Pull requests** to review changes and comments, request reviewers, check
|
||||
or merge. You can edit review titles and descriptions and your own comments where the host allows it.
|
||||
GitLab calls these merge requests.
|
||||
|
||||
On mobile, **Pull requests** lists reviews across your connected environments. Open a review
|
||||
to read its description, activity, commits, and changed files. Line comments stay as drafts
|
||||
until you submit the review. **Work on PR** opens a chat with the review attached; sending
|
||||
the first message prepares a worktree from the review's branch.
|
||||
|
||||
Enable **Remove agent credits when merging** in Settings → Source Control to remove recognized
|
||||
agent co-author and generated-by lines from GitHub merge and squash commit messages. Human
|
||||
co-authors stay credited. The setting is off by default and projects can override it. It also
|
||||
@@ -227,8 +232,8 @@ in either direction. Forgejo, GitLab, Bitbucket, and Azure DevOps expose no reco
|
||||
server you are connected to keeps them instead: they follow you across the apps connected to that
|
||||
server, but the host's own site will not show them, and the count reads **viewed in T3 Code**.
|
||||
|
||||
The **Code** tab is a web and desktop surface. The mobile app reports a pull request's status but
|
||||
does not show its diff, so marks are made and read on web and desktop.
|
||||
On mobile, open a changed file and mark it viewed from its header. Viewed files collapse,
|
||||
and their marks follow the same rules as on web and desktop.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
Reference in new issue
Block a user