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

[Feature Request] Horizontal Steppers #29

Closed
Daeluse opened this issue Jul 29, 2016 · 7 comments
Closed

[Feature Request] Horizontal Steppers #29

Daeluse opened this issue Jul 29, 2016 · 7 comments
Assignees
Milestone

Comments

@Daeluse
Copy link

Daeluse commented Jul 29, 2016

Feature Request For Horizontal Steppers

Spec Sheet - https://material.google.com/components/steppers.html#steppers-types-of-steppers

What is the expected behavior?

Instead of leveraging the behavior of Material Lists, leveraging or extending the behavior of Material Tabs will provide a Horizontal Stepper which displays progress stacked on top of current step content in a column fashion rather than a row. Switching between steps would have some sort of 'swiping' animation and would emit the same events currently emitted by the vertical stepper.

What is the motivation / use case for changing the behavior?

Horizontal Steppers provide a much better user experience for wizards because they keep content above the fold and display progress before content. They also have better reaction to Wide Screen sizes.

What would you like to see in addition to expected behavior?

Development would be greatly simplified if a path towards switching between horizontal and vertical on the fly could be made for when the desktop layout turns to mobile.

@gnomeontherun
Copy link
Contributor

I think its a great request. We've got a few other priorities to tackle first, but I wanted to acknowledge that this will stay on our radar.

@kyleledbetter
Copy link
Contributor

Yeah totally agree, good request @Daeluse thx!

@kyleledbetter
Copy link
Contributor

Just so we can see w/o having to click to spec:

image

image

image

@kyleledbetter
Copy link
Contributor

I think it would be nice to have these two attributes/settings:

  1. An attribute to force horizontal always
  2. An attribute to change from vertical to horizontal on responsive breakpoints (using our media query service?)

@emoralesb05
Copy link
Contributor

Yes, i was kinda thinking already in my mind to just add an input property that changes the stepper from vertical to horizontal depending on a value (boolean, enum or whatever). Leveraging our MediaService without actually depending on it.

@kyleledbetter kyleledbetter added this to the Alpha 0.8 milestone Aug 30, 2016
@emoralesb05
Copy link
Contributor

emoralesb05 commented Sep 17, 2016

Design mock for horizontal stepper:
image
vs vertical stepper:
image

Starting to work on the code design and implementation, but might have to re-think how the stepper works internally to be able to handle both horizontal and vertical modes in the same component without too much complexity and easy to maintain.

We will try and keep the same component consumption since we like it that way.

Ideally, we would want to add just a mode input in <td-steps> so it could be changed on the fly.

Edit:

9/18/2016: New stepper mocks.

@emoralesb05 emoralesb05 self-assigned this Sep 17, 2016
@emoralesb05
Copy link
Contributor

Added with #95.

Its a first draft on horizontal vs vertical stepper with the new [mode] input in td-steps.

emoralesb05 pushed a commit that referenced this issue Jul 23, 2019
chore(): add demo app to test code-editor
emoralesb05 pushed a commit that referenced this issue Jul 25, 2019
)

* fixed typos

* added echarts to peerDependencies

* added echarts peerDependencies

* docs(): tweak
kriswinbush pushed a commit to kriswinbush/covalent that referenced this issue Feb 20, 2020
chore(): add demo app to test code-editor
kriswinbush pushed a commit to kriswinbush/covalent that referenced this issue Feb 20, 2020
…eradata#29)

* fixed typos

* added echarts to peerDependencies

* added echarts peerDependencies

* docs(): tweak
kriswinbush pushed a commit to kriswinbush/covalent that referenced this issue Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants