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(docviewer): Toggle find bar control #1088

Merged
merged 2 commits into from
Nov 6, 2019

Conversation

ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Oct 24, 2019

Screen Shot 2019-10-24 at 4 22 01 PM

And don't worry about the consistency with the zoom in/out icons because they'll be changing

@ConradJChan ConradJChan requested a review from a team as a code owner October 24, 2019 23:22
@boxcla
Copy link

boxcla commented Oct 24, 2019

Verified that @ConradJChan has signed the CLA. Thanks for the pull request!

@mickr
Copy link
Contributor

mickr commented Oct 25, 2019

I think this may need to be rebased

@ConradJChan ConradJChan changed the title feat(doc): Toggle find bar control feat(docviewer): Toggle find bar control Oct 29, 2019
jstoffan
jstoffan previously approved these changes Oct 31, 2019
src/lib/icons/search_16px.svg Outdated Show resolved Hide resolved
src/i18n/en-US.properties Outdated Show resolved Hide resolved
src/lib/viewers/doc/DocFindBar.js Outdated Show resolved Hide resolved
* @return {boolean}
*/
isFindDisabled() {
const canDownload = checkPermission(this.options.file, PERMISSION_DOWNLOAD);
Copy link
Contributor

Choose a reason for hiding this comment

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

very minor: I think the intention with this const is to be more readable so I would probably add the negation in the const creation and name it as such.

@ConradJChan ConradJChan merged commit 1cca56c into box:master Nov 6, 2019
@ConradJChan ConradJChan deleted the find-icon-toolbar branch November 6, 2019 18:12
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.

None yet

5 participants