-
Notifications
You must be signed in to change notification settings - Fork 171
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
fix(editor): remove error messages when deleting a file #6309
Conversation
#14080 Bundle Size — 62.53MiB (-0.07%).58be8cb(current) vs 916e8b9 master#14078(baseline) Warning Bundle contains 70 duplicate packages – View duplicate packages Bundle metrics
|
Current #14080 |
Baseline #14078 |
|
---|---|---|
Initial JS | 45.66MiB (-0.09% ) |
45.7MiB |
Initial CSS | 0B |
0B |
Cache Invalidation | 22.72% |
21.6% |
Chunks | 30 |
30 |
Assets | 33 |
33 |
Modules | 4380 (+0.02% ) |
4379 |
Duplicate Modules | 519 |
519 |
Duplicate Code | 31.61% |
31.61% |
Packages | 472 |
472 |
Duplicate Packages | 70 |
70 |
Bundle size by type 2 changes
2 improvements
Current #14080 |
Baseline #14078 |
|
---|---|---|
JS | 62.52MiB (-0.07% ) |
62.56MiB |
HTML | 11.06KiB (-0.33% ) |
11.09KiB |
Bundle analysis report Branch fix/remove-errors-on-delete Project dashboard
Generated by RelativeCI Documentation Report issue
...nextEditor, | ||
propertyControlsInfo: updatePropertyControlsOnDescriptorFileDelete( | ||
editor.propertyControlsInfo, | ||
action.filename, | ||
), | ||
} | ||
return removeErrorMessagesForFile(withUpdatedPropertyControls, action.filename) |
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.
We must have been assuming that any other change would trigger a canvas render
**Problem:** We currently clear errors only when a descriptor file is deleted. This can cause syntax errors to remain even after the file that they're in was deleted. **Fix:** Clear errors on every file delete **Manual Tests:** I hereby swear that: - [X] I opened a hydrogen project and it loaded - [X] I could navigate to various routes in Preview mode Fixes #6300
Problem:
We currently clear errors only when a descriptor file is deleted. This can cause syntax errors to remain even after the file that they're in was deleted.
Fix:
Clear errors on every file delete
Manual Tests:
I hereby swear that:
Fixes #6300