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

infinite scroll on collection page #2781

Merged
merged 8 commits into from
Apr 13, 2022

Conversation

Jarsen136
Copy link
Contributor

@Jarsen136 Jarsen136 commented Apr 6, 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

What's new?

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 </rmrk/collection/26902bc2f7c20c546a-1FVG7>
  • I've tested PR on mobile and everything seems works
  • I found edge cases
  • I've written some unit tests 🧪

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.

@Jarsen136 Jarsen136 requested a review from a team as a code owner April 6, 2022 05:34
@Jarsen136 Jarsen136 requested review from prachi00 and removed request for a team April 6, 2022 05:34
@netlify
Copy link

netlify bot commented Apr 6, 2022

Deploy Preview for koda-nuxt ready!

Name Link
🔨 Latest commit d5b60dd
🔍 Latest deploy log https://app.netlify.com/sites/koda-nuxt/deploys/6256d4e3ce55da000804d7e2
😎 Deploy Preview https://deploy-preview-2781--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.

@Jarsen136
Copy link
Contributor Author

Jarsen136 commented Apr 6, 2022

Please note that this pr just does an infinite scrolling demo on the collection page.
I will do more refactoring in code organization, like 'mixins', and also deal with some edge cases, so the code does not need to be reviewed for now.

Let's check if this infinite scroll effect is good. @XyloDrone @yangwao @roiLeo
https://deploy-preview-2781--koda-nuxt.netlify.app/rmrk/collections

BTW, this url is shareable to locate the page position.
For example: https://deploy-preview-2781--koda-nuxt.netlify.app/rmrk/collections?page=11

@yangwao
Copy link
Member

yangwao commented Apr 6, 2022

Just tested on mobile 📱🤍😍

https://deploy-preview-2781--koda-nuxt.netlify.app/rmrk/collections/?page=21

@XyloDrone
Copy link

Awesome, it's working for me ! @yangwao ready for closing?

@Jarsen136
Copy link
Contributor Author

Awesome, it's working for me ! @yangwao ready for closing?

Thanks. Can't close this issue yet, because I still need to refactor it.

BTW, @yangwao Do we only merge code when every view implements infinite scrolling? I think the workload is huge 🤣
Or complete the collection page first, and then support other pages. It's up to you~

@yangwao
Copy link
Member

yangwao commented Apr 7, 2022

Awesome, it's working for me ! @yangwao ready for closing?

Thanks. Can't close this issue yet, because I still need to refactor it.

BTW, @yangwao Do we only merge code when every view implements infinite scrolling? I think the workload is huge 🤣 Or complete the collection page first, and then support other pages. It's up to you~

yeah, make follow up an issue and hit me up, we can then label it accordingly, it's okay to split huge issue into small fractals :)

@Jarsen136 Jarsen136 changed the title WIP: infinite scroll on collection page infinite scroll on collection page Apr 10, 2022
@Jarsen136
Copy link
Contributor Author

yeah, make follow up an issue and hit me up, we can then label it accordingly, it's okay to split huge issue into small fractals :)

Now the code is ready for review. Let's close #1411 in the pr.

And I will close #1582 in my next pr, which will apply the infinite scroll to any other views.

@Jarsen136
Copy link
Contributor Author

I have resolved all of its conflicts with the main branch.
Looking forward to code reviewing 👀

@yangwao
Copy link
Member

yangwao commented Apr 13, 2022

@Jarsen136 one more because of nuxt-edge pinning :D

@yangwao
Copy link
Member

yangwao commented Apr 13, 2022

Once

image

@yangwao
Copy link
Member

yangwao commented Apr 13, 2022

@Jarsen136 one more because of nuxt-edge pinning :D

Means you probably fetch pnpm-lock.yaml from main to get this merged tho! :)

@Jarsen136
Copy link
Contributor Author

@Jarsen136 one more because of nuxt-edge pinning :D

Means you probably fetch pnpm-lock.yaml from main to get this merged tho! :)

yup I know, will merge it later

@roiLeo
Copy link
Contributor

roiLeo commented Apr 13, 2022

Hmm.. #1411 is about infinite scroll on /collection/{id} and I can see here the code change are for /collections page

@Jarsen136
Copy link
Contributor Author

Jarsen136 commented Apr 13, 2022

Hmm.. #1411 is about infinite scroll on /collection/{id} and I can see here the code change are for /collections page

emm, so let's move on to the next pr ?
I will apply the infinite scroll to any other views. #1582

@yangwao yangwao mentioned this pull request Apr 13, 2022
3 tasks
@yangwao
Copy link
Member

yangwao commented Apr 13, 2022

pay 150 usd

@yangwao
Copy link
Member

yangwao commented Apr 13, 2022

😍 Perfect, I’ve sent the payout
💵 $150 @ 158.23 USD/KSM ~ 0.948 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x08aaa0ea51c497fcc7e6d74c57f562ab7113a67f38ff7092aee298b78a1f6f54

🪅 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 Apr 13, 2022
@yangwao
Copy link
Member

yangwao commented Apr 13, 2022

I've made evidence in #1582 let's continue there! :)

@yangwao yangwao merged commit 0ec694a into kodadot:main Apr 13, 2022
@roiLeo
Copy link
Contributor

roiLeo commented Apr 13, 2022

no review?

@Jarsen136
Copy link
Contributor Author

no review?

Pls leave some comments. I will change it in my next pr.

@roiLeo
Copy link
Contributor

roiLeo commented Apr 14, 2022

sorting don't work here

@Jarsen136
Copy link
Contributor Author

sorting don't work here

will check it later

@Jarsen136 Jarsen136 mentioned this pull request Apr 15, 2022
24 tasks
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite Scroll on collection
4 participants