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

Fix challenge sort order to match the server-side ordering. #1330

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

Conversation

JBYoshi
Copy link
Contributor

@JBYoshi JBYoshi commented Apr 6, 2024

The iOS app was sorting the challenges by decreasing member count, but the server returns challenges in order of creation date (with official challenges overriding the ordering). This mismatch seems to be what's causing #1307; my initial tests with this fix don't show the list jumping around anymore.

Fixes #1307.

My Habitica User-ID: 32f74d6d-f010-473c-9527-da0bc5914ac8

The app was sorting the challenges by decreasing member count, but the server
returns challenges in order of creation date (with official challenges overriding
the ordering). This should fix the challenges jumping around.

Fixes HabitRPG#1307.
@tjb
Copy link
Contributor

tjb commented Apr 8, 2024

👍 LGTM!

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.

unable to scroll through the discover challenge list due to the list "jumping"
2 participants