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

Collection mobile #5158

Merged
merged 50 commits into from
Mar 7, 2023
Merged

Collection mobile #5158

merged 50 commits into from
Mar 7, 2023

Conversation

daiagi
Copy link
Contributor

@daiagi daiagi commented Mar 3, 2023

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.

image
image

@daiagi daiagi requested a review from a team as a code owner March 3, 2023 05:48
@daiagi daiagi requested review from preschian and Jarsen136 and removed request for a team March 3, 2023 05:48
@kodabot
Copy link
Collaborator

kodabot commented Mar 3, 2023

WARNING @daiagi PR for issue #5076 which isn't assigned to you. Please be warned that this PR may get rejected if there's another assignee for issue #5076

@netlify
Copy link

netlify bot commented Mar 3, 2023

Deploy Preview for koda-nuxt ready!

Name Link
🔨 Latest commit 583fc56
🔍 Latest deploy log https://app.netlify.com/sites/koda-nuxt/deploys/6406e536c61f800008a3736a
😎 Deploy Preview https://deploy-preview-5158--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.

@daiagi
Copy link
Contributor Author

daiagi commented Mar 3, 2023

will require merge resolution with #5146
need to merge #5120 before merging this

@exezbcz ive hidden the display grid button for screen between mobile and desktop in order to avoid wrapping in that screen size range (around 780 px)
Is that OK?

@daiagi daiagi mentioned this pull request Mar 3, 2023
17 tasks
@exezbcz
Copy link
Member

exezbcz commented Mar 3, 2023

@daiagi yup, that is correct, there is no grid button on mobile - mobile nft cards are also bit different
image
I will have a look 👍

@preschian
Copy link
Member

will require merge resolution with #5146 need to merge #5120 before merging this

maybe set this as draft PR first? after those PR merged we can take a look again. and fix the DeepScan

@exezbcz
Copy link
Member

exezbcz commented Mar 6, 2023

yes, that was wrong on my end then :D

last changes:

  • the whitespace
  • remove buy now by default from collection

thanks!

@daiagi
Copy link
Contributor Author

daiagi commented Mar 6, 2023

yes, that was wrong on my end then :D

last changes:

* the whitespace

* remove buy now by default from collection

thanks!

Done

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.

Don't know if it's on mobile spec but I see stuff changed:

  • creator link should be blue
    Screenshot 2023-03-06 at 11-38-42 Ancient Civilizations KodaDot - NFT Market Explorer
  • explore layout spacing issue (compare it with beta)
    Screenshot 2023-03-06 at 11-40-27 Low minting fees and carbonless NFTs KodaDot - NFT Market Explorer
  • weird animation on close sidebar filter

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.

collectionStatsByIdWithOffers retrieve all data on client browser :/

components/collection/CollectionInfo.vue Outdated Show resolved Hide resolved
components/identity/module/IdentityChain.vue Show resolved Hide resolved
@daiagi
Copy link
Contributor Author

daiagi commented Mar 6, 2023

weird animation on close sidebar filter

exists on beta as well, should solve in separate issue

explore layout spacing issue (compare it with beta)

indeed, apologies. fixed


here is an example:
https://deploy-preview-5158--koda-nuxt.netlify.app/bsx/collection/3268254081?page=1&redesign=true

image

if i remove the has-text-link class from the internal <a> tag the text is black

@roiLeo
Copy link
Contributor

roiLeo commented Mar 6, 2023

if i remove the has-text-link class from the internal <a> tag the text is black

Can't reproduce it, we have same stuff going in GalleryItemDescription component so I want to unify how it looks

@daiagi
Copy link
Contributor Author

daiagi commented Mar 6, 2023

if i remove the has-text-link class from the internal <a> tag the text is black

Can't reproduce it, we have same stuff going in GalleryItemDescription component so I want to unify how it looks

toggle mobile device in dev tools and make sure it is in "mobile" mode aka touch enabled. refresh page

image

from IdentityLink.vue
image

maybe remove this !isMobileDevice => render identityPopover on touch devices as well ? wtyt @roiLeo

@roiLeo
Copy link
Contributor

roiLeo commented Mar 6, 2023

toggle mobile device in dev tools and make sure it is in "mobile" mode aka touch enabled. refresh page

Aight, I can reproduce it with mobile mode.

from IdentityLink.vue

This is where issue come from, since IdentityLink provide a nested <a/> tag, IMO we should replace this component by something else since when you change a tag to div it work like a charm

maybe remove this !isMobileDevice => render identityPopover on touch devices as well ? wtyt @roiLeo

yep easy solution, but I think this has been introduce for a particular reason

@daiagi
Copy link
Contributor Author

daiagi commented Mar 6, 2023

Mind approving this PR and I'll open a new issue to deal with this?

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.

What need to be improved:

  • profile link on mobile (IdentityLink component)
  • use NeoSidebar instead of Buefy Sidebar (MobileFilter component)
  • index folder in /components/explore ???
  • remove linkClass prop
  • remove class="mb-5" (total in ItemsGrid & Gallery component)
  • change position: relative with is-relative helper
  • v-if on ActiveCount usage

otherwise lgtm

@codeclimate
Copy link

codeclimate bot commented Mar 7, 2023

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

View more on Code Climate.

@daiagi
Copy link
Contributor Author

daiagi commented Mar 7, 2023

What need to be improved:

  • profile link on mobile (IdentityLink component)
  • use NeoSidebar instead of Buefy Sidebar (MobileFilter component)
  • index folder in /components/explore ???
  • remove linkClass prop
  • remove class="mb-5" (total in ItemsGrid & Gallery component)
  • change position: relative with is-relative helper
  • v-if on ActiveCount usage

All done except:

Leftovers

  • profile link on mobile (IdentityLink component)
  • remove linkClass prop

@daiagi
Copy link
Contributor Author

daiagi commented Mar 7, 2023

@Jarsen136 @preschian could i have your review please?

Copy link
Contributor

@Jarsen136 Jarsen136 left a comment

Choose a reason for hiding this comment

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

code lgtm

@roiLeo roiLeo merged commit 6bf2b0e into kodadot:main Mar 7, 2023
@roiLeo roiLeo mentioned this pull request Mar 9, 2023
3 tasks
@preschian preschian mentioned this pull request Mar 10, 2023
17 tasks
@vikiival vikiival mentioned this pull request Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redesign Collection Mobile
6 participants