-
Notifications
You must be signed in to change notification settings - Fork 10
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
bjorn/cnx-1111-switching-documents-does-not-invalidate-active-connector #528
bjorn/cnx-1111-switching-documents-does-not-invalidate-active-connector #528
Conversation
…ng-documents-does-not-invalidate-active-connector
@oguzhankoral we're now polling in two places (😢):
Thoughts? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #528 +/- ##
=======================================
Coverage 15.86% 15.86%
=======================================
Files 238 238
Lines 4720 4720
Branches 578 578
=======================================
Hits 749 749
Misses 3941 3941
Partials 30 30 ☔ View full report in Codecov by Sentry. |
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.
I would handle doc switch on DocumentStore
and call LoadState
, it should ideally trigger refreshing the state
…ng-documents-does-not-invalidate-active-connector
…nvalidate-active-connector
Description & motivation
Changes:
CsiDocumentModelStore
to detect changes in theModelFilename
. A change indicates a new model at which point we reload.Screenshots:
Before Changes
See video in CNX-1111.
After Changes
Reloading.Plugin.mp4
Checklist: