-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
Add wizard / progress tracker #1982
Comments
I'd imagine progress trackers to vary wildly in design, and standard tools like buttons, dropdown and navigation lists can work for them. Is there a particular style you think would be useful? Maybe like breadcrumbs, but arrows to the right instead of vertical separating lines? |
I'm not really sure about the best design. I'm not really a UI guy, but I would like to see something that is consistent, and I think the breadcrumbs suggestion has merit. |
One issue is that it's quite difficult to create angular lines without resorting to images (or SVG). Pretty much all of Bootstrap relies on manipulating CSS to get the effects we need, so it could be a problem. Maybe for now, breadcrumbs but with arrows instead of slashes? |
We won't be adding this to Bootstrap, but I do encourage you to create an add-on to the toolkit that enables folks to use this. |
Mark, sorry for reopening, but I'm curious for the reason why not to add it. Today I needed a wizard-like progress component for a sign up form. A wizard-like progress component is a special case of a breadcrumb imho. I just don't see why the breadcrumb component is part of the Bootstrap toolkit, while a wizard progress component will not be. I think of Bootstrap as an abstract toolkit with atomic building blocks for creating clean user interfaces. A wizard progress component looks pretty atomic to me, and very useful to a great part of the users. Example what I made today, extending the breadcrumb functionality (<ul class="breadcrumb wizard">): http://img513.imageshack.us/img513/6143/screenshot20120307at546.png @rizqidjamaluddin what you see in the image above is 100% CSS, no images... |
Can you make a jsfiddle of that? I can't see the image link you posted, imageshack restrictions. |
@rizqidjamaluddin Here's another link. Hopefully you've no Imgur restrictions! http://i.imgur.com/8svSw.png |
@jorgenhorstink I really like the look of what you've done. Can you please stage the css / html somewhere, either a jsfiddle, or a gist |
Hey, that looks really nice. At the very least, make sure you release that as a separate download, please, it could be useful! A jsfiddle would be awesome; I think you should adopt Bootstrap's colors (in particular, the default blue) for the active step, use blue hyperlinks for past steps, and use gray hyperlinks for future steps. Maybe also use gradients like buttons. That would also make it easy to attach icons to them. |
Hello jorgenhorstink, Wizard looks great! Could you share it, I'd love to try it on my current project.? Thanks, |
@jorgenhorstink Just finished porting a 1.4 app to 2.0.2 and have started trying to sort out an easy interface for building some reports within the app, this looks like it would be suitable. Any plans to put the project on github? |
Okey, I'm going to try to put a gist online tomorrow... A great way to cheers On 28 mrt. 2012, at 19:52, j-hernandez
|
+1 for re-opening should be included in BS |
+1 |
You may want to start this issue on kickstrap. I've already got step-wise progress bars. |
@ajkochanowicz thx for your contribution, but I prefer this one : http://i.imgur.com/8svSw.png @ajkochanowicz : is it possible to create this kind of progress bar ? |
It's surely possible. My main goal was to extend bs functionality without bloating it by using something already existing in the interface (progress bar). It may suffice to make your design a mod of the inline flush buttons already included with Bootstrap. I'd imaging all that's needed is a tick mark and some js to keep some of the buttons depressed or have an extra css class for completed steps. I do like the look of those, though. I'm kind of rushing to get KS released elegantly by the 15th so I may not have time yet to add new features, but I'll keep this on the table. |
I really like http://i.imgur.com/8svSw.png, can someone post the source code for that please? |
You can find it over here : http://socialpublish.io/ |
Thanks! |
@jorgenhorstink Looks great. I'd love a gist, but I guess I'll get it from http://socialpublish.io/ |
personally i like this: http://www.dynamicdrive.com/dynamicindex16/formwizard.htm |
@wotaewer : This is great. I think that a small border-radius on the first and last element would be nice too :) |
@MGaetan89: thx for the feedback - good idea - already changed it :) |
@wotaewer Life saver! I adopted your style for ul, work wonders. Many thanks. |
@wotaewer Nice one! You can add the following code to avoid the :hover behavior on the items: |
Thanks a lot guys, saved me a lot of work! I am just starting out on the client but will def contribute more as time goes on. APPRECIATE ALL YOUR HARD WORK in making us catch up to speed. |
@wotaewer and others , Quick question, how can we make these wizards fixed on top? Thanks in advance. |
@wotaewer made a jsfiddle with your wizard as well as including a breadcrumb example to show how the structure is different. while stylistically i do like your wizard, minus the hover.. i think that the markup could be redone so that it more closely resembles the breadcrumb but just extended. also, the use of some of your selectors seem less than desirable from a compatibility standpoint as well as making things more complex than it needs to be. started to do a breadcrumb wizard version and while i can make it look similar you cant make it do the background color for that segment very easily.. thus additional markup is needed to wrap things :( |
👍 Nice Solutions, exactly what i searched within bootstrap, should be added, didn't know why not |
I've got something in the oven for this: https://github.com/gilluminate/Bootstrap-Wizard I'm also attempting to use the CSS suggested by @wotaewer Please help me test it and please contribute! |
I don't think the badges are appropriate for numbering steps. Badges serve a very specific purpose which is to display a count (IMO). I've forked the JSFiddle provided above and cleared out the badges and replaced them with icons (empty stars for incomplete steps, stars for completed steps). Additionally, I've added the chevron to the end of the last step because I prefer it that way, if you don't, just uncomment the only commented line. |
Nice observation @xopher. The bootstrap docs say: "Badges are small, simple components for displaying an indicator or count of some sort." I'm inclined to think that numbering steps is a type of count, albeit a different kind of count than we normally see badges used (like email notification), in that it counts the number of steps. In my plugin mentioned above, I am actually ONLY showing badges when the user is on a phone/portrait size screen and using Bootstrap Responsive. It looks nice, but after your comment, I'm not sure how I feel about it. How would you suggest dealing with smaller sized screens in your jsfiddle contribution other than simply wrapping the steps and eventually stacking them? |
I just looked more closely at your plugin and kudos for making the markup an ordered list. I thought it should be, but didn't want to get too pedantic in my previous comment. Honestly, I didn't give this a lot of thought, I just tinkered with the JSFiddle to get it closer to my preferences. Your responsive version with the badges alone actually looks quite nice, I get it, but using the badge element still feels forced to me. I agree with the OP's suggestion that this should be a variation of pagination, and as such, for a responsive version, I would probably use the typical pager containing only the numbers, add a proper Title to the content of each step, and then add the title of the next/previous steps to the buttons at the bottom. |
@VinceG nice job! On the last example "Multiple wizards" if you click on a tab, an alert says the tab-click is disable, but the current tab is changed anyway. Otherwise it looks like a great tool :) |
@MGaetan89 Thanks! Notice that the event does not return false. If i did return false in that event it won't go to the that tab. This is working as intended. Thanks again. |
I've recently upgraded https://github.com/gilluminate/Bootstrap-Wizard to utilize pager links rather than buttons for the back/next buttons, which seemed more appropriate. I also replaced badges with a slightly modified version of labels, which seemed more appropriate. Screenshot: By The Way, @xopher, if you use an un-ordered list, it will simply leave the numbering off until the responsive kicks in. It gives the developer a choice in a more semantic way. |
This is great, thanks for taking the time to build this!! This definitely should be a component in Bootstrap, a wizard is a very common UI component just as much as other included things are like modal popups. |
@wotaewer: Great job! Just what I was looking for. You saved my day! |
It would be great to have a feature like this out of the box, you saved me a lot of time, thx 👍 |
I created a simple wizard with Twitter Bootstrap. CSS:
HTML:
|
FuelUX has a wizard component, but it does not integrate very easily... IMHO. |
Nice work, I integrated it into my site! +1 for making the wizard a core part of Bootstrap. |
I dont know why I am having issues here. I just want to use the wizard. I include why can't I use the wizard plugin by itself? |
I used LESS to re-create what we have above in this thread originally by wotaewer and made it compatible with the .nav-justified class. You can use it by simply adding the class "nav-wizard" to your element just like you use "nav-pills" or "nav-tabs". Here is the code for anyone interested:
|
@zzullick Awesome! I added support for li.disabled as well (inside &:hover):
|
It worked great for me. I created a github repository with a bower component (for easy installation). Please feel free to submit issues or patches to improve it (it is good enough for me). Repo here: https://github.com/acornejo/bootstrap-nav-wizard Demo here: |
The subverse menu was far off the screen and if you scrolled down too quickly you often scrolled off of it. This change adds 80% height to the menu and makes it scrollable.
It would be great if you could add a progress tracker navigation device to your supported styles / examples.
These are now pretty common place navigation items and I would think that other people would want this too.
I've subverted a 'pager' for this purpose with some custom styles. But it still doesn't feel right.
NB Some more examples
http://www.smashingmagazine.com/2010/01/15/progress-trackers-in-web-design-examples-and-best-design-practices/
The text was updated successfully, but these errors were encountered: