Skip to content

Upstream #3

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

Open
wants to merge 8 commits into
base: staging
Choose a base branch
from
Open

Upstream #3

wants to merge 8 commits into from

Conversation

Rub21
Copy link

@Rub21 Rub21 commented Apr 9, 2025

No description provided.

jake-low and others added 8 commits February 24, 2025 14:02
The paginator widget in the changeset list sidebar had an odd behavior
where the prev/next arrows did not work after initial page load, and
would only start working once you clicked on a specific page number
(e.g '2'). Turns out this is because of some sneaky square brackets in
one of the Redux selectors which caused pageIndex to be accidentally
converted into an array `[0]`. The expression `[0] + 1` evaluates to
the string `"01"` in JavaScript (of course it does), resulting in the
frontend trying to fetch page `01`, then `011`, then `0111`, etc on each
subsequent click of the next button, none of which would succeed.
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