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

new preview + share pane #591

Merged
merged 6 commits into from
Aug 18, 2016
Merged

new preview + share pane #591

merged 6 commits into from
Aug 18, 2016

Conversation

nelsonpecora
Copy link
Contributor

@nelsonpecora nelsonpecora commented Aug 18, 2016

  • preview tab with responsive site previews
  • all site previews load in new windows with defined sizes
  • built in a way that allows for new sizes to be added easily in the future
  • old "preview" functionality now in Shareable Link tab
  • updated info text
  • added copy to clipboard button with success/error messages

screen shot 2016-08-18 at 2 52 47 pm

Preview Actions

screen shot 2016-08-18 at 2 52 21 pm

Share Actions

screen shot 2016-08-18 at 2 52 34 pm

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 78.924% when pulling 77eabf8 on preview-review into 4eed990 on master.

_ = require('lodash'),
previewSizes = {
small: { w: 375, h: 660 },
medium: { w: 768, h: 1024 },
Copy link
Contributor

Choose a reason for hiding this comment

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

I think our "medium" screen size in clay is 600? That's what we base our css off of at least

Copy link
Contributor Author

Choose a reason for hiding this comment

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

our breakpoint is 600 (for the most part), but I think the most common "tablet-ish" screen width is 768

Copy link
Contributor

Choose a reason for hiding this comment

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

That's what everyone tells me but it seems like we use them both arbitrarily :\ Another thing on the list of stuff I'd like to standardize across design + dev.

@byronhulcher
Copy link
Contributor

👍

1 similar comment
@gloddy
Copy link
Contributor

gloddy commented Aug 18, 2016

👍

@nelsonpecora nelsonpecora merged commit 0785618 into master Aug 18, 2016
@nelsonpecora nelsonpecora deleted the preview-review branch August 18, 2016 19:27
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

4 participants