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

Improve Generate Link for users without Massa Station #653

Open
thomas-senechal opened this issue Aug 28, 2023 · 2 comments
Open

Improve Generate Link for users without Massa Station #653

thomas-senechal opened this issue Aug 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@thomas-senechal
Copy link
Member

This is a proposal and still WIP

Context
We have a "generate link" feature that allows users to generate a link to request coins. They can then send this link to another user. This link will open the Massa Wallet module on the send coins page with the address and amount fields already filled.
Generated links looks as follow: https://station.massa/plugin/massa-labs/massa-wallet/web-app/send-redirect/?to=...&amount=...

When a user opens the link, they will either end up on the send coins page, or an error if Massa Station isn't running or if the user doesn't have Massa Station installed.

To avoid users ending up on an error page, we could redirect users to a web2 website page, for example, station.massa.net. So we would endup with a link like: https://station.massa.net/send-redirect/?to=...&amount=...

This page will check if Massa Station is running:

  • If so, we redirect to https://station.massa/plugin/massa-labs/massa-wallet/web-app/send-redirect/?to=...&amount=...
  • If not, we tell the user that we couldn't detect Massa Station running, they can install it (with a link to it), or open it (we can probably automate Massa Station starting, but a first version just telling people to open it is fine IMO). And, we display the Address that requested the amount and the requested amount so if the user doesn't want to install Massa Station, they still have the information to send the requested coins.

I think it could help us to improve user experience, even for people that does not have Massa Station installed, and that would also promote a Massa Station when users start using the generate link feature

User flow
Describe the user flow using user stories so the end result is super clear - PM

How to
List the step-by-step to get it do if needed - PM

Technical details
Give the technical insights so anyone in the team can tackle the tasks - Dev

QA testing
Does this task require some QA tests ?
If yes, explain how to validate it

@thomas-senechal thomas-senechal added the enhancement New feature or request label Aug 28, 2023
@thomas-senechal
Copy link
Member Author

Note that in case of Massa Station not detected as running, we could probably also use the Wallet Provider to allow users to send coins directly from the page using a web browser extension.

@loonggamma
Copy link
Contributor

@thomas-senechal thanks for starting this topic!

Priority-wise:
We will need to discuss a few different solutions regarding your proposal after the ICO quest release. For the ICO quests we will go with the currently implemented functionality and flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants