mirror of
https://github.com/binimum/tidal-ui.git
synced 2026-04-26 20:35:48 +03:00
[PR #58] [CLOSED] Player Persistence, Advanced Caching, and Mobile UI Enhancements #120
Labels
No labels
bug
duplicate
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tidal-ui#120
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/binimum/tidal-ui/pull/58
Author: @biase-d
Created: 11/18/2025
Status: ❌ Closed
Base:
main← Head:misc-fixes📝 Commits (10+)
d39e706fix webmanifest55ead04fix navigation resetting playback5794b5bsave playback and queue to local storageba3343dadd api health checks, fix favicon and manifest urlf44b6edHide Header on scroll when on mobile9dd94f4add compact playerc946386preserve user context when adding to queue or playing a new song9167353add health checks157d314Implement a hybrid caching strategyd3740f9Merge branch 'main' into misc-fixes📊 Changes
9 files changed (+712 additions, -519 deletions)
View changed files
📝
src/lib/components/AudioPlayer.svelte(+363 -241)📝
src/lib/components/SearchInterface.svelte(+6 -3)📝
src/lib/config.ts(+61 -146)➕
src/lib/stores/apiHealth.ts(+84 -0)📝
src/lib/stores/player.ts(+53 -7)📝
src/routes/+layout.svelte(+57 -49)📝
src/routes/+page.svelte(+11 -4)📝
src/service-worker.ts(+76 -68)📝
static/site.webmanifest(+1 -1)📄 Description
Hi, Thanks for the awesome project. I have made a few changes hope they will be useful
Player State Persistence: The player's state is no longer wiped out on navigation, The current queue, active track, and playback progress are now saved to Local Storage. This prevents the user from losing their listening session upon a page refresh.
Hybrid Caching Strategy: Implements a sophisticated dual-cache system in the service worker. The core application shell is stored in a versioned cache that updates with new deployments, while a separate, persistent cache is used for data (like audio streams and API responses). This ensures media is not re-downloaded unnecessarily after an update
Reliable API Routing: Integrates the API health-checking system directly into the fetch logic. Requests are now intelligently routed to healthy, responsive endpoints, ensuring the application remains functional even if some API servers are down
Compact Audio Player: The audio player now collapses into a space-saving compact mode on smaller viewports, preventing it from taking up excessive screen real estate
Auto-Hiding Header on Mobile: To maximize content visibility, the main header now gracefully slides out of view when scrolling down and reappears when scrolling up on smaller screen devices
Fixes: Corrects the URLs for the
faviconandsite.webmanifestfiles to ensure they load correctly and the PWA is properly configured🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.