-
Notifications
You must be signed in to change notification settings - Fork 0
chore: sync upstream main #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
5015d7c
fix(web): keep turn minimap stable as composer grows (#6414)
extoci 97db94c
fix(web): keep pull request panel within viewport (#6451)
Bil0000 9513e62
Add bil0000 to VOUCHED contributors list (#6462)
maria-rcks 2ab188f
fix: ignore pull request actions in latency tracker (#6476)
t3-code[bot] 9e20194
Remove rebase requirement before opening PR (#6479)
juliusmarminge fd51561
fix(mobile): extend blockquotes across wrapped lines (#6482)
chrisdeeming 83ad26c
fix(mobile): prevent invalid HTML entities from crashing markdown (#6…
Lucenx9 1b16ed6
fix(web): avoid Clerk close button overlap (#6442)
t3-code[bot] 2fab18e
fix(web): show unlinked icon when viewport aspect ratio is unlocked (…
UtkarshUsername 92d4a2e
fix(web): scope pull request errors to their environment (#6490)
Adamulek123 bad1143
fix(mobile): show a real settings cog in the Android sidebar header (…
paul-vd 23d45d9
fix(web): restore default stage artwork colors (#6535)
t3-code[bot] 5ff3a03
fix(web): align sidebar wordmark label (#6086)
WarheadTaylor 96bfa67
fix(web): align the snoozed thread wake icon (#6215)
RakshithBhat03 db1507e
feat: allow disabling auto-settle on merge (#5880)
t3dotgg 85389b9
Nest mobile task settings in bottom sheets (#6224)
juliusmarminge 5304f3e
chore(mobile): bump app version to 1.0.4
t3-code[bot] 59be6f7
fix(web): simplify the desktop-managed server update banner copy (#6549)
t3dotgg e15f655
fix(web): show background policy tooltips sooner (#6506)
davidhu2000 710fd0e
feat(desktop): add favicons to the Browser panel (#5644)
chrisdeeming 9fd788b
fix(preview): only show browser-ready local servers (#6021)
chrisdeeming 7e01d33
perf(build): stop unpacking node_modules wholesale from the Windows a…
btsouth baaeda3
fix: avoid stale Live Activities when publishing is disabled (#6325)
juliusmarminge 8f9ab08
fix(mobile): add breathing room between the git progress overlay and …
PollyGlot 4a2f8b0
fix(web): keep thread rename open during IME composition (#6281)
MichaelCharles 6ae44b4
refactor(mobile): name the iOS nav bar height fallback (#6589)
PollyGlot b3b4b57
fix(mobile): preserve keyboard suggestions while typing (#6323)
juliusmarminge 21a3669
fix(mobile): prevent OTA update restart crashes (#6324)
juliusmarminge 038560e
fix(web): align every titlebar control cluster on one shared inset (#…
juliusmarminge 184d8ef
fix(mobile): steer active turns by default (#6543)
chrisdeeming e9126a6
chore: sync upstream main
tarik02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| usage() { | ||
| echo "Usage: $0 <ios|android> <device-id> <server-port> <base-dir> [url-scheme]" >&2 | ||
| exit 2 | ||
| } | ||
|
|
||
| [[ $# -ge 4 && $# -le 5 ]] || usage | ||
|
|
||
| platform="$1" | ||
| device_id="$2" | ||
| server_port="$3" | ||
| base_dir="$4" | ||
| url_scheme="${5:-t3code-dev}" | ||
|
|
||
| case "$platform" in | ||
| ios) | ||
| mobile_origin="http://127.0.0.1:${server_port}" | ||
| ;; | ||
| android) | ||
| mobile_origin="http://10.0.2.2:${server_port}" | ||
| ;; | ||
| *) | ||
| usage | ||
| ;; | ||
| esac | ||
|
|
||
| repo_root="$(git rev-parse --show-toplevel)" | ||
| cd "$repo_root" | ||
|
|
||
| if ! pairing_output="$({ | ||
| T3CODE_PORT="$server_port" node apps/server/src/bin.ts auth pairing create \ | ||
| --base-dir "$base_dir" \ | ||
| --base-url "$mobile_origin" \ | ||
| --ttl 15m \ | ||
| --label "agent-mobile-${device_id:0:8}" | ||
| } 2>&1)"; then | ||
| echo "Could not mint a mobile pairing credential." >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| pairing_url="$(printf '%s\n' "$pairing_output" | sed -n 's/^Pair URL: //p' | tail -n 1)" | ||
| if [[ -z "$pairing_url" ]]; then | ||
| echo "Could not parse the mobile pairing URL." >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| deep_link="$(PAIRING_URL="$pairing_url" URL_SCHEME="$url_scheme" node - <<'NODE' | ||
| const query = new URLSearchParams({ | ||
| pairingUrl: process.env.PAIRING_URL, | ||
| autoConnect: "1", | ||
| }); | ||
| process.stdout.write(`${process.env.URL_SCHEME}://connections/new?${query}`); | ||
| NODE | ||
| )" | ||
|
|
||
| case "$platform" in | ||
| ios) | ||
| xcrun simctl openurl "$device_id" "$deep_link" | ||
| ;; | ||
| android) | ||
| # adb shell re-joins its arguments and evaluates them through the device | ||
| # shell, so the deep link's `?`/`&` must be quoted once more for that shell. | ||
| adb -s "$device_id" shell \ | ||
| "am start -W -a android.intent.action.VIEW -d '$deep_link' com.t3tools.t3code.dev" \ | ||
| >/dev/null | ||
| ;; | ||
| esac | ||
|
|
||
| echo "Opened the existing Add Environment route with a fresh pairing credential." | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,3 +38,4 @@ github:jappyjan | |
| github:justsomelegs | ||
| github:UtkarshUsername | ||
| github:SunkenInTime | ||
| github:bil0000 | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the optional scheme is
t3code-previewort3code, this command still explicitly targets the development package, soam startfails if only the requested variant is installed or opens the wrong app if both are present. The variant mapping inapps/mobile/app.config.tsassigns those schemes tocom.t3tools.t3code.previewandcom.t3tools.t3code; derive or accept the package identifier together with the scheme.Useful? React with 👍 / 👎.