[Sprint/QuietQuial](feat}: Remembering previous state of recurring wire checkbox. #2001
Summary
Closes #2001
To test,
Steps to test
- Log in
- Open up your local storage window
-
Go to /minds, click to open the Wire modal.
-
Default state should be off.
-
Check it.
-
You should see the storage item appear
preferred-recurring-wire-state
with the value1
. -
If you reload the page, and check back, the state should be loaded from the cookie and be on.
-
Check it off, the local storage item should update to 0.
-
Refresh, check the modal again, it should be off.
-
Send a recurring wire, check in
settings > subscriptions
that it is there and cancel it. -
Send a non-recurring wire. Check again but this time make sure it is not there.
Estimated Regression Scope
These changes affect the wire modal, specifically the checkbox - an error in here could cause problems for the whole modal, we should also be checking in your settings > subscriptions that none have been created after trying to send a wire.
added scoped labels
- Owner
added scoped label and automatically removed label
added 1 commit
- ab24317b - Flipping logic on recurring wire cookie to default to on
added scoped label and automatically removed label
added scoped label
added scoped label and automatically removed label
- Developer
The initial state should not be set to recurring by default. We need to be clearer on what the "Custom Subscription" rewards do before we can add the "One time" reward
added 105 commits
-
a1540c4a...e2bf6f13 - 104 commits from branch
master
- 3afe3c56 - Merge branch 'master' of gitlab.com:minds/front into feat/store-recurring-checkbox-2001
-
a1540c4a...e2bf6f13 - 104 commits from branch
assigned to @benhayward.ben
added scoped label and automatically removed label
changed the description