From 85823ff4c41676e6b153f51ce88aa5d654e0e8d6 Mon Sep 17 00:00:00 2001 From: Psychotoxical Date: Fri, 13 Mar 2026 18:59:18 +0100 Subject: [PATCH] feat: Nord themes, Wayland compatibility, and stability fixes (v1.0.6) --- .github/workflows/release.yml | 2 +- CHANGELOG.md | 11 + package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/components/AlbumCard.tsx | 2 +- src/components/FullscreenPlayer.tsx | 10 +- src/components/PlayerBar.tsx | 6 +- src/components/QueuePanel.tsx | 51 +++-- src/i18n.ts | 2 + src/pages/AlbumDetail.tsx | 2 +- src/pages/Favorites.tsx | 2 +- src/pages/RandomMix.tsx | 12 +- src/pages/Settings.tsx | 12 +- src/store/playerStore.ts | 10 +- src/store/themeStore.ts | 2 +- src/styles/components.css | 68 +++--- src/styles/layout.css | 24 ++- src/styles/theme.css | 315 ++++++++++++++++++++++++++++ 20 files changed, 454 insertions(+), 85 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f546039..d4848926 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,7 +117,7 @@ jobs: APPIMAGE=$(find src-tauri/target/release/bundle/appimage -name "*.AppImage" -not -name "*.tar.gz" | head -1) echo "Patching: $APPIMAGE" APPIMAGE_EXTRACT_AND_RUN=1 ./"$APPIMAGE" --appimage-extract - sed -i '/^exec /i export WEBKIT_DISABLE_COMPOSITING_MODE=1\nexport WEBKIT_DISABLE_DMABUF_RENDERER=1' squashfs-root/AppRun + sed -i '/^exec /i export WEBKIT_DISABLE_COMPOSITING_MODE=1\nexport WEBKIT_DISABLE_DMABUF_RENDERER=1\nexport GDK_BACKEND=x11' squashfs-root/AppRun wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" \ -O appimagetool chmod +x appimagetool diff --git a/CHANGELOG.md b/CHANGELOG.md index 20cc4363..e23265c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.6] - 2026-03-13 + +### Added +- **Extended Themes**: Selection expanded to 8 themes, including the complete Nord series (Nord, Snowstorm, Frost, Aurora). +- **Light Theme Support**: Enhanced readability for Hero and Fullscreen Player components when using light themes (Latte, Snowstorm). + +### Fixed +- **Linux/Wayland Compatibility**: Fixed immediate crash on Wayland environments by forcing X11 backend for the AppImage. +- **Playback Stability**: Introduced seek debouncing to prevent audio stalls on Linux/GStreamer. +- **Windows Integration**: Improved drag-and-drop compatibility for systems using WebView2. + ## [1.0.5] - 2026-03-12 ### Added diff --git a/package.json b/package.json index 6955bf82..89b342c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "psysonic", - "version": "1.0.5", + "version": "1.0.6", "private": true, "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index a98dcd95..de05f768 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2732,7 +2732,7 @@ dependencies = [ [[package]] name = "psysonic" -version = "1.0.5" +version = "1.0.6" dependencies = [ "serde", "serde_json", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 11ecd433..2fdb431e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psysonic" -version = "1.0.5" +version = "1.0.6" description = "Psysonic Desktop Music Player" authors = [] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2aed4e36..70dfad32 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Psysonic", - "version": "1.0.5", + "version": "1.0.6", "identifier": "dev.psysonic.app", "build": { "beforeDevCommand": "npm run dev", diff --git a/src/components/AlbumCard.tsx b/src/components/AlbumCard.tsx index 6117d2f6..f270092c 100644 --- a/src/components/AlbumCard.tsx +++ b/src/components/AlbumCard.tsx @@ -29,7 +29,7 @@ export default function AlbumCard({ album }: AlbumCardProps) { draggable onDragStart={e => { e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('application/json', JSON.stringify({ + e.dataTransfer.setData('text/plain', JSON.stringify({ type: 'album', id: album.id, name: album.name, diff --git a/src/components/FullscreenPlayer.tsx b/src/components/FullscreenPlayer.tsx index 582d13bf..09ad3e2c 100644 --- a/src/components/FullscreenPlayer.tsx +++ b/src/components/FullscreenPlayer.tsx @@ -89,7 +89,7 @@ const FsPlayBtn = memo(function FsPlayBtn() { const togglePlay = usePlayerStore(s => s.togglePlay); return ( ); }); @@ -163,21 +163,21 @@ export default function FullscreenPlayer({ onClose }: FullscreenPlayerProps) {
diff --git a/src/components/PlayerBar.tsx b/src/components/PlayerBar.tsx index d4fc855e..7493aba9 100644 --- a/src/components/PlayerBar.tsx +++ b/src/components/PlayerBar.tsx @@ -83,7 +83,7 @@ export default function PlayerBar() {