Repository navigation
fix(web): reset attachment inputs when starting a new conversation - #45554
Merged
Merged
Conversation
Partially backport #44780 to lts/1.17.x for ENG-1415 issue 2. Restore form inputs before switching conversations, recreate file uploaders during reset and on conversation changes, and ignore uploads after their provider unmounts. Include regressions for single and multiple file inputs, input defaults, unsent conversations, conversation switches, StrictMode, and delayed upload callbacks. (cherry picked from commit 430d9af)
WTW0313
marked this pull request as ready for review
November 4, 2026 09:41
WTW0313
requested review from
CodingOnStar,
hyoban,
iamjoel and
zxhlyh
as code owners
November 4, 2026 09:41
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## lts/1.17.x #45554 +/- ##
=============================================
Coverage ? 87.74%
=============================================
Files ? 3795
Lines ? 135921
Branches ? 44047
=============================================
Hits ? 119270
Misses ? 16651
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
FFXN
approved these changes
Nov 4, 2026
wylswz
approved these changes
Nov 4, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Important
Fixes #<issue number>.Summary
Partially backport #44780 to lts/1.17.x for ENG-1415 issue 2. Restore form
inputs before switching conversations, recreate file uploaders during
reset and on conversation changes, and ignore uploads after their
provider unmounts.
Include regressions for single and multiple file inputs, input defaults,
unsent conversations, conversation switches, StrictMode, and delayed
upload callbacks.
Fixes Linear ENG-1415
Screenshots
Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint gods