big-design icon indicating copy to clipboard operation
big-design copied to clipboard

fix(component): active filters not maintained on StatefulTable

Open bc-shawnyap opened this issue 8 months ago • 1 comments

What?

Fix StatefulTable component on items per page change

Why?

This PR is to address the issue where the active filtered rows or search results are not maintained when the items per page changes.

https://github.com/user-attachments/assets/d3c25f8d-1e67-4a14-bacf-1c0c19bccd19

Screenshots/Screen Recordings

https://github.com/user-attachments/assets/8b57bcad-0f7e-45b4-8663-57b655af70ae

Testing/Proof

  • [x] Added new test case to check if the number of filtered rows are maintained
  • [x] Successful build on local env (check recording above)
  • [x] pnpm test Screenshot 2025-03-28 at 3 24 54 PM

bc-shawnyap avatar Mar 28 '25 21:03 bc-shawnyap

🦋 Changeset detected

Latest commit: 2bae29525a4fb27a88a0d2b56de605432e06361f

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

This PR includes changesets to release 3 packages
Name Type
@bigcommerce/big-design Patch
@bigcommerce/big-design-patterns Patch
@bigcommerce/docs 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

changeset-bot[bot] avatar Mar 28 '25 21:03 changeset-bot[bot]

@bigcommerce/big-design-stewards re-tagging for visibility

bc-shawnyap avatar Apr 09 '25 16:04 bc-shawnyap