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(zoom controls): Restyle zoom controls #1092

Merged
merged 8 commits into from
Nov 5, 2019

Conversation

ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Oct 30, 2019

Updated the zoom controls across Documents, Images, and Plain Text viewers.

TODO:

  • Unit Tests

Document Viewer:
Screen Shot 2019-10-30 at 11 22 50 AM

Plain Text Viewer:
Screen Shot 2019-10-30 at 11 21 56 AM

Image Viewer:
Screen Shot 2019-10-30 at 11 20 43 AM

MultiImage Viewer:
Screen Shot 2019-10-30 at 11 19 26 AM

@ConradJChan ConradJChan requested a review from a team as a code owner October 30, 2019 20:04
@boxcla
Copy link

boxcla commented Oct 30, 2019

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

src/lib/ZoomControls.js Outdated Show resolved Hide resolved
src/lib/ZoomControls.js Show resolved Hide resolved
src/lib/ZoomControls.js Outdated Show resolved Hide resolved
src/lib/ZoomControls.js Outdated Show resolved Hide resolved
src/lib/ZoomControls.js Show resolved Hide resolved
src/lib/ZoomControls.js Show resolved Hide resolved
src/lib/Controls.scss Show resolved Hide resolved
src/lib/icons/zoom_in_16px.svg Outdated Show resolved Hide resolved
src/lib/icons/zoom_out_16px.svg Outdated Show resolved Hide resolved
src/lib/viewers/image/ImageBaseViewer.js Show resolved Hide resolved
src/lib/ZoomControls.js Show resolved Hide resolved
src/lib/ZoomControls.js Show resolved Hide resolved
src/lib/Controls.js Show resolved Hide resolved
src/lib/ZoomControls.js Outdated Show resolved Hide resolved
src/lib/Controls.js Outdated Show resolved Hide resolved
src/lib/icons/zoom_in.svg Show resolved Hide resolved
src/lib/viewers/doc/DocBaseViewer.js Outdated Show resolved Hide resolved
src/lib/viewers/doc/DocBaseViewer.js Outdated Show resolved Hide resolved
src/lib/viewers/doc/DocBaseViewer.js Show resolved Hide resolved
src/lib/viewers/doc/DocBaseViewer.js Outdated Show resolved Hide resolved
src/lib/viewers/image/MultiImageViewer.js Outdated Show resolved Hide resolved
src/lib/viewers/text/TextBaseViewer.js Show resolved Hide resolved
src/lib/viewers/text/TextBaseViewer.js Show resolved Hide resolved
src/lib/viewers/text/__tests__/TextBaseViewer-test.js Outdated Show resolved Hide resolved
jstoffan
jstoffan previously approved these changes Oct 31, 2019
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.

Code changes look good. I think the spacing of each group of controls (page and zoom) looks a little awkward. The buttons seem too far away from the inner content and each group seems too far away from each other.

src/lib/viewers/image/MultiImageViewer.js Outdated Show resolved Hide resolved
@ConradJChan ConradJChan changed the title refactor(zoom controls): Restyle zoom controls feat(zoom controls): Restyle zoom controls Nov 4, 2019
@mergify mergify bot merged commit a9e66bf into box:master Nov 5, 2019
@ConradJChan ConradJChan deleted the zoom-restyle branch November 5, 2019 23:20
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.

6 participants