Skip to content

Commit

Permalink
Add documentation to progress indicators
Browse files Browse the repository at this point in the history
Closes #148

Co-authored-by: Ben Sheldon <[email protected]>
  • Loading branch information
lkogler and bensheldon committed Dec 17, 2019
1 parent 3fbce1c commit a7b7e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/cfa/styleguide/pages/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<%= render 'section', title: 'Tab bar', example: 'molecules/tab_bar' %>
<%= render 'section', title: 'Flash messages', example: 'molecules/flash_messages' %>
<%= render 'section', title: 'Example Group', example: 'molecules/example_group' %>
<%= render 'section', title: 'Progress indicator', example: 'molecules/progress_indicator' %>
<%= render 'section', title: 'Progress step bar', example: 'molecules/progress_step_bar' %>
<%= render 'section', title: 'Progress indicator', example: 'molecules/progress_indicator', explanation: 'The progress indicator shows the user how much of a flow they have completed. It helps set time expectations, as well as giving a sense of progress. Use this if you have a flow of more than a few pages, or when users won’t be able to guess how long a flow is. The indicator may be used alone, or in conjunction with the <a href="#molecules-progress_step_bar">step bar</a>. The indicator is the more granular of the two, ticking forward on an individual page basis.' %>
<%= render 'section', title: 'Progress step bar', example: 'molecules/progress_step_bar', explanation: 'The step bar shows users which steps they have completed, and what’s coming up. It serves a similar purpose to the <a href="#molecules-progress_indicator">progress indicator</a>, but it deals with sections rather than individual pages. Use this if your flow has defined steps or sections. It helps users mentally prepare for the section they’re about to start.' %>
<%= render 'section', title: 'Reveal', example: 'molecules/reveal' %>
<%= render 'section', title: 'Accordion', example: 'molecules/accordion' %>
<%= render 'section', title: 'Show More', example: 'molecules/show_more' %>
Expand Down

0 comments on commit a7b7e9b

Please sign in to comment.