Skip to content

[Sprint/QuietQuial](feat}: Remembering previous state of recurring wire checkbox. #2001

Ben requested to merge feat/store-recurring-checkbox-2001 into master

Summary

Closes #2001 (closed)

To test,

Steps to test

  1. Log in
  2. Open up your local storage window

image

  1. Go to /minds, click to open the Wire modal.

  2. Default state should be off.

  3. Check it.

  4. You should see the storage item appear preferred-recurring-wire-state with the value 1.

  5. If you reload the page, and check back, the state should be loaded from the cookie and be on.

  6. Check it off, the local storage item should update to 0.

  7. Refresh, check the modal again, it should be off.

  8. Send a recurring wire, check in settings > subscriptions that it is there and cancel it.

  9. 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.

Edited by Ben

Merge request reports

Loading