hub
hub copied to clipboard
Limited UX customization for apps
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.
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).
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.