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

Limited UX customization for apps #458

Open
code3z opened this issue Jul 9, 2021 · 2 comments
Open

Limited UX customization for apps #458

code3z opened this issue Jul 9, 2021 · 2 comments

Comments

@code3z
Copy link

code3z commented Jul 9, 2021

I'd like apps to have a very limited ability to modify the hub UX, like when the popup opens the app can display a customized welcome message, or when triggering a transaction the app can be able to skip the account choosing process.

@sisou
Copy link
Member

sisou commented Jul 13, 2021

Can you tell us a bit more about for what usecase you would display a message, and what happens after?

For the address-selection skipping: the signTransaction method has no account-selection, and for the checkout method the account selection can be skipped by setting the sender and maybe forceSender options in the request (https://nimiq.github.io/hub/api-reference/checkout#options).

@code3z
Copy link
Author

code3z commented Jul 24, 2021

Here is a use case for checkout API:

Replace the “Imagine if paying with crypto was easy” screen with one that better relates to the app (in this case a subscription platform). Below the custom message, have a button for login/sign up/connect ledger.

Doing this wouldn’t be a high priority but it can improve the experience for first-timers.

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

No branches or pull requests

2 participants