Skip to content

feat(pagination): added support to programmatically change active page#44

Open
tomisykora wants to merge 1 commit intoestevanmaito:masterfrom
tomisykora:master
Open

feat(pagination): added support to programmatically change active page#44
tomisykora wants to merge 1 commit intoestevanmaito:masterfrom
tomisykora:master

Conversation

@tomisykora
Copy link
Copy Markdown

@tomisykora tomisykora commented Mar 17, 2021

Hi @estevanmaito ! There are cases where users needs to programmatically change the active page number, eg. when
searching, the page should change to first page. So that's what has been added here in this pull request. I also added Pagination storybook and test coverage for this use case. Thanks in advance for looking into it! 😊

This resolves #42

There are cases where users needs to programmatically change the active page number, eg. when
searching, the page should change to first page.

resolves estevanmaito#42
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2021

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b7afcfd) to head (5e1145a).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines          495       495           
  Branches        77        77           
=========================================
  Hits           495       495           
Flag Coverage Δ
unittest 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@IvanTodorovv
Copy link
Copy Markdown

The change looks good , any reason why this is not merged yet? @estevanmaito

@kenjoesavandal
Copy link
Copy Markdown

I need this also, please merged this..

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.

Add support to programmatically change active page for Pagination

4 participants