Skip to content

Comments

Fix #691: display ∞ for NFT edition_total=0#741

Merged
Rigidity merged 1 commit intoxch-dev:mainfrom
joshpainter:fix/691-nft-edition-infinity
Feb 17, 2026
Merged

Fix #691: display ∞ for NFT edition_total=0#741
Rigidity merged 1 commit intoxch-dev:mainfrom
joshpainter:fix/691-nft-edition-infinity

Conversation

@joshpainter
Copy link
Contributor

Summary

  • MintGarden convention: edition_total=0 means unlimited editions
  • Previously hidden because condition only checked > 1
  • Now shows "X of ∞" when edition_total is 0

Changes

File Change
src/components/NftCard.tsx Condition includes === 0, renders ∞ in tooltip
src/pages/Nft.tsx Same pattern on NFT detail page

Test plan

  • Verify NFTs with edition_total=0 show "X of ∞" in card tooltip and detail page
  • Verify NFTs with edition_total > 1 still show "X of Y" as before
  • Verify NFTs with edition_total === 1 still hide edition info

🤖 Generated with Claude Code

MintGarden convention uses edition_total=0 to mean unlimited editions.
Previously hidden because condition only checked > 1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
joshpainter added a commit to joshpainter/sage that referenced this pull request Feb 12, 2026
Split batched PR xch-dev#740 into per-issue PRs:
- xch-dev#691 → PR xch-dev#741
- xch-dev#390 → PR xch-dev#742
- xch-dev#726 → PR xch-dev#743
- xch-dev#723 → PR xch-dev#744

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Rigidity Rigidity merged commit 215b28d into xch-dev:main Feb 17, 2026
5 of 8 checks passed
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.

2 participants