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

feat: introduce badges addon for storybook #895

Merged
merged 3 commits into from
Mar 16, 2022
Merged

Conversation

jinlee93
Copy link
Contributor

@jinlee93 jinlee93 commented Mar 15, 2022

Summary:

Test Plan:

  • Example story to show usage, to be removed before merge?

@jinlee93 jinlee93 requested a review from a team March 15, 2022 19:17
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size-limit report

Path Size
components 72.4 KB (0%)
styles 4.47 KB (0%)

},
beta: {
...defaultBadgesConfig[BADGE.BETA],
tooltip: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could we remove the tooltips for now, until we find a use for them? 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm down for removing the tooltips, mostly to show configuration possibility


const Example = () => <p>Example to show badges addon</p>;

export default {
Copy link
Contributor

@anniehu4 anniehu4 Mar 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this mostly for internal documentation? Would suggest naming it title: "Documentation/BadgesAddon" (or once we merge with next, adding to one of the comprehensive docs files there)

oh derp just saw your comment -- removing before merge also works

@codecov
Copy link

codecov bot commented Mar 16, 2022

Codecov Report

Merging #895 (324914d) into main (223fbf1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #895   +/-   ##
=======================================
  Coverage   95.85%   95.85%           
=======================================
  Files         143      143           
  Lines        1134     1134           
  Branches      171      171           
=======================================
  Hits         1087     1087           
  Misses         46       46           
  Partials        1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 223fbf1...324914d. Read the comment docs.

@bradfrost
Copy link
Contributor

@jinlee93 This is awesome, thanks! When you feel good about this (looks like there's a little cleanup), would you mind also getting this setup into next as well? That way we can have it all set up and be able to manage things the other way (alpha! beta! stuff like that!). This is super cool.

@jinlee93 jinlee93 merged commit 156fa72 into main Mar 16, 2022
@jinlee93 jinlee93 deleted the jlee/storybookBadgesAddon branch March 16, 2022 16:06
dierat pushed a commit that referenced this pull request Apr 5, 2022
* feat: introduce badges addon for storybook

* chore: remove badge tooltip config

* chore: remove temp example story
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants