PolymerElements / iron-component-page

A reusable landing page for elements
36 stars 32 forks source link

Add support for multiple demos selectable via paper-dropdown-menu #94

Closed MeTaNoV closed 7 years ago

MeTaNoV commented 8 years ago

This PR fixes the following issue:

MeTaNoV commented 8 years ago

@David-Mulder for you to test! @cdata PTAL! :)

MeTaNoV commented 8 years ago

A live working example can be found here: https://metanov.github.io/iron-swipeable-pages/components/iron-swipeable-pages/

justinfagnani commented 8 years ago

I think that for the docs + 1 demo case this is a UX regression. It's not immediately apparent anymore that there even are demos, since they're hidden in the dropdown.

Without the benefit of a UX designer weighing in, I wonder if we could keep the docs button and have a dropdown only for demos. Even better, IMO, would be keeping a single demo link which then showed the default demo with a menu to choose from additional demos if available.

justinfagnani commented 8 years ago

Also, I'm in the middle of replacing the element/behavior dropdown with a drawer panel. Maybe the demos could be listed there...

MeTaNoV commented 8 years ago

This was a first draft just to test the behavior. I am no UX designer, so yes, It could be presented better. I can test your last option or let you do it! :)

MeTaNoV commented 7 years ago

@justinfagnani any news?

aomarks commented 7 years ago

Closing this PR as the 3.0 RC shows multiple demos in the new nav panel.

demos