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

Clickable, iframe-based thumbnail pattern for page/demo indices #21

Merged
merged 2 commits into from
Apr 22, 2016

Conversation

tylersticka
Copy link
Member

@tylersticka tylersticka commented Apr 22, 2016

This PR adds a new page-item partial, which leverages a new FrameThumb pattern. This displays the pages with an iframe-based thumbnail, similar to CodePen and one of our old bespoke pattern libraries.

The biggest change from our previous implementations of this pattern are that the thumbnail itself is flexible, there's still plenty of room available for text-based descriptions, and loading of actual iframe elements is deferred till the rest of the page has loaded.

Screenshots

Narrow

screencapture-localhost-3000-demos-index-html-1461363791669

Wide

screencapture-localhost-3000-demos-index-html-1461363816010


@mrgerardorodriguez @erikjung @saralohr @nicolemors @aileenjeffries

Closes #8, See #19

Clickable, iframe-based thumbnails (`FrameThumb`)
@gerardo-rodriguez
Copy link
Member

Sweet! 👍

</div>
</div>
<div class="drizzle-Grid-cell drizzle-u-md-size2of3">
<div class="drizzle-u-marginEnds">
Copy link
Contributor

Choose a reason for hiding this comment

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

This reminds me of something that slipped through...

Since this piece of UI seems to occur often, we should have a partial for it: https://github.com/cloudfour/cloudfour.com-patterns/blob/master/src/templates/drizzle/labelheader.hbs

@erikjung
Copy link
Contributor

Clever solution!

Regarding my comment about the partial, we can also do that later if you want to make an issue for it.

LGTM 👍

@tylersticka
Copy link
Member Author

Regarding my comment about the partial, we can also do that later if you want to make an issue for it.

I agree with this feedback and started implementing it, but ran into an immediate snag or two. I'll definitely make an issue.

@tylersticka tylersticka merged commit e510142 into master Apr 22, 2016
@tylersticka tylersticka deleted the feat-frame_thumbs branch April 22, 2016 23:05
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