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

Update Storybook docs to use PhosphorIcon instead of Icon #2114

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

jandrade
Copy link
Member

Summary:

This PR updates all the Storybook docs to use the new PhosphorIcon component
instead of the old Icon component.

Issue: XXX-XXXX

Test plan:

Verify that the Chromatic snapshots look correct.

@jandrade jandrade self-assigned this Nov 15, 2023
Copy link

changeset-bot bot commented Nov 15, 2023

🦋 Changeset detected

Latest commit: b2cb021

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

This PR includes changesets to release 1 package
Name Type
@khanacademy/wonder-blocks-cell 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

@khan-actions-bot khan-actions-bot requested a review from a team November 15, 2023 15:28
@khan-actions-bot
Copy link
Contributor

khan-actions-bot commented Nov 15, 2023

Gerald

Required Reviewers
  • @Khan/wonder-blocks for changes to .changeset/flat-pianos-relate.md, .changeset/gentle-hairs-sneeze.md, __docs__/wonder-blocks-accordion/accordion-section.stories.tsx, __docs__/wonder-blocks-cell/compact-cell.argtypes.tsx, __docs__/wonder-blocks-cell/compact-cell.stories.tsx, __docs__/wonder-blocks-cell/detail-cell.stories.tsx, __docs__/wonder-blocks-clickable/accessibility.stories.mdx, __docs__/wonder-blocks-color/swatch.tsx, __docs__/wonder-blocks-dropdown/single-select.stories.tsx, __docs__/wonder-blocks-i18n/i18n-inline-markup.stories.tsx, __docs__/wonder-blocks-icon/accessibility.stories.mdx, __docs__/wonder-blocks-icon/phosphor-icon.argtypes.ts, __docs__/wonder-blocks-popover/popover-content-core.stories.tsx, __docs__/wonder-blocks-switch/switch-best-practices.stories.tsx, __docs__/wonder-blocks-switch/switch.argtypes.tsx, __docs__/wonder-blocks-typography/accessibility.stories.mdx, __docs__/components/gallery/sections/cell-section.tsx, packages/wonder-blocks-cell/src/components/compact-cell.tsx, packages/wonder-blocks-cell/src/components/detail-cell.tsx, packages/wonder-blocks-cell/src/components/__tests__/compact-cell.test.tsx

Don't want to be involved in this pull request? Comment #removeme and we won't notify you of further changes.

Copy link
Contributor

github-actions bot commented Nov 15, 2023

Size Change: -63 B (0%)

Total Size: 92.6 kB

Filename Size Change
packages/wonder-blocks-button/dist/es/index.js 4.26 kB -63 B (-1%)
ℹ️ View Unchanged
Filename Size
packages/wonder-blocks-accordion/dist/es/index.js 3.53 kB
packages/wonder-blocks-banner/dist/es/index.js 1.53 kB
packages/wonder-blocks-birthday-picker/dist/es/index.js 1.69 kB
packages/wonder-blocks-breadcrumbs/dist/es/index.js 1.13 kB
packages/wonder-blocks-cell/dist/es/index.js 2.19 kB
packages/wonder-blocks-clickable/dist/es/index.js 3.23 kB
packages/wonder-blocks-color/dist/es/index.js 1.15 kB
packages/wonder-blocks-core/dist/es/index.js 3.67 kB
packages/wonder-blocks-data/dist/es/index.js 6.33 kB
packages/wonder-blocks-dropdown/dist/es/index.js 12 kB
packages/wonder-blocks-form/dist/es/index.js 5.42 kB
packages/wonder-blocks-grid/dist/es/index.js 1.36 kB
packages/wonder-blocks-i18n/dist/es/index.js 4.54 kB
packages/wonder-blocks-icon-button/dist/es/index.js 3.06 kB
packages/wonder-blocks-icon/dist/es/index.js 3.04 kB
packages/wonder-blocks-labeled-field/dist/es/index.js 72 B
packages/wonder-blocks-layout/dist/es/index.js 1.88 kB
packages/wonder-blocks-link/dist/es/index.js 2.54 kB
packages/wonder-blocks-modal/dist/es/index.js 5.04 kB
packages/wonder-blocks-pill/dist/es/index.js 1.03 kB
packages/wonder-blocks-popover/dist/es/index.js 4.33 kB
packages/wonder-blocks-progress-spinner/dist/es/index.js 1.51 kB
packages/wonder-blocks-search-field/dist/es/index.js 1.53 kB
packages/wonder-blocks-spacing/dist/es/index.js 158 B
packages/wonder-blocks-switch/dist/es/index.js 2.06 kB
packages/wonder-blocks-testing/dist/es/index.js 3.94 kB
packages/wonder-blocks-theming/dist/es/index.js 1.21 kB
packages/wonder-blocks-timing/dist/es/index.js 1.78 kB
packages/wonder-blocks-toolbar/dist/es/index.js 862 B
packages/wonder-blocks-tooltip/dist/es/index.js 5.05 kB
packages/wonder-blocks-typography/dist/es/index.js 1.49 kB

compressed-size-action

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Merging #2114 (b2cb021) into main (7b24db9) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2114      +/-   ##
==========================================
- Coverage   97.06%   97.06%   -0.01%     
==========================================
  Files         243      243              
  Lines       28203    28189      -14     
  Branches     2462     2379      -83     
==========================================
- Hits        27376    27362      -14     
  Misses        827      827              
Files Coverage Δ
...wonder-blocks-cell/src/components/compact-cell.tsx 100.00% <100.00%> (ø)
.../wonder-blocks-cell/src/components/detail-cell.tsx 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

Copy link
Contributor

github-actions bot commented Nov 15, 2023

A new build was pushed to Chromatic! 🚀

https://5e1bf4b385e3fb0020b7073c-lgtxsobvmy.chromatic.com/

Chromatic results:

Metric Total
Captured snapshots 321
Tests with visual changes 18
Total stories 393
Inherited (not captured) snapshots [TurboSnap] 0
Tests on the build 321

Copy link
Contributor

github-actions bot commented Nov 15, 2023

npm Snapshot: Published

🎉 Good news!! We've packaged up the latest commit from this PR (e146f49) and published all packages with changesets to npm.

You can install the packages in webapp by running:

./services/static/dev/tools/deploy_wonder_blocks.js --tag="PR2114"

Packages can also be installed manually by running:

yarn add @khanacademy/wonder-blocks-<package-name>@PR2114

Copy link
Member

@jeresig jeresig left a comment

Choose a reason for hiding this comment

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

Great, thank you!

@jandrade jandrade merged commit ddcb198 into main Nov 15, 2023
12 of 13 checks passed
@jandrade jandrade deleted the phosphor-sb-docs branch November 15, 2023 16:00
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