-
Notifications
You must be signed in to change notification settings - Fork 60
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 embedded crash when opening dialogs #2469
Conversation
Co-authored-by: Colin Diesh <colin.diesh@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #2469 +/- ##
==========================================
+ Coverage 61.15% 61.18% +0.03%
==========================================
Files 539 539
Lines 25072 25076 +4
Branches 5858 5858
==========================================
+ Hits 15332 15343 +11
+ Misses 9422 9415 -7
Partials 318 318
Continue to review full report at Codecov.
|
…from embedded apps (#2469) Co-authored-by: Colin Diesh <colin.diesh@gmail.com>
Are the storybooks sufficient to test if this is still happening? Trying to figure out if I need to include this in #3661 |
I would consider observable arrays in a volatile to be overcomplicating things so I would keep it as is, and it may not be caught by tests (would have to be a component_tests/lgv probably to test the built products) |
It isn't currently like this in desktop or web, do you think that
implementation would work in desktop and web?
…On Thu, Apr 27, 2023 at 10:02 AM Colin Diesh ***@***.***> wrote:
I would consider observable arrays in a volatile to be overcomplicating
things so I would keep it as is, and it may not be caught by tests (would
have to be a component_tests/lgv probably to test the built products)
—
Reply to this email directly, view it on GitHub
<#2469 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAASAFJJH57LYGUT3BARLUDXDKRADANCNFSM5G54RBUA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
ya should be fine to unify across products (either nonobservable.array or observer, nonobserver should be fine though and we can audit usages of observer if it is helpful) |
Fixes #2466
This doesn't update the babel configuration (I tried that without any luck), but changes the code to avoid what is probably a weird bug in babel. It makes the volatile
queueOfDialogs
array not observable, and re-assigns the variable each time it's altered so the volatile's top-level observability is sufficient.Came up with this with @cmdcolin during a pairing.