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: unify create page #7208

Merged
merged 34 commits into from
Sep 27, 2023
Merged

refactor: unify create page #7208

merged 34 commits into from
Sep 27, 2023

Conversation

preschian
Copy link
Member

@preschian preschian commented Sep 7, 2023

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.

👇 __ Let's make a quick check before the contribution.

PR Type

  • Bugfix
  • Feature
  • Refactoring

Needs QA check

  • @kodadot/qa-guild please review

Context

Did your issue had any of the "$" label on it?

Screenshot 📸

screenshot

image

Copilot Summary

🤖 Generated by Copilot at c2833a6

Added new pages and components for creating single NFTs on different blockchains, refactored some existing components and composables, and removed some unused files and code.

🤖 Generated by Copilot at c2833a6

To create NFTs with more ease
We added some pages and styles
CreateNft has options galore
CreateLanding lets you explore
And CreateNftPreview beguiles

@kodabot
Copy link
Collaborator

kodabot commented Sep 7, 2023

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

@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for koda-canary ready!

Name Link
🔨 Latest commit 6a71a18
🔍 Latest deploy log https://app.netlify.com/sites/koda-canary/deploys/65141fd47491a3000868ed69
😎 Deploy Preview https://deploy-preview-7208--koda-canary.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 configuration.

@reviewpad reviewpad bot added the large Pull request is large label Sep 7, 2023
@preschian preschian marked this pull request as ready for review September 7, 2023 14:32
@preschian preschian requested a review from a team as a code owner September 7, 2023 14:32
@preschian preschian requested review from roiLeo and prury and removed request for a team September 7, 2023 14:32
@prury prury requested a review from Jarsen136 September 7, 2023 15:01
@Jarsen136
Copy link
Contributor

I discovered a UI issue
image

@prury prury requested a review from EthVlad September 7, 2023 16:29
@prury
Copy link
Member

prury commented Sep 7, 2023

Mobile:

  • image
  • image

locales/en.json Outdated Show resolved Hide resolved
@prury
Copy link
Member

prury commented Sep 7, 2023

Minted one nft just for experience:
https://deploy-preview-7208--koda-canary.netlify.app/ahk/gallery/111-3

tags will be added later?

duplicated/wrong text:
image

this pretty text also missing:

image

@prury prury added the S-changes-requested-🤞 PR is almost good to go, just some fine tunning label Sep 7, 2023
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.

some stuff

components/create/CreateCollection.vue Outdated Show resolved Hide resolved
components/create/CreateLanding.vue Outdated Show resolved Hide resolved
components/create/CreateLanding.vue Outdated Show resolved Hide resolved
components/create/CreateNft.vue Show resolved Hide resolved
components/create/CreateNft.vue Outdated Show resolved Hide resolved
components/create/create.scss Outdated Show resolved Hide resolved
composables/useDeposit.ts Outdated Show resolved Hide resolved
composables/useGraphql.ts Show resolved Hide resolved
utils/ipfs.ts Outdated Show resolved Hide resolved
components/create/CreateNft.vue Outdated Show resolved Hide resolved
components/create/CreateNft.vue Outdated Show resolved Hide resolved
components/create/CreateNft.vue Outdated Show resolved Hide resolved
components/create/CreateNftPreview.vue Outdated Show resolved Hide resolved
@preschian
Copy link
Member Author

Smoll issue:

  • sale class doing weird stuff on default label
    Screenshot 2023-09-20 at 10-32-21 Create carbonless NFTs KodaDot - NFT Market Explorer

not sure how to fix this one. looks fine if I change font-family to monospace cc @roiLeo

one important thing: Selecting Kusama on NFT creation is not loading the collections

I would expand this it seems the collections dropdown is generally not reactive

  1. be logged out => navigate to nft create page => log in => collections don't load
  2. be logged in => navigate to nft create page => log out => collections don't disappear
  3. change network => collections don't update

fixed cc @prury @daiagi

the text talks about collection, but it's the create NFT page

fixed

I think it would be better to implement the transition to the 2nd nft page via URL (i.e. separate page for it / URL param)
as it is now, there's no way of navigating back from this screen:

fixed

@prury
Copy link
Member

prury commented Sep 25, 2023

Minting round:
Basilisk:
minting✔️, listing✔️, redirection✔️
https://basilisk.subscan.io/tx/0x90989609d21316285df72b937cdec6fecc856ab62e0e3ae6dfa9bc78b8b5655a ✔️

RMRK1
minting✔️ , listing ❌(only asked for 1 tx i believe) , redirection✔️, copies ✔️, attributes ✔️
https://kusama.subscan.io/tx/0x7dc555b746ea1d5c3c9491fe68d23db721942e8934f07a9ca477af939b170134

RMRK 2
minting✔️ , listing ❌ , redirection✔️, copies ✔️, attributes ✔️
https://kusama.subscan.io/tx/0x3c6309eea5873e5468ae96a43133be442b773e9bb665e482f08a9bc3efe9f4ab

Asset Hub Kusama:
minting✔️ , listing ✔️ , redirection✔️, copies ✔️, attributes ✔️
https://assethub-kusama.subscan.io/tx/0xf0be2655bb71a5e4864ee389eb63566e7e6eab009442819cb8b0390b24c5c125

Asset Hub Polkadot:
minting✔️ , listing ✔️ , redirection✔️, copies ✔️, attributes ✔️
https://assethub-polkadot.subscan.io/tx/0x84d398aebdef6a73bd5d34d2fcb47b428ef5ecde358dc02de3f32b17ab570cc1

small:
image

also:
redirection message not appearing('you will be redirected to, bla bla')

@preschian
Copy link
Member Author

RMRK1 minting✔️ , listing ❌(only asked for 1 tx i believe) , redirection✔️, copies ✔️, attributes ✔️ kusama.subscan.io/tx/0x7dc555b746ea1d5c3c9491fe68d23db721942e8934f07a9ca477af939b170134

RMRK 2 minting✔️ , listing ❌ , redirection✔️, copies ✔️, attributes ✔️ kusama.subscan.io/tx/0x3c6309eea5873e5468ae96a43133be442b773e9bb665e482f08a9bc3efe9f4ab

TIL, that rmrk needs to list that manually. want to test that on snek, but the endpoint is still down on my end :(

image

@daiagi
Copy link
Contributor

daiagi commented Sep 27, 2023

image

The icons should be bigger no?

@preschian
Copy link
Member Author

The icons should be bigger no?

correct, will update that also 🙏

Copy link
Contributor

@daiagi daiagi left a comment

Choose a reason for hiding this comment

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

beautiful work

title,
type: 'article',
description: 'Create carbonless NFTs with low on-chain fees',
url: '/create/nft',
Copy link
Contributor

Choose a reason for hiding this comment

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

wrong url?

Copy link
Contributor

Choose a reason for hiding this comment

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

missing prefix?

components/create/CreateCollection.vue Show resolved Hide resolved
@exezbcz
Copy link
Member

exezbcz commented Sep 27, 2023

for follow-up issue I guess:

I think it would be good for UX to have in the collection drop-down a menu item that appears only if not logged in. clicking this menu item would open the log-in modal (similar to shopping cart) also, it would be nice to have if logged in but no collection is available on the account => drop-down item to create a new collection (similar to massmint)

@exezbcz wdyt?

sorry for the late answer, yes, I have created issue, soon design and letsgo

@exezbcz
Copy link
Member

exezbcz commented Sep 27, 2023

after this pr, there should be the dropdown for create
image

  • it should redirect you directly to the page where you choose from collection/nft

image

  • inconsistent font size

@codeclimate
Copy link

codeclimate bot commented Sep 27, 2023

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

View more on Code Climate.

@sonarcloud
Copy link

sonarcloud bot commented Sep 27, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
7.0% 7.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@preschian
Copy link
Member Author

  • inconsistent font size

updated

@prury
Copy link
Member

prury commented Sep 27, 2023

RMRK minting + listing now working, thank you @preschian
really nice work!

@prury prury added S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked and removed S-changes-requested-🤞 PR is almost good to go, just some fine tunning labels Sep 27, 2023
@yangwao
Copy link
Member

yangwao commented Sep 27, 2023

pay 100 usd

@yangwao yangwao merged commit 497e36e into main Sep 27, 2023
13 of 14 checks passed
@yangwao yangwao deleted the refactor/unify-create-nft-page branch September 27, 2023 13:33
@yangwao
Copy link
Member

yangwao commented Sep 27, 2023

😍 Perfect, I’ve sent the payout
💵 $100 @ 4.06 USD/DOT ~ 24.631 $DOT
🧗 1xjvRADwdJcnmUCLWerEHR4iGCT5EBTm4D4fzLLg4LcAC9p
🔗 0x98c6e573765adf45bdf4f8491d99b0301ac08561df490c74177d6dfc68fb3d47

🪅 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 Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large Pull request is large paid pull-request has been paid S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple Mint v2
9 participants