-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add payjoin option to hot wallet setup #2450
Add payjoin option to hot wallet setup #2450
Conversation
Initial thoughts.
after playing around with it, I have a functional request around the enable/disable switch + save button, that we should address when tackling the "Settings" page integration, but noting for the design meeting, as it's out of scope here (I think). ..and alternatively, I think breaking the recovery seed flow into multiple steps seems a bit overkill... Will keep thinking on this one. |
As stated in the previous discussion:
2°) The wording you put is good, it explains briefly what the gain is of using that feature, and links to the docs for more informations. There's really nothing more to add there IMHO. 3°) Regarding the seed import and this default behavior: |
If it's even remotely related to design, I feel like it is in scope of the meetings. IMO you can bring it up next time. |
I think from UX point of view this is confusing. Because now we have This checkbox would be better placed in the Receive page of the wallet and/or in the wallet settings rather than in the setup wizard. |
@NicolasDorier would it make sense to make it per-wallet only? Per-store seems to be bloated. |
Maybe, it is an onchain-wallet specific setting after all. Maybe we should move it from the Store Blob to the payment method blob |
This comment was marked as spam.
This comment was marked as spam.
In that case maybe adding the checkbox into the store wallet setup flow could work? |
Payjoin is now usable without an invoice (using wallet receive). Does that change your opinion on this @NicolasDorier? |
@Kukks I think the following:
|
We discussed this in yesterdays design meeting, here are the main points that were brought up:
Other than that two more points came up:
|
4744d81
to
0405693
Compare
@Kukks @NicolasDorier What are your thoughts regarding the comments that came up in the design meeting? |
ACK
We should look to existing external docs instead
ACK BUT the payjoin option is currently on a store wide level. We need to discuss to perhaps move the payjoin option to a wallet level then (eg. if payjoin is on right now it is on for both BTC and LTC if it is configured).
I disagree with putting the payjoin toggle there.
Correct, if we move the payjoin option to a wallet level, we can handle this properly.
IMO Payjoin = wallet feature. |
0405693
to
f5f057e
Compare
e7535c3
to
5eb1caf
Compare
🎉 I'm excited to see we're all on the same page now, and this is getting pushed forward after all the discussion, etc.. Will take a look at the branch as well. |
Integrated @Kukks' feedback and made it so that the PayJoin enabling option is only show if one of the networks supports PayJoin and has a hot wallet associated. @NicolasDorier Can you take a look again, let me know what you think and how to proceed here? Thanks! |
Enables payjoin by default when creating a hot wallet and offers the user an opt-out. Test fix
9fe24aa
to
61caf6b
Compare
@dennisreimann @dstrukt rather than removing the option in update store if the wallet isn't hot. What about make the box disabled with a tooltip explaining it is only for hotwallet? |
Hmm... is the intention simply to communicate that this functionality is possible with a hot wallet? If you feel it's really important to communicate this possibility, that solution is fine with me, but otherwise, I'd opt to remove it to reduce noise in the UI, as it will be enabled and visible by default if the wallet is hot. ..but perhaps I'm missing some additional context? @dennisreimann |
I'd second what @dstrukt just said. I think there'd be better places to educate the user about that functionality and presenting it as proposed isn't really actionable. The user would have to replace the existing wallet and I think that's rather unlikely. Maybe we should point out earlier in the setup flow that this feature exists and which route the user should take to enable it. Featuring it in the first (import vs. create) and second (hot wallet vs. watch-only) branching pages would be a better option imho. |
Follow-up to the discussion in #2406.
Enables payjoin by default when creating a hot wallet and offers the user an opt-out.
If we enable it by default I'd recommend to show it immediately and not hide it in the advanced settings, though it feels like it would naturaly belong there.
Wording for the accompanying text tbd, the help icon links to the PayJoin docs.
This is currently only available when generating a new hot wallet. It could potentially also be offered on the seed import page, but there we have a toggle for first choosing it to be a hot wallet. I think it might be confusing to have the separate PayJoin toggle there as well, because having the hot wallet enabled is a prerequisite for offering the PayJoin toggle.
Let's continue the discussion around that here.