Skip to content

feat(highlight): Change cursor when hovering over text#547

Merged
mergify[bot] merged 3 commits intobox:masterfrom
mingzexiao6:cursor-hover-text
Jul 30, 2020
Merged

feat(highlight): Change cursor when hovering over text#547
mergify[bot] merged 3 commits intobox:masterfrom
mingzexiao6:cursor-hover-text

Conversation

@mingzexiao6
Copy link
Contributor

@mingzexiao6 mingzexiao6 commented Jul 29, 2020

Need to merge box/box-content-preview#1239 first

@mingzexiao6 mingzexiao6 requested a review from a team as a code owner July 29, 2020 00:08
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.

We should reconsider our approach to keep things decoupled and reusable.

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, just needs tests.

@jstoffan jstoffan self-requested a review July 30, 2020 01:02
@mingzexiao6 mingzexiao6 marked this pull request as ready for review July 30, 2020 17:08
return this.annotatedEl ? Array.from(this.annotatedEl.querySelectorAll('.page')) : [];
}

handleChangeMode = ({ mode }: { mode: Mode }): void => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

handleModeChange?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I actually followed the naming convention in BaseAnnotator like handleSetVisible and handleSetActive

@mergify mergify bot merged commit e18c6b3 into box:master Jul 30, 2020
@mingzexiao6 mingzexiao6 deleted the cursor-hover-text branch August 13, 2020 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants