Skip to content

fix: sort ApeX vaults by TVL by default - #1342

Merged
miohtama merged 1 commit into
masterfrom
fix/apex-vault-tvl-default-sort
Jul 29, 2026
Merged

fix: sort ApeX vaults by TVL by default#1342
miohtama merged 1 commit into
masterfrom
fix/apex-vault-tvl-default-sort

Conversation

@miohtama

Copy link
Copy Markdown
Contributor

Why

ApeX vaults do not have enough return history for the normal return-based default sort to produce the most useful ordering. The protocol detail page should match the TVL-sorted URL behaviour by showing the largest ApeX vaults first by default.

Lessons learnt

The ApeX protocol page already overrides the default TVL filter because these vaults can sit below the usual listing threshold. Keeping the sort override on the same route keeps this exception local to ApeX and avoids changing the shared vault table defaults.

Summary

  • Default the ApeX protocol vault listing to TVL descending.
  • Add deterministic ApeX mock vaults with different TVL and return values.
  • Add an integration regression test for the default ApeX row order.

@miohtama
miohtama force-pushed the fix/apex-vault-tvl-default-sort branch from 054929c to 9cb41f1 Compare July 29, 2026 12:45
@miohtama
miohtama merged commit 82ec0b8 into master Jul 29, 2026
5 checks passed
@miohtama
miohtama deleted the fix/apex-vault-tvl-default-sort branch July 29, 2026 12:50
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