Closed iamdharmesh closed 1 month ago
I have verified this PR in the fix/persist-list
branch which has been fixed and is functioning as intended.
I tested the following on this branch:
https://github.com/user-attachments/assets/848a485c-35fd-44e2-8bf3-36eca3388a11
https://github.com/user-attachments/assets/c3775270-8999-42be-aaed-28510d445856
Testing Environment
Steps to Test- As mentioned in the PR description. Test Results - It is working as expected. Functional Demo / Screencast - Special Notes - Ready for code review (Woo) Testing Document status: Cases related to this Issue/PR are added to the Critical Flow Wiki pages:
I have verified this PR in the smoke-test branch and it is working as expected.
Testing Environment
Next Step- Ready to Merge 🚀
Description of the Change
As reported internally in Slack, when logging out of the Mailchimp account, the settings do not remain persistent between logging out and logging in again. Although we are not clearing the settings, the saved list ID is cleared upon logout (added in #54), which requires re-selection after login. Additionally, updating the list sets default values for the settings, overwriting the saved ones.
This PR resolves the issue by preventing the saved Mailchimp list ID from being cleared on logout. The list ID will only be cleared on login if it is not available under the account. Therefore, if we log in with a different user account, the ID will be cleared. otherwise, it will remain unchanged
How to test the Change
Changelog Entry
Credits
Props @jeffpaul @iamdharmesh
Checklist: