mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[PR #306] [MERGED] Cache user's data into files (liked tracks, saved albums, followed artists, etc) #708
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#708
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/306
Author: @aome510
Created: 12/2/2023
Status: ✅ Merged
Merged: 12/2/2023
Merged by: @aome510
Base:
master← Head:cache-user-save-data📝 Commits (5)
659142fsave user's data into cache upon retrieving from APIsf7cfb3baddFileCacheKeya4a92b7addload_data_from_file_cache66f490aload user's data from file caches upon initializationcdc27a0renameCACHE_DURATIONtoTTL_CACHE_DURATION📊 Changes
7 files changed (+140 additions, -48 deletions)
View changed files
📝
spotify_player/src/client/mod.rs(+39 -11)📝
spotify_player/src/main.rs(+1 -1)📝
spotify_player/src/state/data.rs(+75 -10)📝
spotify_player/src/state/mod.rs(+6 -4)📝
spotify_player/src/state/model.rs(+9 -17)📝
spotify_player/src/ui/page.rs(+5 -1)📝
spotify_player/src/ui/popup.rs(+5 -4)📄 Description
Resolves #291
Resolves #235
store_data_into_file_cacheto save user's data into a file upon receiving Spotify API's responseload_data_from_file_cacheto load user's data from a file upon initializing the application's state🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.