Skip to content

Sort Privacy Settings asset list alphabetically#6090

Closed
j0ntz wants to merge 1 commit into
developfrom
jon/privacy-settings-list-sorting
Closed

Sort Privacy Settings asset list alphabetically#6090
j0ntz wants to merge 1 commit into
developfrom
jon/privacy-settings-list-sorting

Conversation

@j0ntz

@j0ntz j0ntz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Description

Asana task

The Nym Mixnet asset list on the Privacy Settings scene was ordered by plugin registration order instead of alphabetically, so the list rendered in different, inconsistent orders on iOS vs Android (QA repro: iOS started with Monero, Android started with Abstract with Monero at the bottom).

Fix: PrivacySettingsScene.tsx's supportedPluginIds memo now sorts the filtered plugin list by currencyInfo.displayName (the label actually rendered in each row) via localeCompare, so the list is alphabetical and platform-independent.

Privacy Settings - List Sorting Order

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Tested on the iOS simulator only (screenshot attached below), confirming the asset list now renders alphabetically (Abstract, Amoy Testnet, Arbitrum One, Avalanche, Axelar, Base, BNB Smart Chain, BOB, ...). The sort is platform-agnostic (plain array sort on shared data), so it applies identically on Android; not separately verified on an Android device.


Note

Low Risk
Display-order only in Privacy Settings; no changes to toggles, persistence, or network privacy behavior.

Overview
Privacy Settings now lists Nym Mixnet-capable assets in alphabetical order by displayName, instead of whatever order currencyConfig keys happen to use (which differed on iOS vs Android).

The supportedPluginIds memo in PrivacySettingsScene still filters plugins with private-networking defaults; it now sorts that list with localeCompare on the same label each row shows. CHANGELOG updated under Unreleased.

Reviewed by Cursor Bugbot for commit 69eff62. Bugbot is set up for automated code reviews on this repo. Configure here.

The Nym Mix Net Assets list order followed plugin registration order,
which differs between iOS and Android, producing inconsistent and
non-alphabetical ordering on both platforms.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@j0ntz

j0ntz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

📸 Test evidence

privacy settings sorted

privacy settings sorted

Captured by the agent's in-app test run (build-and-test).

@j0ntz

j0ntz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #6105, which consolidates this and 11 other small GUI task branches into one PR/branch per the umbrella task's instructions.

@j0ntz j0ntz closed this Jul 24, 2026
@j0ntz
j0ntz deleted the jon/privacy-settings-list-sorting branch July 24, 2026 20:01
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