-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
feat: redesign update price and transfer item on gallery #4652
Conversation
✅ Deploy Preview for koda-nuxt ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
components/gallery/GalleryItemAction/GalleryItemActionType/GalleryItemRelist.vue
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/GalleryItemTransfer.vue
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/GalleryItemRelist.vue
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/GalleryItemRelist.vue
Outdated
Show resolved
Hide resolved
Hey! |
hhmm, I don't see any difference between switch-case or if statement for this case
will consider it 👍 |
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, please resolve code climate issues
I find useGalleryItemAction
really hard to read
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Show resolved
Hide resolved
Last things:
|
need your feedback about this, how about now? is it still not readable?
first, I separate based on the key of if (item.urlPrefix === 'chain-name') {
executeTransaction({
cb: api.tx.something.any,
arg: [chainResolver(any, name)],
successMessage: item.successMessage,
errorMessage: item.errorMessage,
})
} |
Tested list and send Looks like it works |
components/gallery/GalleryItemAction/GalleryItemActionType/GalleryItemRelist.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM.
I would like to invite other pair of eyes for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
except for some new translations words, otherwise lgtm
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
@preschian please add translations and we can move it |
components/gallery/GalleryItemAction/GalleryItemActionType/useGalleryItemAction.ts
Outdated
Show resolved
Hide resolved
Code Climate has analyzed commit 34d5e48 and detected 0 issues on this pull request. View more on Code Climate. |
Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type
Context
Before submitting pull request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot 📸