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

Fix gallery skeleton #4301

Merged
merged 12 commits into from
Nov 16, 2022
Merged

Fix gallery skeleton #4301

merged 12 commits into from
Nov 16, 2022

Conversation

nevermin9
Copy link
Contributor

@nevermin9 nevermin9 commented Nov 10, 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
    Better to check in slow 3G, it is hard to show)

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.

@nevermin9 nevermin9 requested a review from a team as a code owner November 10, 2022 14:44
@nevermin9 nevermin9 requested review from prachi00 and removed request for a team November 10, 2022 14:44
@kodabot
Copy link
Collaborator

kodabot commented Nov 10, 2022

SUCCESS @nevermin9 PR for issue #4268 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 Nov 10, 2022

Deploy Preview for koda-nuxt ready!

Name Link
🔨 Latest commit aa90480
🔍 Latest deploy log https://app.netlify.com/sites/koda-nuxt/deploys/6374b82e47306f00085292e2
😎 Deploy Preview https://deploy-preview-4301--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.

@yangwao yangwao requested review from preschian and removed request for prachi00 November 10, 2022 17:49
Copy link
Member

@preschian preschian left a comment

Choose a reason for hiding this comment

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

hi @nevermin9 I'm still getting the same result
image

the expected result should be similar with collection tabs. I guess it's related with this line https://github.com/kodadot/nft-gallery/blob/main/components/rmrk/Gallery/Gallery.vue#L40-L50. could you check is it possible to use one component instead? maybe something like this <PreviewMediaResolver :src="nft.image || nft.animation_url" another-props="props" />

@nevermin9
Copy link
Contributor Author

nevermin9 commented Nov 11, 2022

Hey, @preschian ,
I just lost my commit, that fixes this bug
I guess, PreviewMediaResolver is used for animations, but BasicImage is for images

@preschian
Copy link
Member

Hey, @preschian , I just lost my commit, that fixes this bug I guess, PreviewMediaResolver is used for animations, but BasicImage is for images

hi @nevermin9, actually MediaResolver can serve images also https://github.com/kodadot/nft-gallery/blob/main/components/media/MediaResolver.vue#L27

I still face the same result btw

Copy link
Member

@preschian preschian left a comment

Choose a reason for hiding this comment

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

still same result

@@ -101,11 +103,13 @@ describe('snekCollectionItem', () => {
})

describe('snekGalleryItem', () => {
it('galleryListedItemActions', () => {
Copy link
Member

Choose a reason for hiding this comment

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

seems like snek already up, we can revert this changes and merged once this PR merged #4326

utils/config/permision.config.ts Outdated Show resolved Hide resolved
components/bsx/Gallery/Item/GalleryItem.vue Outdated Show resolved Hide resolved
@codeclimate
Copy link

codeclimate bot commented Nov 16, 2022

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

View more on Code Climate.

Copy link
Member

@preschian preschian left a comment

Choose a reason for hiding this comment

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

wfm

@preschian preschian added the S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked label Nov 16, 2022
@yangwao
Copy link
Member

yangwao commented Nov 16, 2022

pay 30

@yangwao yangwao merged commit 0214c12 into kodadot:main Nov 16, 2022
@yangwao
Copy link
Member

yangwao commented Nov 16, 2022

😍 Perfect, I’ve sent the payout
💵 $30 @ 24.82 USD/KSM ~ 1.209 $KSM
🧗 EDEQxiVzazTboSCuedYx7KAsXs6edPQUsEEMMAazSA68f5y
🔗 0xb7e8e0e20f388bb3d706de81ace0e5149d92e1a006d049baad2328a519c0d7b7

🪅 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 Nov 16, 2022
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-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.

Add skeleton for explorer gallery and collections
4 participants