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

Auto teleport V1 #7643

Closed
exezbcz opened this issue Oct 13, 2023 · 6 comments · Fixed by #7711
Closed

Auto teleport V1 #7643

exezbcz opened this issue Oct 13, 2023 · 6 comments · Fixed by #7711
Assignees
Labels
A-auto-teleport issues related to auto teleport A-modal issues related to modals A-rmrk related rmrkV1 A-rmrk2 A-statemine-ahk related for statemine common chain, under new name Asset Hub Kusama A-statemint-ahp Polkadot Asset Hub related issues chief p1 preventing everyone from using app UX first Improvement for UX

Comments

@exezbcz
Copy link
Member

exezbcz commented Oct 13, 2023

Overview

  • Auto Teleport

    • Automates fund transfers between chains where the users have the most assets to a chain where they are making the action.
    • Can be activated or deactivated via a toggle button.
  • First-time User Onboarding Modal

    • Activated when Auto Teleport is switched on for the first time.
    • Highlights benefits:
      • Effortless Transfers
      • Time-saving
      • Smooth Experience
    • Informs user to approve an extra transaction each time the feature is needed.
    • then button: "Got it!"
  • Disabled State of Auto Teleport

    • When no funds are available on any chain, display "Not Available" label with a tooltip icon.
  • Signing Modal

    • Contains steps for approving transactions.
    • Includes 'Checking Funds' step to confirm successful transfer of required funds before proceeding.
  • Signing Modal

    • there is also a tooltip for the auto teleport in the transaction summary - which shows users the path we chose for them, introduction, option to learn more.

Design

Auto teleport row

  • Tooltip: Displayed for users to explain the functionality and working of Auto Teleport when hovered or clicked. Correspondingly changes based on user fund availability across chains.

  • Auto Teleport Modal States:

    • labeled in the designs
    • Sufficient Funds: The Auto Teleport feature is not displayed when all funds are sufficient for a transaction.
    • Insufficient Source Chain Funds: When funds on source chain are insufficient but available on other chains, the feature row is displayed allowing teleport and purchase confirmation with Auto Teleport turned on. If turned off, it provides low-fund warning.
    • No Funds: When no enough funds are available at all, the row is disabled and shows "Not Available" text.

image

Tooltip

  • Tooltip when no funds are available: Explains the Auto Teleport feature and tells users why it's currently unable to function due to no available funds.
    image

  • Tooltip when funds are available on other chains: Details how Auto Teleport can transfer assets from the user's most asset-rich chain to enable the transaction.
    image

Onboarding Modal (First-time user)

  • Displayed for first-time activation of Auto Teleport. (from off -> on)
  • displayed over the current modal, it does not replace, its on top of it. You can close it both ways, got it button or x-mark
    image

Signing

  • similar to Migration UI #7552

  • Header: The modal has a clear heading, "Sign Transactions"

  • Loader wheel: A loader or progress indicator is displayed next to each transaction section (Teleporting/Bridging, Checking Funds, and Buying NFT). This loader becomes active when the respective transaction is ongoing, providing visuals about the current process status.

  • Transaction sections:. These include:

    1. Teleporting/Bridging
    2. Checking Funds
    3. Buying NFT
  • Transaction state labels: Each transaction have labels showing transaction states: 'please sign' (for initial user approval), 'transaction pending', and 'completed' (once all operations within that step are successfully executed) It has also link to a transaction which when clicked will open new window on transaction explorer

image

states for the single row:
image

End

  • one thing missing is the confirmation screen - when everything is okay. I will make this later.
  • again, if you have any questions, let me know! Thank you
@exezbcz exezbcz added UX first Improvement for UX A-statemine-ahk related for statemine common chain, under new name Asset Hub Kusama p2 core functionality, or is affecting 60% of app A-rmrk related rmrkV1 A-rmrk2 A-statemint-ahp Polkadot Asset Hub related issues A-modal issues related to modals A-auto-teleport issues related to auto teleport chief labels Oct 13, 2023
@exezbcz exezbcz added p1 preventing everyone from using app and removed p2 core functionality, or is affecting 60% of app labels Oct 13, 2023
@hassnian
Copy link
Contributor

is this intern ? I'd like to take this one

@exezbcz
Copy link
Member Author

exezbcz commented Oct 16, 2023

is this intern ? I'd like to take this one

Go for it sir, looking forward 👀

@hassnian
Copy link
Contributor

👋

@kodabot
Copy link
Collaborator

kodabot commented Oct 16, 2023

ASSIGNED - @hassnian 🔒 LOCKED -> Tuesday, October 17th 2023, 21:39:47 UTC -> 36 hours

@hassnian hassnian mentioned this issue Oct 17, 2023
8 tasks
@JustLuuuu
Copy link
Member

@exezbcz: here is a nice example of autoteleport (bridge) - check this free mint) - https://zora.co/collect/zora:0x8358ba4df22d1d07c1eab243ea40cc8b92f8181b/1 its all in one step

@exezbcz
Copy link
Member Author

exezbcz commented Oct 18, 2023

@exezbcz: here is a nice example of autoteleport (bridge) - check this free mint) - https://zora.co/collect/zora:0x8358ba4df22d1d07c1eab243ea40cc8b92f8181b/1 its all in one step

Yup, will check. We have it in one step as well 😃 apart from the signing. On eth could be imo less txs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-auto-teleport issues related to auto teleport A-modal issues related to modals A-rmrk related rmrkV1 A-rmrk2 A-statemine-ahk related for statemine common chain, under new name Asset Hub Kusama A-statemint-ahp Polkadot Asset Hub related issues chief p1 preventing everyone from using app UX first Improvement for UX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants