-
Notifications
You must be signed in to change notification settings - Fork 22
Reset unsaved warning after getSampleData()
receives data
#606
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
Conversation
datalab
|
Project |
datalab
|
Branch Review |
jdb/fix_iss601
|
Run status |
|
Run duration | 07m 30s |
Commit |
|
Committer | Josh Bocarsly |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
477
|
View all changes introduced in this branch ↗︎ |
@ml-evs , can you deploy this to dev when you get a chance? Would like to test it on a real server with latency, etc. |
b43f7b6
to
fbdc3d2
Compare
Deployed on dev |
fbdc3d2
to
4ff447c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #606 +/- ##
=======================================
Coverage 67.24% 67.24%
=======================================
Files 62 62
Lines 3749 3749
=======================================
Hits 2521 2521
Misses 1228 1228 |
a10c3fd
to
8b5ef72
Compare
…t is reset after the SynthesisInformation watcher fires
8b5ef72
to
ce8b215
Compare
Ok this is ready for review. The approach I took here is just to reset the warning on reload, which is the simplest approach. Note that we still don't clear the store. This may have pluses and minuses that could be considered for other behavior, but the unsaved warning issue seems to be fixed. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #606 +/- ##
=======================================
Coverage 70.28% 70.28%
=======================================
Files 63 63
Lines 4129 4129
=======================================
Hits 2902 2902
Misses 1227 1227 🚀 New features to boost your workflow:
|
getSampleData()
receives data
Simple fix to prevent the annoying bug where the unsaved warning erroneously appears whenever a sample or cell page is loaded a second time without a refresh.
closes #601