Skip to content

feat(highlights): Render staged highlight#553

Merged
ConradJChan merged 8 commits intobox:masterfrom
ConradJChan:render-staged-highlight
Aug 18, 2020
Merged

feat(highlights): Render staged highlight#553
ConradJChan merged 8 commits intobox:masterfrom
ConradJChan:render-staged-highlight

Conversation

@ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Aug 11, 2020

TODO:

  • Unit tests
  • Remove test UI code

Screenshot of rendering staged highlight
render-staged-highlight

@ConradJChan ConradJChan marked this pull request as ready for review August 14, 2020 06:24
@ConradJChan ConradJChan requested a review from a team as a code owner August 14, 2020 06:24
}
setMode(Mode.HIGHLIGHT);
setStatus(CreatorStatus.staged);
setStaged({ target: { location: { value: location, type: 'page' }, shapes, type: 'highlight' } });
Copy link
Collaborator

Choose a reason for hiding this comment

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

Most of this should be handled in something similar to createRegionAction.

@ConradJChan ConradJChan force-pushed the render-staged-highlight branch from a671478 to 8ba5802 Compare August 17, 2020 23:35
jstoffan
jstoffan previously approved these changes Aug 18, 2020
Copy link
Collaborator

@jstoffan jstoffan left a comment

Choose a reason for hiding this comment

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

LGTM other than some minor cleanup

@ConradJChan ConradJChan merged commit 57f5eb4 into box:master Aug 18, 2020
@ConradJChan ConradJChan deleted the render-staged-highlight branch August 18, 2020 18:37
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