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

[ssradapterrename] Rename ssr to renderState #2305

Merged
merged 9 commits into from
Aug 27, 2024
Merged

Conversation

somewhatabstract
Copy link
Member

Summary:

This renames the ssr test harness adapter to renderState to more accurately reflect its purpose.

Issue: XXX-XXXX

Test plan:

yarn test
yarn typecheck
yarn start:storybook and check the docs referencing this look right under Wonder Blocks Testing.

@somewhatabstract somewhatabstract self-assigned this Aug 26, 2024
@somewhatabstract somewhatabstract requested a review from a team August 26, 2024 22:06
Copy link

changeset-bot bot commented Aug 26, 2024

🦋 Changeset detected

Latest commit: aff8a35

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-testing Major

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 August 26, 2024 22:06
@khan-actions-bot
Copy link
Contributor

khan-actions-bot commented Aug 26, 2024

Gerald

Required Reviewers
  • @Khan/wonder-blocks for changes to .codecov.yml, .changeset/good-pandas-attack.md, __docs__/wonder-blocks-testing/exports.harness-adapters.mdx, __docs__/wonder-blocks-testing/types.test-harness-adapters.mdx, __docs__/wonder-blocks-testing/types.test-harness-configs.mdx, config/jest/test.config.js, packages/wonder-blocks-testing/src/harness/adapters/index.ts, packages/wonder-blocks-testing/src/harness/adapters/render-state.tsx, packages/wonder-blocks-testing/src/harness/adapters/__tests__/render-state.test.tsx, packages/wonder-blocks-testing/src/harness/adapters/__tests__/__snapshots__/render-state.test.tsx.snap

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 Aug 26, 2024

npm Snapshot: Published

🎉 Good news!! We've packaged up the latest commit from this PR (7d58687) 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="PR2305"

Packages can also be installed manually by running:

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

Copy link
Contributor

github-actions bot commented Aug 26, 2024

A new build was pushed to Chromatic! 🚀

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

Chromatic results:

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

Copy link
Contributor

github-actions bot commented Aug 26, 2024

Size Change: +1 B (0%)

Total Size: 96.1 kB

Filename Size Change
packages/wonder-blocks-testing/dist/es/index.js 1.13 kB +1 B (+0.09%)
ℹ️ View Unchanged
Filename Size
packages/wonder-blocks-accordion/dist/es/index.js 3.78 kB
packages/wonder-blocks-banner/dist/es/index.js 1.53 kB
packages/wonder-blocks-birthday-picker/dist/es/index.js 1.61 kB
packages/wonder-blocks-breadcrumbs/dist/es/index.js 887 B
packages/wonder-blocks-button/dist/es/index.js 4.04 kB
packages/wonder-blocks-cell/dist/es/index.js 2.01 kB
packages/wonder-blocks-clickable/dist/es/index.js 3.06 kB
packages/wonder-blocks-core/dist/es/index.js 3.44 kB
packages/wonder-blocks-data/dist/es/index.js 6.24 kB
packages/wonder-blocks-dropdown/dist/es/index.js 14.1 kB
packages/wonder-blocks-form/dist/es/index.js 6.19 kB
packages/wonder-blocks-grid/dist/es/index.js 1.36 kB
packages/wonder-blocks-i18n/dist/es/index.js 4.76 kB
packages/wonder-blocks-icon-button/dist/es/index.js 2.99 kB
packages/wonder-blocks-icon/dist/es/index.js 828 B
packages/wonder-blocks-labeled-field/dist/es/index.js 72 B
packages/wonder-blocks-layout/dist/es/index.js 1.82 kB
packages/wonder-blocks-link/dist/es/index.js 2.28 kB
packages/wonder-blocks-modal/dist/es/index.js 5.36 kB
packages/wonder-blocks-pill/dist/es/index.js 1.64 kB
packages/wonder-blocks-popover/dist/es/index.js 4.85 kB
packages/wonder-blocks-progress-spinner/dist/es/index.js 1.52 kB
packages/wonder-blocks-search-field/dist/es/index.js 1.3 kB
packages/wonder-blocks-switch/dist/es/index.js 1.94 kB
packages/wonder-blocks-testing-core/dist/es/index.js 3.64 kB
packages/wonder-blocks-theming/dist/es/index.js 693 B
packages/wonder-blocks-timing/dist/es/index.js 1.8 kB
packages/wonder-blocks-tokens/dist/es/index.js 2.1 kB
packages/wonder-blocks-toolbar/dist/es/index.js 855 B
packages/wonder-blocks-tooltip/dist/es/index.js 7 kB
packages/wonder-blocks-typography/dist/es/index.js 1.23 kB

compressed-size-action

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 94.67%. Comparing base (3cb03f3) to head (79a222a).

Files Patch % Lines
...onder-blocks-testing/src/harness/adapters/index.ts 0.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##           initialfallback    #2305      +/-   ##
===================================================
- Coverage            95.14%   94.67%   -0.48%     
===================================================
  Files                  254      254              
  Lines                30533    30537       +4     
  Branches              1865     2456     +591     
===================================================
- Hits                 29052    28912     -140     
- Misses                1462     1603     +141     
- Partials                19       22       +3     
Files Coverage Δ
...ocks-testing/src/harness/adapters/render-state.tsx 100.00% <100.00%> (ø)
...onder-blocks-testing/src/harness/adapters/index.ts 0.00% <0.00%> (ø)

... and 31 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 3cb03f3...79a222a. Read the comment docs.

@somewhatabstract somewhatabstract changed the base branch from initialfallback to main August 27, 2024 17:18
@somewhatabstract somewhatabstract merged commit 490b5fa into main Aug 27, 2024
10 of 11 checks passed
@somewhatabstract somewhatabstract deleted the ssradapterrename branch August 27, 2024 17:19
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.

None yet

3 participants