Skip to content

Android: wallet search shows perpetuals in the server's ranking - #1706

Merged
DRadmir merged 1 commit into
mainfrom
wt3/android-search-perpetuals-ranking
Oct 29, 2026
Merged

DRadmir merged 1 commit into
mainfrom
wt3/android-search-perpetuals-ranking

Conversation

@DRadmir

@DRadmir DRadmir commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Wallet search on Android ignored the order the server returns for perpetuals. Searching "ethereum" showed no perpetuals, and lists such as Trending showed none at all, while iOS showed both.

Android now reads that ranking the same way iOS does: ranked markets come first, a list without a ranking shows no perpetuals, and a typed search without one falls back to matching names. Wallet search also uses its own result limit instead of the Perpetuals screen's, which stays as it was.

Not checked on iOS: the Trending list, which can only be tested with an injected server response. One difference from iOS remains: when the server sends no ranking, pinned markets come first.

1. Wallet search and list results read the perpetual ranking Core stores for the search key, the same way iOS does: ranked markets first, a list without a ranking has no perpetuals, and a wallet search without one falls back to the text match.
2. Wallet search takes its limit from walletSearchLimits and its key from Core instead of the Perpetuals screen's market query, so the Perpetuals screen keeps its own rules.
@DRadmir DRadmir self-assigned this Oct 29, 2026
@DRadmir
DRadmir merged commit a947ec2 into main Oct 29, 2026
2 checks passed
@DRadmir
DRadmir deleted the wt3/android-search-perpetuals-ranking branch October 29, 2026 07:10
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.

1 participant