-
Notifications
You must be signed in to change notification settings - Fork 45
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
feat(eventing): Emit new creator_status_change event #588
Conversation
befabaf
to
05ca1b9
Compare
{ | ||
common: { | ||
mode: 'region', | ||
}, | ||
creator: { | ||
status: 'init', | ||
}, | ||
} as AppState, | ||
{ | ||
common: { | ||
mode: 'region', | ||
}, | ||
creator: { | ||
status: 'started', | ||
}, | ||
} as AppState, |
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 think we need to firm up our design for how annotations sdk mode will work with the discoverability feature. Will annotations sdk mode be region
by default? Or will we enable region creation when annotations sdk mode is none
?
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.
Ideally, I think the Annotations SDK mode should be "none" by default and that the mode should determine which creation flow is active, where "none" would continue to mean none. The Preview SDK can then set the mode it desires once the annotator has been initialized.
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 think this makes sense, we've tried to abstract away the funky preview sdk button states from annotations sdk. So from the discoverability perspective, we'll need to initialize Annotations sdk with mode=region and update the FSM to set the annotations sdk mode to region
each time we toggle off the explicit annotation mode.
@ChenCodes this means the logic to turn off pointer-events
in the text layer when in explicit region mode will need to live in preview sdk now
Preview PR: box/box-content-preview#1254