forked from pingdotgg/t3code
-
Notifications
You must be signed in to change notification settings - Fork 4
sync: port upstream web files, desktop bounds, defaults (#3996–#4244) #182
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
14 commits
Select commit
Hold shift + click to select a range
107f2cc
fix(web): preview workspace images in the file panel (#3996)
Rhiz3K 643f3a8
feat(web): drag files from the explorer into the chat composer (#4140)
yordis 7fab3fc
fix(desktop): preserve main window bounds (#3851)
anirudhsama 2d0f1d1
perf(orchestration): speed up new-chat propagation and offline catch-…
RusiruSadathana 9949567
Finale: upgrade changed files card to fix various UI issues (#4113)
sandersonstabo 88efc8c
Pass CLI OAuth config to hosted web deploy (#4186)
juliusmarminge 54331c4
fix(web): always show environment chip for remote projects (#4217)
t3dotgg 741d1a9
fix(web): keep composer editable while disconnected (#4241)
t3dotgg 5cca76d
fix: better defaults — Claude 1M context, Codex gpt-5.6, worktrees fr…
t3dotgg 4bd87dd
fix(claude): handle all SDK stream messages; stop spurious work-log w…
t3dotgg 00148f9
fix(sync): keep subscribeDomainEvents with latestSequence on L2
cursoragent 36b4732
fix(sync): ignore vendored qrCode formatting drift
cursoragent 81550dd
fix(sync): align Claude Sonnet 5 tests with 200k-default context
cursoragent 23a0d8f
fix(claude): refresh context window when sendTurn switches models
cursoragent 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
Bound the bounds flush so a stalled settings write cannot block quit/relaunch.
flushMainWindowBoundsjoins an in-flight settings file write.handleBeforeQuitalready calledevent.preventDefault(), so if that write stalls the app never reachesshutdown.requestand never quits. Persisting window geometry is best-effort and should not gate shutdown.As per coding guidelines, prioritize "reliability, predictable behavior under load and failures".
🛡️ Proposed fix
const shutdown = yield* DesktopShutdown.DesktopShutdown; const desktopWindow = yield* DesktopWindow.DesktopWindow; - yield* desktopWindow.flushMainWindowBounds; + yield* desktopWindow.flushMainWindowBounds.pipe( + Effect.timeout(MAIN_WINDOW_BOUNDS_FLUSH_TIMEOUT_MS), + Effect.ignore, + ); yield* shutdown.request;📝 Committable suggestion
🤖 Prompt for AI Agents
Source: Coding guidelines