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

refactor: Identity - Vue Composition API #3771

Merged
merged 24 commits into from
Aug 26, 2022

Conversation

preschian
Copy link
Member

@preschian preschian commented Aug 18, 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 the 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 🧪

Community participation

Screenshot

  • My fix has changed something on UI; a screenshot is best to understand changes for others.

@kodabot
Copy link
Collaborator

kodabot commented Aug 18, 2022

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

@netlify
Copy link

netlify bot commented Aug 18, 2022

Deploy Preview for koda-nuxt ready!

Name Link
🔨 Latest commit ea15a54
🔍 Latest deploy log https://app.netlify.com/sites/koda-nuxt/deploys/630897b8d0419c0008acb59a
😎 Deploy Preview https://deploy-preview-3771--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.

@preschian preschian marked this pull request as ready for review August 20, 2022 13:49
@preschian preschian requested review from a team as code owners August 20, 2022 13:49
@preschian preschian requested review from Jarsen136, damskyftw, vikiival and roiLeo and removed request for a team August 20, 2022 13:49
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.

Shouldn't we need to move useIdentityStats.ts & useIdentity.ts into composables directory too?

And composables content seems to be auto imported in Nuxt, I don't think we need to declare them in file

edit: ref composables

@preschian
Copy link
Member Author

preschian commented Aug 22, 2022

And composables content seems to be auto imported in Nuxt, I don't think we need to declare them in file

TIL that nuxt will regenerate .nuxt/auto-imports.d.ts for composables folder 👍

Shouldn't we need to move useIdentityStats.ts & useIdentity.ts into composables directory too?

hhmm, I'm not sure and don't have a strong opinion to move that also. because those files are only used by components under the identity folder

@preschian
Copy link
Member Author

btw, any feedback for this PR?

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.

Nothing strange, code lgtm
Is it Ok to remove inline & no-overflow props?

edit: missing some translations :/

components/identity/utils/useIdentity.ts Show resolved Hide resolved
@preschian
Copy link
Member Author

Nothing strange, code lgtm Is it Ok to remove inline & no-overflow props?

sure about no-overflow props, because unused. even a typo in the old component defines that props as noOwerflow. for inline, I skimmed almost all pages related to Identity seem fine, I couldn't find any styling issue

@roiLeo roiLeo added the S-code-lgtm-✅ code review guild has reviewed this PR and it's code is approved label Aug 26, 2022
@yangwao yangwao enabled auto-merge August 26, 2022 09:49
Copy link
Member

@yangwao yangwao left a comment

Choose a reason for hiding this comment

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

LGTM

@codeclimate
Copy link

codeclimate bot commented Aug 26, 2022

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

View more on Code Climate.

@yangwao yangwao merged commit adae235 into kodadot:main Aug 26, 2022
@preschian preschian deleted the refactor-identity-composition-api branch August 26, 2022 09:59
@roiLeo roiLeo mentioned this pull request Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-code-lgtm-✅ code review guild has reviewed this PR and it's code is approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: Identity component - migrate to vue composition api
5 participants