Implement grid sorting #149
Labels
No labels
app
app
bug
app
enhancement
client side exclusive
closed
completed
closed
duplicate
closed
invalid
closed
not open grind
closed
not planned
closed
question
🗳️ community vote
⚠️ critical
discussion
docs
emulator
help wanted
paywalled
bypassable
paywalled
non-bypassable
paywalled
unconfirmed
pr/dubious
question
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
open-grind/open-grind#149
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
We need a feature to sort the list of results in browse especially by distance. Generally we already get people close by default but currently a lot of people closer to you will show far down the list buried in results over 100 km away. We can probably have sort by distance, by age, by height with low to high and vice versa. But this would be a pretty big QoL improvement compared to even the official app.
This is a client side feature coming post-mvp. Currently the focus is to implement features available in the official app.
I propose a temporary semi-solution: introduce visible pages.
We already load profiles in batches of 600. As discussed, we can't just re-sort the entire grid on each new load, because that will cause jumps and confusion. Instead we could show these pages separated by a horizontal separator, then treat each page as its own sorted immutable list, and not re-sort.
Given that the vast majority of profiles do have a distance, and the biggest ballache is clutter from miles away....
Instead of trying to do any sorting which will always be compromised and clunky, could a first approach just be setting a simple client side distance limit, as each page loads from Grindr drop from the grid any profiles that are displaying distance exceeding the limit. I believe for the lightly loaded profiles you've got to wait until they fully load before getting distance anyway?
Even if 80% of the far away profiles were curtailed it'd bring a massive immediate benefit.