-
Notifications
You must be signed in to change notification settings - Fork 0
chore: sync upstream main #127
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
39 commits
Select commit
Hold shift + click to select a range
cad2c93
feat: multi-provider pull requests page with in-app reviews (#4849)
Bil0000 8de0aa2
perf(desktop): probe the Windows shell environment concurrently (#5878)
tsouth89 b91a000
feat(web): add duplicate action to the T3 Code default theme (#6013)
UtkarshUsername 0a7c662
fix(web): improve built-in theme contrast (#6000)
chrisdeeming 1b120f3
fix(ci): extend release publish timeout (#6034)
t3-code[bot] 428d9f9
Allow Android tablets to rotate (#5613)
juliusmarminge a7b0366
fix(web): account for Windows window controls in PR page header (#6049)
UtkarshUsername 9afef94
feat: add three-hour snooze option (#5914)
Noojuno e5c82d7
fix(mobile): keep chat composer above the Android gesture bar (#5988)
PollyGlot 2ea51bd
fix(server): OpenCode model parsing drops models with a slash in the …
arhxam 59d0c92
fix(web): persist sidebar shelf collapse state (#5136)
PixPMusic f973097
perf(web): skip base64 for oversized image candidates (#5220)
tarik02 1fa315e
fix(server): skip Linux libc detection on Windows/macOS (#5354)
bkntr c14bcca
fix(server): advertise 256-color TERM on Windows terminals (#5693)
yassiEmp 9c7622d
fix(server): handle unborn HEAD in VCS status (#5944)
t3-code[bot] f5fce74
fix(pull-requests): route self-hosted GitLab remotes (#6061)
GuilhermeVieiraDev 752acbf
feat: add ability to create a new thread in the current project with …
UtkarshUsername 65b005f
feat(web): add Copy Thread ID to the sidebar and chat header thread c…
UtkarshUsername 6676f9c
fix(mobile): stabilize thread composer and interactions (#5986)
juliusmarminge c842c6f
Add hourly past-24-hour usage view (#6170)
juliusmarminge 3da7f9c
fix(mobile): guard App Store release versions (#6177)
juliusmarminge ac4780f
fix(web): restore typography font sizes to defaults (#6172)
StiensWout b30a9bc
feat(web): make environment artwork theme aware (#6183)
juliusmarminge 6befe42
fix(shared): normalize a bare Windows drive root the same as C:\ / C:…
arhxam 220e573
fix(shared): detect Azure DevOps SSH remotes (ssh.dev.azure.com) (#6187)
arhxam 44621c3
feat(web): add back buttons for the pull requests and usage pages in …
UtkarshUsername 1e355a2
fix(web): render dropdowns above toasts (#6165)
Brechard 57b1052
fix(web): thread error banner dismiss survives reconnect and rerender…
myacoub91 3517201
fix(web): use a clearer pull action icon (#6194)
extoci 083fa4a
feat(web): use OKLCH for theme palettes (#6036)
StiensWout 2db0845
fix(web): use upload icon for disabled push action (#6207)
t3-code[bot] f0b57ca
feat(web): add Open VSX theme search (#5654)
t3-code[bot] c196f42
fix(web): clean up composer resize animation (#6209)
extoci 52e5a75
feat(web): compact sidebar footer actions (#6210)
maria-rcks 560d4a4
fix(web): keep sidebar wordmark visible at minimum width (#6246)
extoci d37a9b0
feat(mobile): add thread title regeneration (#6253)
chrisdeeming 63e6fae
chore: add dara to vouched (#6259)
maria-rcks 5a84614
fix(web): align the composer model picker (#6252)
t3-code[bot] 8b4233a
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,3 +37,4 @@ github:shivamhwp | |
| github:jappyjan | ||
| github:justsomelegs | ||
| github:UtkarshUsername | ||
| github:SunkenInTime | ||
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
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
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,80 @@ | ||
| const { withMainActivity } = require("expo/config-plugins"); | ||
|
|
||
| // The top-level `orientation: "portrait"` writes android:screenOrientation="portrait" | ||
| // into the manifest, which locks every Android device — including tablets — to | ||
| // portrait. iOS doesn't have this problem: iPads must support all orientations | ||
| // because the app is multitasking-capable, so only iPhones end up portrait-only. | ||
| // Mirror that split on Android: keep the manifest lock for phones and lift it at | ||
| // runtime on tablets (smallest width >= 600dp, the standard tablet breakpoint), | ||
| // since requestedOrientation set at runtime overrides the manifest value. | ||
| // FULL_USER allows all four orientations while still respecting the user's | ||
| // auto-rotate lock, matching iPad behavior. Foldables change | ||
| // smallestScreenWidthDp on fold/unfold without recreating the activity | ||
| // (smallestScreenSize is in the manifest's configChanges), so the policy is | ||
| // re-evaluated in onConfigurationChanged: unfolding past the tablet breakpoint | ||
| // unlocks rotation, and folding back restores the portrait lock. | ||
|
|
||
| const ORIENTATION_METHODS = ` | ||
| // Applied in onCreate and re-applied on fold/unfold; added by | ||
| // withAndroidTabletOrientation. | ||
| override fun onConfigurationChanged(newConfig: Configuration) { | ||
| super.onConfigurationChanged(newConfig) | ||
| applyTabletOrientation() | ||
| } | ||
|
|
||
| private fun applyTabletOrientation() { | ||
| requestedOrientation = if (resources.configuration.smallestScreenWidthDp >= 600) { | ||
| ActivityInfo.SCREEN_ORIENTATION_FULL_USER | ||
| } else { | ||
| ActivityInfo.SCREEN_ORIENTATION_PORTRAIT | ||
| } | ||
| } | ||
| `; | ||
|
|
||
| const ORIENTATION_ON_CREATE_CALL = ` | ||
| applyTabletOrientation()`; | ||
|
|
||
| function insertAfter(contents, anchor, insertion, description) { | ||
| const index = contents.indexOf(anchor); | ||
| if (index === -1) { | ||
| throw new Error( | ||
| `withAndroidTabletOrientation: could not find ${description} in MainActivity — the Expo template changed; update the plugin anchors.`, | ||
| ); | ||
| } | ||
| const end = index + anchor.length; | ||
| return contents.slice(0, end) + insertion + contents.slice(end); | ||
| } | ||
|
|
||
| module.exports = function withAndroidTabletOrientation(config) { | ||
| return withMainActivity(config, (nextConfig) => { | ||
| let contents = nextConfig.modResults.contents; | ||
| if (nextConfig.modResults.language !== "kt") { | ||
| throw new Error("withAndroidTabletOrientation: MainActivity must be Kotlin."); | ||
| } | ||
| if (contents.includes("SCREEN_ORIENTATION_FULL_USER")) { | ||
| return nextConfig; | ||
| } | ||
|
|
||
| contents = insertAfter( | ||
| contents, | ||
| "import android.os.Bundle", | ||
| "\nimport android.content.pm.ActivityInfo\nimport android.content.res.Configuration", | ||
| "the android.os.Bundle import", | ||
| ); | ||
| contents = insertAfter( | ||
| contents, | ||
| "class MainActivity : ReactActivity() {", | ||
| ORIENTATION_METHODS, | ||
| "the MainActivity class declaration", | ||
| ); | ||
| contents = insertAfter( | ||
| contents, | ||
| "super.onCreate(null)", | ||
| ORIENTATION_ON_CREATE_CALL, | ||
| "the super.onCreate call", | ||
| ); | ||
|
|
||
| nextConfig.modResults.contents = contents; | ||
| return nextConfig; | ||
| }); | ||
| }; |
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.
The
publish_clijob is explicitly disabled withif: falseat line 782, so its result is alwaysskipped, neversuccess. Requiringneeds.publish_cli.result == 'success'therefore skips the GitHub release job for every stable, nightly, and canary run, preventing release artifacts from being published; keep the release independent of this fork-disabled job or explicitly accept a skipped result.AGENTS.md reference: AGENTS.md:L7-L7
Useful? React with 👍 / 👎.