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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomisykora
Copy link

@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

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.

@IvanTodorovv
Copy link

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

@kenjoesavandal
Copy link

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