-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisions to metadata views documents to go into more depth about how to properly use each view #501
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great doc!
/// The score of the rarity as a number | ||
access(all) let score: UFix64? | ||
|
||
/// The maximum value of score |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current comment is a bit ambiguous to me, but not sure if saying trait rarity is too prescriptive
/// The maximum value of score | |
/// The maximum trait rarity score |
) | ||
``` | ||
|
||
 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a blocker to this PR, but I recently wondered how we'd add SVG data to a Display
view. Others might wonder as well and look to this section for guidance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, just added a little blurb
Love the images @joshuahannan ! |
Closes onflow/flow-nft#166
Developers need more specific guidance on how to use metadata views. This PR updates the views document
to go into more depth about how to generally use reviews and gives more context, examples, and requirements for specific metadata views, namely royalties and traits.