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

Distribution tool - confirmation modals #7227

Open
exezbcz opened this issue Sep 9, 2023 · 0 comments
Open

Distribution tool - confirmation modals #7227

exezbcz opened this issue Sep 9, 2023 · 0 comments
Labels
$ ~<50usd A-admin panel issues related to admin panel A-drop-page issues related to drop page A-modal issues related to modals p3 non-core, affecting less than 40%

Comments

@exezbcz
Copy link
Member

exezbcz commented Sep 9, 2023

image

Basics

  • updated in figma handoff file: page admin panel, You will find it at the end of every flow
    image
  • Fee breakdown is taken from Confirmation modal for minting and small things  #7169
  • There are 4 types of modals
  • existing collection
    • Create drop page
    • airdrop
  • create new
    • Create drop page
    • airdrop

Modal styles

  • Implement a context message displaying the connected wallet.
  • Insert a bold heading indicating the user's selection from the first part of the distribution (Your Collection).
    • If Select Existing Collection was chosen:
      • Display rows with existing collection's name and profile picture.
    • If 'Create New' was chosen:
      • Display rows with new collection's name, profile picture, and naming (item names +#n).
  • Show the selected distribution mode part.
    • If Creating Drop Page was chosen:
      • Populate data in the rows for:
        1. Price per item
        2. Supply
        3. Date
        4. Permission (public, holders of, or whitelist)
    • If Airdrop is selected:
      • Display a row named Items to Drop.
      • distribution (Public/Holder of/Whitelist).
  • Insert the previously discussed fee breakdown section below it.
  • Explicit confirmation with a check
  • Finally cta button

Cta button

  • This button changes based on:
    • not enough funds
      • button is disabled, with a change to the button label - (Not enough “asset” on “network”)
      • A small copy is added under
    • check box not active
      • Just button disabled, not changing the label

When the confirm is not checked and you don't have enough funds for the transaction, the button changes the label to the not enough funds one. You get informed early you don't have enough funds

Signing

  • In case of the need to sign more than one transaction, there will be this additional copy:
    image

Let me know if you have any questions, thanks!

@exezbcz exezbcz added p3 non-core, affecting less than 40% A-drop-page issues related to drop page A-modal issues related to modals A-admin panel issues related to admin panel labels Sep 9, 2023
@yangwao yangwao added the $ ~<50usd label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$ ~<50usd A-admin panel issues related to admin panel A-drop-page issues related to drop page A-modal issues related to modals p3 non-core, affecting less than 40%
Projects
None yet
Development

No branches or pull requests

2 participants