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: Offline Shopping List Fixes V2 - Electric Boogaloo #3837

Conversation

michael-genson
Copy link
Collaborator

@michael-genson michael-genson commented Jul 3, 2024

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Fixed the bug that broke 1.10, then went and re-wrote the state management to be a lot simpler (and avoid that kind of bug in the future).

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #3859

Special notes for your reviewer:

(fill-in or delete this section)

"But it worked on my machine!"

Testing

(fill-in or delete this section)

Tested from a browser with pre-existing state (i.e. has been using the offline shopping list) as well as from a browser with no state (i.e. a new incognito tab).

@michael-genson
Copy link
Collaborator Author

In draft because this will overwrite #3850, which we don't want to do until #3847 is merged

@michael-genson michael-genson marked this pull request as ready for review July 5, 2024 02:09
@michael-genson
Copy link
Collaborator Author

Merged and made sure the temp fix isn't overwritten. Will add that to #3847

@michael-genson
Copy link
Collaborator Author

This also fixes offline state not being detected on the PWA properly

@michael-genson michael-genson merged commit 9d58f9b into mealie-recipes:mealie-next Jul 28, 2024
11 checks passed
@michael-genson michael-genson deleted the fix/offline-shopping-list-fixes-v2 branch July 28, 2024 02:26
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.

[BUG] - Offline detection of shopping list is broken
2 participants