Skip to content

fix: Users page filter resets page #5124

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

Merged
merged 1 commit into from
Nov 18, 2022
Merged

fix: Users page filter resets page #5124

merged 1 commit into from
Nov 18, 2022

Conversation

presleyp
Copy link
Contributor

Changing the filter on a page should reset the page to page 1, but that wasn't happening on the Users page. The fix is to avoid going to the gettingUsers state in response to the UPDATE_FILTER event, and instead to wait until the UPDATE_PAGE event to fetch users.

@presleyp presleyp requested a review from a team as a code owner November 17, 2022 19:09
@presleyp presleyp requested review from code-asher, BrunoQuaresma and a team and removed request for a team November 17, 2022 19:09
@presleyp
Copy link
Contributor Author

@BrunoQuaresma I keep seeing this slight change to the logo at the bottom of the page in storybook changes, do you know what that's about?

@BrunoQuaresma
Copy link
Collaborator

@presleyp good question. I think it is because the image quality and the logo use gradients so the snapshot always gets a difference of 0.01% I guess.

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@presleyp presleyp merged commit 4c24adb into main Nov 18, 2022
@presleyp presleyp deleted the users-filter/presleyp branch November 18, 2022 14:53
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants