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

Use Vuex to track when the package list was last updated from the API #1274

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

anttimaki
Copy link
Collaborator

No description provided.

@anttimaki anttimaki requested a review from MythicManiac March 19, 2024 15:55
Reading the value into Vuex is done in the same action as reading the
package list in the hopes that they stay in sync. There's nothing to
stop someone unknowingly updating the values separately through the
mutators though.
This change is required for eventually dropping the API request cached
on file in favour of IndexedDB.
@anttimaki anttimaki force-pushed the drop-thunderstorepackages branch from d9b89a7 to fb4e30a Compare April 3, 2024 13:19
@anttimaki anttimaki force-pushed the ts-mods-last-updated branch from 8c50dae to b25a965 Compare April 3, 2024 13:20
@anttimaki anttimaki changed the title Timestamp latest successful mod list updates from Thunderstore API to IndexedDB Use Vuex to track when the package list was last updated from the API Apr 3, 2024
@anttimaki anttimaki marked this pull request as ready for review April 3, 2024 13:21
Base automatically changed from drop-thunderstorepackages to develop April 15, 2024 06:28
@anttimaki anttimaki merged commit 4f8fc82 into develop Apr 15, 2024
7 checks passed
@anttimaki anttimaki deleted the ts-mods-last-updated branch April 15, 2024 06:29
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.

2 participants