Skip to content

Migrate PaginationWrapper story - #49130

Merged
fisher-alice merged 3 commits into
stagingfrom
storybook-pagination
Nov 15, 2022
Merged

Migrate PaginationWrapper story#49130
fisher-alice merged 3 commits into
stagingfrom
storybook-pagination

Conversation

@fisher-alice

@fisher-alice fisher-alice commented Nov 14, 2022

Copy link
Copy Markdown
Contributor

Migrated PaginationWrapper to new Storybook API:

Screencast video of PaginationWrapper component:

pagination-wrapper-clickable.mp4

When I first migrated this Storybook, I removed the StorybookHarness and created 3 different stories, 1 per page. View version here and screencast video here. However, looking at its props values currentPage and onChangePage, I saw that changing the current page was integral to the component. Thus, I added the StorybookHarness back in.

Links

Refer to this PR for context.
This spreadsheet keeps track of all migrations.

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@fisher-alice
fisher-alice requested review from a team and maddiedierker November 14, 2022 23:19
@fisher-alice
fisher-alice marked this pull request as ready for review November 14, 2022 23:22
@fisher-alice
fisher-alice merged commit 18eb7d7 into staging Nov 15, 2022
@fisher-alice
fisher-alice deleted the storybook-pagination branch November 15, 2022 18:24
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.

2 participants