interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.
Apache License 2.0
46 stars 2 forks source link

[FEATURE REQUEST] Local storage not being cleared after connecting a wallet address #334

Open raducristianpopa opened 1 week ago

raducristianpopa commented 1 week ago

Steps to reproduce

  1. Upload public key on the test wallet
  2. Fill out the connect wallet form and perform the interaction step
  3. Accept the grant on test wallet's IdP
  4. Open the extension popup and go to settings page
  5. Disconnect the wallet

Expected result

The connect wallet form inputs should not be prefilled when the wallet address was disconnected.

Actual result

The inputs are prefilled with the previous data - wallet address, amount and the renew monthly option.

Screenshots or videos

No response

Additional context

No response

Operating system

macOS

Operating system version

No response

Browsers

Chrome

Browser version

125.0.6422.142

Extension version

Alpha

sidvishnoi commented 1 week ago

The connect wallet form inputs should not be prefilled when the wallet address was disconnected.

I think it's good that they're prefilled? The fields can still be edited and I can connect same wallet address with a different amount without needing to fill again.

tselit commented 1 week ago

To do: add a comment (chat to Radu) and close

sidvishnoi commented 1 day ago

@raducristianpopa Ok to close this?