Fix #691: display ∞ for NFT edition_total=0#741
Merged
Rigidity merged 1 commit intoxch-dev:mainfrom Feb 17, 2026
Merged
Conversation
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
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
edition_total=0means unlimited editions> 1edition_totalis 0Changes
src/components/NftCard.tsx=== 0, renders ∞ in tooltipsrc/pages/Nft.tsxTest plan
edition_total=0show "X of ∞" in card tooltip and detail pageedition_total > 1still show "X of Y" as beforeedition_total === 1still hide edition info🤖 Generated with Claude Code