Repository navigation
Migration docs: Says badge are dropped #25746
Description
Activity
shouldn't look at alpha docs. current stable docs are here https://getbootstrap.com/docs/4.0/migration/#labels-and-badges
however you're right, seems that part of the migration doc related to some earlier change, does not reflect what 4.0 does (it removed labels in the end, not badges https://getbootstrap.com/docs/4.0/components/badge/)
- addeddocsDocumentation site and its contentDocumentation site and its content
on Mar 1, 2018 Oh I didn't see that I was on the alpha (I blame Google).
This problem has been raised may times before where people get the alpha docs instead of the current docs.
Maybe someone should ask google to remove it altogether, and remove those docs too. Redirect them to the current docs saying that Bootstrap is now stable and to use these docs insteadi'd say the onus is on us to signpost the fact that that doc relates to the alpha, and to refer back to the stable docs/release.
however, in substance the problem is the same even on our stable docs. the migration says badges have been removed, when they haven't.
The v4-alpha docs were so prolifically linked that I felt it important to keep them around. There is a prominent sticky header at the top to point folks to the newer releases, but we can probably do more for that.
@mdo probably expanding the text beyond "there's a new bootstrap version" and more "this documentation refers to an alpha version of bootstrap. please refer to the latest stable release version..." or something
however, back on main topic: any idea about the badge/label thing?
https://getbootstrap.com/docs/4.0/migration/#labels-and-badges
The example doesn't make sense.
Renamed .label to .badge to disambiguate from the element.
Dropped the .badge component as it was nearly identical to labels. Use the .badge-pill modifier together with the label component instead for that rounded look.
What was actually dropped?
.badgeclearly wasn't as it goes on the say "use the badge- modifiers".The old badge component from v3 was dropped and labels were renamed to badges
Correct. Badges are still in and it needs updating. I’ll fix it up.
Reacted by Kevin Ruscoe- added a commit that references this issue
on Jun 27, 2018
I was going through the migration from bs3 to bs4 and found that the migration guide says:
But according to the documentation Badges still exists and tags do not
https://v4-alpha.getbootstrap.com/migration/#labels-badges-and-tags