Skip to content
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

#4496 gallery card changes #4511

Merged
merged 14 commits into from
Dec 22, 2022
Merged

#4496 gallery card changes #4511

merged 14 commits into from
Dec 22, 2022

Conversation

prachi00
Copy link
Member

@prachi00 prachi00 commented Dec 16, 2022

Thank you for your contribution to the KodaDot NFT gallery.

👇 _ Let's make a quick check before the contribution.

PR Type

  • Bugfix
  • Feature
  • Refactoring

Context

Before submitting pull request, please make sure:

  • My contribution builds clean without any errors or warnings
  • I've merged recent default branch -- main and I've no conflicts
  • I've tried to respect high code quality standards
  • I've didn't break any original functionality
  • I've posted a screenshot of demonstrated change in this PR

Optional

  • I've tested it at </bsx/collection>
  • I've tested PR on mobile
  • I've written unit tests 🧪
  • I've found edge cases

Had issue bounty label?

  • Fill up your KSM address:
    Payout

Community participation

Screenshot 📸

  • My fix has changed something on UI; a screenshot is best to understand changes for others.
    Screen Shot 2022-12-15 at 8 59 03 PM
    Screen Shot 2022-12-15 at 8 59 13 PM

@prachi00 prachi00 requested a review from a team as a code owner December 16, 2022 05:00
@prachi00 prachi00 requested review from Jarsen136 and removed request for a team December 16, 2022 05:00
@kodabot
Copy link
Collaborator

kodabot commented Dec 16, 2022

SUCCESS @prachi00 PR for issue #4496 which is assigned to you. Please wait for review and don't hesitate to grab another issue in the meantime!

@netlify
Copy link

netlify bot commented Dec 16, 2022

Deploy Preview for koda-nuxt ready!

Name Link
🔨 Latest commit 546c0fa
🔍 Latest deploy log https://app.netlify.com/sites/koda-nuxt/deploys/63a40d83758cfd0008b0c4b1
😎 Deploy Preview https://deploy-preview-4511--koda-nuxt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@roiLeo roiLeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no.. CarouselCard, I find it misleading.
Can't we have a fresh GalleryCard component?

@prachi00
Copy link
Member Author

Oh no.. CarouselCard, I find it misleading.

Can't we have a fresh GalleryCard component?

Or can we rename carousel card and use it in both places? Since the ui and functionality is totally same

@roiLeo
Copy link
Contributor

roiLeo commented Dec 16, 2022

Or can we rename carousel card and use it in both places? Since the ui and functionality is totally same

if the design is exactly the same I'm not against, as long as we don't end up with special cases, I'm fine with it.
Or the best would be to to create GalleryCard component in histoire that will be used by carousel & explore layout.

@exezbcz
Copy link
Member

exezbcz commented Dec 16, 2022

image
price should not be bold

image

looks like spotlight card is now different?
image

@prachi00 prachi00 requested a review from roiLeo December 20, 2022 04:53
@prachi00
Copy link
Member Author

@roiLeo so I shifted the gallery card to histoire but I haven't used that yet for carousel, I feel like shifting carousel should be done in a new issue as there is some logical part for that, that might need some moving too
so currently, carousel stays the same like before and the gallery one uses the new histoire component

Copy link
Contributor

@roiLeo roiLeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Why did you change the carousel code if the outcome is not affected?

what needs to change in histoire component:

  • use placeholder/fixed data
  • don't use nuxt
  • don't use buefy helpers
  • rename NftCard to NeoNftCard?

I don't see the point of components/rmrk/Gallery/NftCard.vue file you can directly import the component

@roiLeo roiLeo added the S-changes-requested-🤞 PR is almost good to go, just some fine tunning label Dec 20, 2022
@yangwao
Copy link
Member

yangwao commented Dec 20, 2022

@prachi00 Can we please move it outside of rmrk folder? 🥹

https://github.com/kodadot/nft-gallery/pull/4511/files#diff-bc15d2a15f1220c1ae5eaa62bb0d747486a1cee56b21204b5439c46d7dd2e0ec

@prachi00
Copy link
Member Author

I just did the UI changes for the carousel card that should be according to the design

@prachi00
Copy link
Member Author

prachi00 commented Dec 21, 2022

@roiLeo by buefy helpers, do you mean buefy css classes? is-flex and all?

Also, using histoire newNftCard in a component that is not in vue compostion (gallery.vue) doesnt work, that is why I created a new composition component and used it there

@prachi00 prachi00 requested a review from roiLeo December 21, 2022 06:02
Copy link
Contributor

@roiLeo roiLeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@roiLeo by buefy helpers, do you mean buefy css classes? is-flex and all?

Nvm since we use Bulma theme in histoire it's working.

Also, using histoire newNftCard in a component that is not in vue compostion (gallery.vue) doesnt work, that is why I created a new composition component and used it there

lol, Nice move! I didn't knew that Gallery wasn't rewritten in Vue3 way.

  • What's the difference between NeoNftCard & NftCard? if one of them is not used please delete it
  • Could you please create story for each component you create?
  • components/rmrk/Gallery/NftCard.vue stil inside rmrk folder

@prachi00
Copy link
Member Author

@roiLeo by buefy helpers, do you mean buefy css classes? is-flex and all?

Nvm since we use Bulma theme in histoire it's working.

Also, using histoire newNftCard in a component that is not in vue compostion (gallery.vue) doesnt work, that is why I created a new composition component and used it there

lol, Nice move! I didn't knew that Gallery wasn't rewritten in Vue3 way.

  • What's the difference between NeoNftCard & NftCard? if one of them is not used please delete it
  • Could you please create story for each component you create?
  • components/rmrk/Gallery/NftCard.vue stil inside rmrk folder

so NftCard is in vue composition, so it is using NeoNftCard which gallery is not able to yet as it isnt in vue3, I guess we can remove NftCard once gallery is in vue3 and then directly use NeoNftCard in gallery

@roiLeo
Copy link
Contributor

roiLeo commented Dec 21, 2022

so NftCard is in vue composition...

I'm referring to NeoNftCard & NftCard component in histoire

@prachi00 prachi00 requested a review from roiLeo December 22, 2022 06:17
@prachi00
Copy link
Member Author

@roiLeo I added the story file, but I dont know how to see it, I ran story:dev
But I dont see any of the components, its just loading forever
Screen Shot 2022-12-21 at 10 18 37 PM

@preschian
Copy link
Member

I ran story:dev But I dont see any of the components, its just loading forever

looks fine on me, is there any error message on your browser console?

image

libs/ui/src/components/NeoNftCard/NeoNftCard.story.vue Outdated Show resolved Hide resolved
components/shared/gallery/NftCard.vue Outdated Show resolved Hide resolved
libs/ui/src/components/NeoNftCard/NeoNftCard.vue Outdated Show resolved Hide resolved
@roiLeo roiLeo self-requested a review December 22, 2022 07:55
@roiLeo roiLeo added S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked and removed S-changes-requested-🤞 PR is almost good to go, just some fine tunning labels Dec 22, 2022
@codeclimate
Copy link

codeclimate bot commented Dec 22, 2022

Code Climate has analyzed commit 546c0fa and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Contributor

@roiLeo roiLeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ let's move on

@roiLeo
Copy link
Contributor

roiLeo commented Dec 22, 2022

wfm too, might need to wrap Story in grid layout
Screenshot 2022-12-22 at 09-02-22 NeoNftCard › Nft Card Histoire

@yangwao
Copy link
Member

yangwao commented Dec 22, 2022

pay 80 usd

@yangwao
Copy link
Member

yangwao commented Dec 22, 2022

😍 Perfect, I’ve sent the payout
💵 $80 @ 24.65 USD/KSM ~ 3.245 $KSM
🧗 EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU
🔗 0x9ab254460bf51eabb19888b2e20f862217adcb795c02dcbf80e3f73ffd42ff58

🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

@yangwao yangwao added the paid pull-request has been paid label Dec 22, 2022
@yangwao yangwao merged commit 3b62e14 into main Dec 22, 2022
@yangwao yangwao deleted the feat-new-nft-card branch December 22, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
paid pull-request has been paid S-visual-ok-✅ S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New NFT card
6 participants