-
Notifications
You must be signed in to change notification settings - Fork 13
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
[TAS-458] ✨ Add more NFT Books page #1339
Conversation
nwingt
commented
Sep 26, 2023
•
edited
Loading
edited
![image](https://private-user-images.githubusercontent.com/17264716/270709703-ebe3c48d-c44a-448a-bef7-8f0026c5711a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDExNjQsIm5iZiI6MTcyMTIwMDg2NCwicGF0aCI6Ii8xNzI2NDcxNi8yNzA3MDk3MDMtZWJlM2M0OGQtYzQ0YS00NDhhLWJlZjctOGYwMDI2YzU3MTFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA3MjEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ0OTU2ZDM3MTM0MzhjNjBiMDRkMjUwNGQ0YzNkMTMxYmRjMzI1MTJlZDcyMDQ4YjZjNWU2OWYwOGQwZWJmNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4OSEK6FJdmDPr1v_CwSLNiY5FUa3Caqmuc2kXq9a2Hk)
![image](https://private-user-images.githubusercontent.com/17264716/270709013-49ee50c5-40e2-4003-8ca9-04e5999be94a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyMDExNjQsIm5iZiI6MTcyMTIwMDg2NCwicGF0aCI6Ii8xNzI2NDcxNi8yNzA3MDkwMTMtNDllZTUwYzUtNDBlMi00MDAzLThjYTktMDRlNTk5OWJlOTRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA3MjEwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzOTFjZWZiYTY3OTFmZTQyNDAyZGE0ZDdlZWRmZDJiMjhiYzBhMGY2YjIxOGM4Zjk4ZDI0MmYzN2VlMmExODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Ca8oFhuFn56Tdc0EbdHKjbPYNTh1-OuRwZOdX0xXNFw)
src/mixins/nft.js
Outdated
@@ -184,6 +184,9 @@ export default { | |||
this.NFTClassMetadata.account_owner | |||
); | |||
}, | |||
iscnAuthor() { |
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.
this name might cause potential confusion in the future but i have no good suggestion...
iscnMetadataAuthor
?
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.
How about iscnWorkAuthor that imply Author under CreativeWork in schema.org
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.
makes sense
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.
Updated
src/components/NFTBook/ItemCard.vue
Outdated
@@ -44,7 +44,7 @@ | |||
<Label | |||
class="text-medium-gray mt-[6px] mb-[12px]" | |||
preset="p6" | |||
:text="creatorDisplayName | ellipsis" | |||
:text="(iscnAuthor || creatorDisplayName) | ellipsis" |
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.
I think it can be a computed property
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.
can change to computed property if we used it more than once
540ca3e
to
a379eca
Compare