Skip to content
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(controls): Add react version of annotations controls #1291

Merged
merged 6 commits into from
Nov 10, 2020

Conversation

jstoffan
Copy link
Collaborator

@jstoffan jstoffan commented Nov 6, 2020

Todo

  • Unit tests

@jstoffan jstoffan force-pushed the react-ui-annotations branch from 20c12d3 to 57e22ea Compare November 10, 2020 02:27
@jstoffan jstoffan marked this pull request as ready for review November 10, 2020 02:29
@jstoffan jstoffan requested a review from a team as a code owner November 10, 2020 02:29
this.controls.render(
<ImageControls
annotationMode={this.annotationControlsFSM.getMode()}
hasHighlight={false}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we remove this property and set false directly on AnnotationsControls inside ImageControls?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can, but I figured keeping the two settings together was preferable. The has props default to false, anyway.

mxiao6
mxiao6 previously approved these changes Nov 10, 2020
@jstoffan jstoffan merged commit 06c9084 into box:master Nov 10, 2020
@jstoffan jstoffan deleted the react-ui-annotations branch November 10, 2020 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants