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

Icon: Update stories to correctly pass description to components #577

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

brentswisher
Copy link
Contributor

The PharosIcon stories currently have a description argument but it was not actually being passed to the story components, so it is not rendered into the stories. This fixes that.

This change: (check at least one)

  • Adds a new feature
  • Fixes a bug
  • Improves maintainability
  • Improves documentation
  • Is a release activity

Is this a breaking change? (check one)

  • Yes
  • No

Is the: (complete all)

  • Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
  • Test suite(s) passing?
  • Code coverage maximal?
  • Changeset added?
  • Component status page up to date?

What does this change address?
While working on #467 a group of pharos maintainers discovered that the current icon Storybook stories were broken, and decided to fix them before continuing.

How does this change work?
Correctly passes the description arguments to the story components

The stories have a description argument but it was not
actually being passed to the story components
@changeset-bot
Copy link

changeset-bot bot commented Aug 4, 2023

🦋 Changeset detected

Latest commit: 97dac28

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@ithaka/pharos Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2023

size-limit report 📦

Path Size
packages/pharos/lib/index.js 47.06 KB (0%)

@daneah daneah changed the title Update PharosIcon stories to correctly pass description to components Icon: Update stories to correctly pass description to components Aug 4, 2023
@brentswisher brentswisher merged commit c1873e3 into develop Aug 4, 2023
7 checks passed
@brentswisher brentswisher deleted the bugfix/icon-story-missing-description branch August 4, 2023 20:56
@github-actions github-actions bot mentioned this pull request Aug 11, 2023
daneah added a commit that referenced this pull request Aug 20, 2023
* develop:
  fix(storybook): remove TypeScript watch from commands (#582)
  chore: version packages (#581)
  Menu: add onBackground variant (#576)
  Infra: update Yarn scripts (#579)
  Icon: Update stories to correctly pass description to components (#577)
daneah added a commit that referenced this pull request Aug 20, 2023
* release/13.0.0:
  fix: update incorrect imports
  fix(storybook): remove TypeScript watch from commands (#582)
  chore: version packages (#581)
  Menu: add onBackground variant (#576)
  Infra: update Yarn scripts (#579)
  Icon: Update stories to correctly pass description to components (#577)
daneah added a commit that referenced this pull request Aug 20, 2023
* release/13.0.0:
  fix: update incorrect imports
  fix(storybook): remove TypeScript watch from commands (#582)
  chore: version packages (#581)
  Menu: add onBackground variant (#576)
  Infra: update Yarn scripts (#579)
  Icon: Update stories to correctly pass description to components (#577)
sirrah-tam pushed a commit to sirrah-tam/pharos that referenced this pull request Dec 1, 2023
…aka#577)

* fix(icon): pass description correctly to stories

The stories have a description argument but it was not
actually being passed to the story components

* chore(icon): add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants