-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As described in #3111 it can happen that a frontend can get out of sync due to not echoing back messages from the frontend. Widgets can opt out of this behaviour if it is too costly and/or does not make sense, e.g. the data from the file widget. Fixes #3111 avoid echo/jitter in frontend put jupyter echo behaviour behind a flag minimize diff remove spacing prettier lint fix: handle messages correctly when echoing disabled minimize diff minimize diff fix and test fix test, do not use set (no determinstic order) fix: echos from other clients are not unexpected comment and reformat better variable name Work-in-progress update for echo updates to have their own key in update messages Update protocol description Update js echo logic to handle echo_state key Starts fixing #3392 WIP consolidating logic for property lock. WIP simple reflection immediately on setting state. WIP Remove code about sending echo messages combined with any kernel updates Remove comments and simplify so the final diff is simpler Add debug test runner Experiment making echo updates a separate message Bump widget protocol version number back to 2.1.0 Update no_echo metadata name to echo_update for clarity. Having a negative in the name was confusing to me, so I renamed the property echo_update. Set it to False to disable echos for that attribute.
- Loading branch information
1 parent
045cb0e
commit 56df723
Showing
9 changed files
with
246 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.