angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.38k stars 6.75k forks source link

Feature request: Stepper summaries #7216

Open NothingEverHappens opened 7 years ago

NothingEverHappens commented 7 years ago

Bug, feature request, or proposal:

feature request

What is the expected behavior?

I should be able to add a summary like in the screenshot below. https://material.io/guidelines/components/steppers.html

44gxulcvv0t

What is the current behavior?

It's possible to add a summary inside of the label, but it's verbose (need to check for all cases to/hide display) and requires overriding styles.

Happy to send out a PR if there's interest.

jelbourn commented 7 years ago

One thing that would need to be worked out first is the a11y story for this. The stepper presents itself as "tabs" for screen-readers. The summary could potentially just be pointed to by aria-describedby on the step label (a "tab").

Ploppy3 commented 7 years ago

@jelbourn I know it's the first iteration of the stepper but do you plan to correct the visuals of the stepper or should I open an issue for this? (focus, colors, so many things are wrong)

jelbourn commented 7 years ago

@Ploppy3 please open an issue with specifics if you note any bugs

isametal88 commented 6 years ago

Hello, in my use case this feature would be very useful. I wrote my own stepper (based on material specs) to split up a few complex user inputs in sections, and it's very useful to see an uneditable summary of the previous steps while editing the next ones. I'd like to deprecate my own stepper in favour of the "official" one, but this prevents me to do so.

Thank you very much

Isaia

esistgut commented 6 years ago

@isametal88 can you please share your stepper?

isametal88 commented 6 years ago

Well... It's not that I don't want to, I don't know how to :-). I never took the time to learn how to pack a component and make it downloadable outside my project :-P I think it's best for you to wait for this official release ;-)

esistgut commented 6 years ago

If you want to share just push the relevant code on a Gist, as much as I would like to wait for an official release I have deadlines so I would have to develop a custom component anyway.

angular-robot[bot] commented 2 years ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 2 years ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.