Fix multi user notebook (#5563)
* Detect remote changes to notebook object and re-render entries. Detect changes to tags as well * Do not throw an error when getCurrentUser is called, just return undefined. Code needs a way of testing whether there is a valid user * Support remote sync of annotations for notebook entries * Fix bug in notebook spec that prevented multi-user notebook regression being detected * Fixes edge case where an annotation does not initially exist * Use structuredClone instead of JSON functions. Fix logical error in entry modification attribution. Address magical value Co-authored-by: Scott Bell <scott@traclabs.com>
This commit is contained in:
@@ -88,7 +88,7 @@ export default class ObjectAPI {
|
||||
this.cache = {};
|
||||
this.interceptorRegistry = new InterceptorRegistry();
|
||||
|
||||
this.SYNCHRONIZED_OBJECT_TYPES = ['notebook', 'plan'];
|
||||
this.SYNCHRONIZED_OBJECT_TYPES = ['notebook', 'plan', 'annotation'];
|
||||
|
||||
this.errors = {
|
||||
Conflict: ConflictError
|
||||
|
||||
Reference in New Issue
Block a user