Skip to content
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

fix: ensure confirmation state persists across sessions #1943

Merged
merged 4 commits into from
Jul 21, 2024

Conversation

vinaybadgujar102
Copy link
Collaborator

resolves #1925
The bug occurred due to mistyping the localStorage key name "confirmationState" as "confirmationService". To prevent similar issues in the future, I created an enum that maps localStorage keys to ensure type safety.

Copy link

vercel bot commented Jul 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
zinzen ✅ Ready (Inspect) Visit Preview Jul 21, 2024 6:31am

@vinaybadgujar102 vinaybadgujar102 changed the title confirmation bug fix: confirmation state not being persistenct accross the session Jul 1, 2024
@vinaybadgujar102 vinaybadgujar102 changed the title fix: confirmation state not being persistenct accross the session fix: ensure confirmation state persists across sessions Jul 1, 2024
@vinaybadgujar102 vinaybadgujar102 marked this pull request as ready for review July 1, 2024 08:26
tijlleenders
tijlleenders previously approved these changes Jul 1, 2024
Copy link
Owner

@tijlleenders tijlleenders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree @Tushar-4781 ?

@tijlleenders
Copy link
Owner

@vinaybadgujar102 The playwrigt test failing is the 'flaky' test again?

@vinaybadgujar102
Copy link
Collaborator Author

Yeah the collaboration one

@tijlleenders
Copy link
Owner

Agree @Tushar-4781 ?

bump

Tushar-4781
Tushar-4781 previously approved these changes Jul 18, 2024
@vinaybadgujar102
Copy link
Collaborator Author

@Tushar-4781 fixed merge conflict.

@tijlleenders
Copy link
Owner

@Tushar-4781 bump

Tushar-4781
Tushar-4781 previously approved these changes Jul 21, 2024
@tijlleenders
Copy link
Owner

@vinaybadgujar102 Can you resolve the merge conflicts?

@vinaybadgujar102
Copy link
Collaborator Author

@vinaybadgujar102 Can you resolve the merge conflicts?

Done

@tijlleenders tijlleenders merged commit 5213855 into main Jul 21, 2024
4 of 5 checks passed
@tijlleenders tijlleenders deleted the vin/1925/confirmation-bug branch July 21, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't ask again pref not stored
3 participants