Skip to content

Add NFT collection view modes - #1445

Open
Kafkafrate wants to merge 2 commits into
radixdlt:mainfrom
Kafkafrate:codex/nft-view-modes
Open

Add NFT collection view modes#1445
Kafkafrate wants to merge 2 commits into
radixdlt:mainfrom
Kafkafrate:codex/nft-view-modes

Conversation

@Kafkafrate

@Kafkafrate Kafkafrate commented Jul 17, 2026

Copy link
Copy Markdown

Description

This PR replaces the accordion-style NFT collection list with a focused collection browser and adds three NFT display modes.

  • Collection rows now show the collection image, name, and item count without expanding inline.
  • Opening a collection shows only that collection and adds an animated back control and a single cycling view-mode control.
  • Full, two-column grid, and compact row modes are available in both account assets and the transfer asset chooser.
  • The opened collection header remains sticky while its NFTs scroll underneath it.
  • Grid cards use square, fit-scaled image frames with consistent rounded corners, compact spacing, NFT names, and local IDs.
  • Existing NFT detail and selection behavior is preserved.
  • Asset tabs are evenly distributed and retain a sliding active indicator without the rectangular press/ripple artifact.

How to test

  1. Open an account containing multiple NFT collections and select the NFTs tab.
  2. Verify collections appear as separate summary rows and do not expand inline.
  3. Open a collection and verify only that collection's NFTs are shown.
  4. Scroll the collection and verify the collection header remains sticky.
  5. Use the header control to cycle through Full, Grid, and Row modes.
  6. Verify portrait, landscape, and square NFT media remain fully visible inside their image frames.
  7. Select an NFT and verify the existing details flow still opens.
  8. Open the transfer asset chooser and verify collection navigation, display modes, and NFT selection still work.

Validation performed:

  • Built successfully with ./gradlew :app:assembleLightDebug using the matching locally built Sargon 1.2.58-a05aeaf3-SNAPSHOT artifact.
  • Added focused unit coverage for NFT defaults, collection navigation, non-NFT accordion behavior, and Full/Grid/Row mode cycling.
  • Manually verified collection navigation, Full/Grid/Row mode switching, sticky header behavior, and NFT rendering on the Android emulator.
  • Manually verified an account-to-account NFT transfer through recipient selection, NFT selection in all three modes, transfer composition, and the final transaction review screen. The transaction was intentionally not signed or submitted.
  • The full unit-test task depends on Radix's private full Sargon package and Arculus submodule and is left to the repository CI workflow.

Screenshot

Full Grid Row
NFT full view NFT grid view NFT row view

PR submission checklist

  • I have tested account to account transfer flow and have confirmed that it works
  • I have written unit tests

@Kafkafrate
Kafkafrate marked this pull request as ready for review July 17, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant