Commit Graph
3204 Commits
Author SHA1 Message Date
victorrhgap cf2df33bc4 feat(offline): add manual network check button
Make NowPlayingBar offline indicator clickable to force immediate
network check. Add Check Now button in Settings offline section.

cc
2026-03-25 16:46:53 -06:00
victorrhgap a8910a66c7 feat(prefetch): use exponential backoff for cache pre-loading
Replace fixed 500ms delays with download_with_backoff in prefetch
path. Gives the same 1s/2s/4s backoff and 4th retry as playback.

cc
2026-03-25 15:35:58 -06:00
victorrhgap ead1516201 feat(settings): add quality fallback behavior dropdown
New dropdown in the Playback section lets users choose what happens
when all quality retries fail: ask (modal), always retry at lowest,
or always skip. Loaded from and persisted to the backend via
v2_get/set_quality_fallback_behavior.

cc
2026-03-25 15:30:48 -06:00
victorrhgap e966f35b30 feat(ui): wire QualityFallbackModal into global layout
Listen for 'quality-fallback-prompt' custom events dispatched by
playbackService, open the modal with track context, and handle
try-lower / skip / close actions.

cc
2026-03-25 15:29:27 -06:00
victorrhgap 3559cedeca feat(playback): handle QualityExhausted with user preference
When v2_play_track returns QualityExhausted, the service checks the
persisted fallback behavior: auto-retry at lowest quality, auto-skip,
or emit a custom event so the UI can show the QualityFallbackModal.

Also passes forceLowestQuality option through to the backend invoke.

cc
2026-03-25 15:27:29 -06:00
victorrhgap a902434411 feat(ui): add QualityFallbackModal component
Modal displayed when all quality retries are exhausted during Qobuz
streaming. Offers the user two choices: retry at lowest quality or
skip to the next track. Includes a "remember my choice" checkbox
that persists the preference via v2_set_quality_fallback_behavior.

cc
2026-03-25 15:26:39 -06:00
victorrhgap 283302f6d2 feat(i18n): add quality fallback modal and settings translations
All 5 locales: en, es, de, fr, pt.

cc
2026-03-25 15:22:58 -06:00
dependabot[bot] 9e53095be7 chore(deps): bump rustls-webpki from 0.103.9 to 0.103.10 in /src-tauri
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.103.9 to 0.103.10.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.9...v/0.103.10)

---
updated-dependencies:
- dependency-name: rustls-webpki
  dependency-version: 0.103.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-25 20:43:23 +00:00
victorrhgap b08e5ecf02 feat(audio): exponential backoff retry with quality fallback
Replace fixed 500ms delays with 1s/2s/4s exponential backoff.
Add 4th retry attempt at fallen-back quality level.
Return QualityExhausted structured error when all attempts fail.
Add force_lowest_quality param to v2_play_track.

cc
2026-03-25 14:22:07 -06:00
victorrhgap 94518e56c2 feat(audio): add v2 commands for quality fallback behavior
v2_get_quality_fallback_behavior and v2_set_quality_fallback_behavior
to read/write the persisted user preference.

cc
2026-03-25 14:06:21 -06:00
victorrhgap 038f846884 feat(audio): add quality_fallback_behavior to audio settings
Persisted in audio_settings.db, protected by ADR-003.
Survives reset_all(), defaults to 'ask'.

cc
2026-03-25 14:03:56 -06:00
victorrhgap 5ad1179628 ci: add platform triage workflow for issue auto-assign
When a new issue selects macOS as platform, automatically labels it
platform:macos and assigns afonsojramos. Linux issues get labeled
platform:linux.

cc
2026-03-25 13:18:30 -06:00
victorrhgap 00d6d02c0d feat(issues): add platform dropdown to all issue templates
Adds Linux/macOS selection as first field in bug reports, feature
requests, and feedback forms. Adapts Linux-specific fields (DE, display
server) to indicate they are Linux-only and adds macOS options to
install method and audio backend dropdowns.

cc
2026-03-25 13:15:54 -06:00
victorrhgap ff16767fce feat(about): add afonsojramos and GwendalBeaumont to contributors
cc
2026-03-25 13:15:44 -06:00
victorrhgap da32afffee Merge pull request #208 from GwendalBeaumont/refactor/external/i18n-interpolation
refactor(i18n): replace hardcoded strings in SearchView, PlaylistDetailView, AlbumMenu

cc
2026-03-25 13:08:09 -06:00
Gwendal Beaumont ff234c37ba refactor: add spanish interpolation strings 2026-03-25 16:30:05 +01:00
Gwendal Beaumont 6f1424ce54 refactor: add french interpolation strings 2026-03-25 16:29:54 +01:00
Gwendal Beaumont aa6043408a refactor: add english interpolation strings 2026-03-25 16:29:46 +01:00
Gwendal Beaumont 1eb886daa8 refactor: add interpolation to playlist view 2026-03-25 16:10:36 +01:00
Gwendal Beaumont e114723921 Merge pull request #1 from GwendalBeaumont/chore/external/update-fr-translation
chore: update french translation
2026-03-25 08:20:17 +01:00
victorrhgap 235bd08e2c fix(qconnect): tolerate missing queue_version major/minor fields
Qobuz changed their protocol to sometimes send QueueVersionRef
without major/minor populated. Our decoder treated these as
required fields, causing all cloud_type=6 messages to fail with
"missing required numeric field 'queue_version.major'".

Default to 0 when absent — matches the dev panel behavior.

cc
2026-03-24 21:14:44 -06:00
victorrhgap 39e5867a7d fix: proxy all images through reqwest to bypass WebKit TLS (#163)
When image cache is disabled or unavailable, images were returned
as original HTTPS URLs for WebKit to load directly. On AppImage
distros where GnuTLS can't find system CA certs, this fails silently.

Now all images go through reqwest (rustls, bundled CA) and are
written to temp files as file:// URLs. WebKit never needs to
resolve HTTPS for images.

cc
2026-03-24 20:35:32 -06:00
Victor RH e6ea2b483c Merge pull request #198 from vicrodh/dependabot/cargo/src-tauri/rustls-webpki-0.103.10 2026-03-24 20:17:12 -06:00
victorrhgap a25bcb0e76 fix(ci): macOS build aarch64-only, drop x86_64 cross-compile
Cross-compiling x86_64 from aarch64 fails on openssl-sys (no
cross pkg-config). Apple Silicon only — Intel Macs use Rosetta 2.

cc
2026-03-24 20:14:47 -06:00
victorrhgap a347b39e07 fix(ci): use macos-latest for both arch targets
macos-13 runner is deprecated. Use macos-latest (Apple Silicon)
with cross-compilation for x86_64 target.

cc
2026-03-24 20:04:23 -06:00
victorrhgap 84b3abc636 Revert "ci: add macOS release workflow (unsigned DMG)"
This reverts commit 0ce4cc7bc1.
2026-03-24 19:40:26 -06:00
victorrhgap 0ce4cc7bc1 ci: add macOS release workflow (unsigned DMG)
Builds DMG for both Apple Silicon (aarch64) and Intel (x86_64).
Triggered on tag push or manual dispatch. Artifacts uploaded to
GitHub Releases as pre-release.

Unsigned — users bypass Gatekeeper with right-click > Open.

cc
2026-03-24 19:39:44 -06:00
victorrhgap 052de7fb54 ci: add macOS release workflow (unsigned DMG)
Builds DMG for both Apple Silicon (aarch64) and Intel (x86_64).
Triggered on tag push or manual dispatch. Artifacts uploaded to
GitHub Releases as pre-release.

Unsigned — users bypass Gatekeeper with right-click > Open.

cc
2026-03-24 19:37:10 -06:00
victorrhgap 9f7304b35b Merge branch 'pr-181' into pre-release 2026-03-24 19:28:57 -06:00
victorrhgap badbbf2973 fix: ESC in immersive now exits fullscreen too (#202)
ESC key was calling onClose() directly, skipping the fullscreen
exit logic. Changed to handleExitImmersive() which exits fullscreen
before closing, matching the behavior of the UI close buttons.

cc
2026-03-24 19:12:21 -06:00
victorrhgap 45b3390c6d Merge branch 'pr-205' into pre-release 2026-03-24 19:09:48 -06:00
victorrhgap d27ab66595 fix: SystemTooltip wraps long text instead of overflowing (#166)
white-space: nowrap caused help tooltips to bleed outside their
container. Changed to normal with max-width 360px so technical
help text wraps properly.

cc
2026-03-24 18:59:51 -06:00
victorrhgap b826f88fad feat(hifi-wizard): non-systemd support and verify step fix
- Add Gentoo/OpenRC and Void/runit to distro selector
- All systemctl commands now adapt to selected distro init system
- Verify step warns user to close wizard before testing
- Status/restart/rollback commands are distro-aware

cc
2026-03-24 18:48:41 -06:00
victorrhgap 9a1b88e5bf fix: prevent image flicker on WebKitGTK 2.50+ (compositing layer fix)
WebKitGTK 2.50.x evicts image textures from GPU memory during
repaints triggered by hover/scroll, causing momentary placeholder
flash. Force each cached image into its own compositing layer via
will-change + translateZ(0) to prevent texture eviction.

Applied in cachedSrc action so all 18 components using it are fixed.

cc
2026-03-24 18:23:22 -06:00
victorrhgap 499f188bf8 fix: hybrid Intel+NVIDIA treated as NVIDIA-only for compositing
main.rs GPU conditions checked has_nvidia && !has_amd but not
has_intel, so hybrid laptops (Intel iGPU + NVIDIA dGPU) had
compositing and DMA-BUF disabled unnecessarily.

Also remove duplicate DMABUF/compositing logic from lib.rs that
ran before main.rs and conflicted with its GPU-aware decisions.

cc
2026-03-24 18:03:46 -06:00
victorrhgap d9ea5f96e0 fix: make diagnostics panel on-request instead of always visible
Panel is collapsed by default, loads data only when opened.

cc
2026-03-24 18:03:37 -06:00
victorrhgap 7f952b11ac feat: add system diagnostics panel to Developer Mode
Tabular view comparing saved vs runtime settings for audio,
graphics, and environment variables. Collapsible sections with
match/mismatch indicators and export to clipboard.

cc
2026-03-24 17:55:35 -06:00
victorrhgap be900ab628 feat: add v2_get_runtime_diagnostics command
Single IPC call returns saved audio/graphics/developer settings,
runtime GPU detection state, and active environment variables.

cc
2026-03-24 17:51:57 -06:00
victorrhgap 0265f32a97 docs: add 3-phase plan for diagnostics, NVIDIA defaults, setup wizard
Phase 1: Developer diagnostics tool (saved vs runtime settings)
Phase 2: GPU-aware smart defaults for NVIDIA-only Wayland
Phase 3: First-run setup wizard (Cider-style)

cc
2026-03-24 17:41:40 -06:00
victorrhgap a472930cd0 fix: respect saved graphics settings at startup
apply_linux_webkit_workarounds() was unconditionally disabling
DMABUF renderer and compositing mode, ignoring what the user
configured in Appearance > Composition settings.

Now reads graphics_settings.db and developer_settings.db at startup
(readonly, before Tauri state init) so toggles actually take effect.

- Add new_readonly() to GraphicsSettingsStore and DeveloperSettingsStore
- Hardware Acceleration ON = compositing enabled
- Force DMA-BUF toggle respected for WEBKIT_DISABLE_DMABUF_RENDERER
- Env vars still override saved settings

cc
2026-03-24 16:06:24 -06:00
victorrhgap 1a5104150a perf: batch download status checks on Home view
Replace 8+ sequential per-section IPC calls with a single batch
command. Backend reads all tracks once instead of N times.

- Add v2_check_albums_fully_cached_batch (single DB read, HashMap return)
- Remove per-section await tick() + loadAllAlbumDownloadStatuses() calls
- Single batch call at end of loadHome() after all data resolves
- Keep individual check for on-click refresh (single album)

cc
2026-03-24 15:58:24 -06:00
Gwendal Beaumont 38f4d20c6c refactor(SearchView): replace hard-coded strings 2026-03-24 09:22:02 +01:00
Gwendal Beaumont 27b457dee9 chore: update french translation 2026-03-23 22:06:22 +01:00
vicrodh 3366c2e8d9 ci(gentoo): use APT_REPO_TOKEN instead of OVERLAY_PAT
cc
2026-03-22 23:10:36 -06:00
vicrodh 346db3785e ci: add release-gentoo workflow for overlay auto-update
Triggered by release-linux completion (same as AUR).
Updates ebuilds in vicrodh/qbz-overlay with new version.
Requires OVERLAY_PAT secret for cross-repo push.

cc
2026-03-22 22:55:49 -06:00
vicrodh 72b794a81c docs: add Gentoo overlay installation to README
cc
2026-03-22 22:49:30 -06:00
vicrodh c3accf7e93 fix: allow network folders in manual offline mode
loadFolders was marking ALL network folders as inaccessible when
offline, regardless of the reason. Manual offline mode and
not-logged-in still have LAN access for NAS/Plex — only no_network
should hide them. Now uses shouldExcludeNetworkFolders() which
already had the correct logic.

cc
2026-03-21 14:35:51 -06:00
vicrodh eeb155641c fix: initialize all user stores in offline session activation
activate_offline_session was only initializing library, offline,
offline_cache, audio_settings, and playback_prefs. Missing stores
caused "No active session" errors for:
- download_settings (Show in Local Library toggle)
- session_store (session persistence)
- favorites_cache/prefs (favorites view)
- tray_settings (tray icon settings)

Now mirrors activate_session but skips online-only services
(MusicBrainz, ListenBrainz, Last.fm, API cache, artist vectors).

cc
2026-03-21 14:32:02 -06:00
vicrodh 86520df919 feat: make offline notice banner dismissible in Local Library
cc
2026-03-21 14:28:01 -06:00
vicrodh 8316e1f4c9 fix: logout spinner hang and last_user_id preservation
Two bugs:

1. mainContentEl teardown crash on logout — the $effect cleanup used
   non-null assertion (!) on an element that becomes null when the DOM
   is destroyed during logout. Changed to optional chaining (?.).
   This TypeError was blocking the render, causing the spinner to hang
   instead of showing the login form.

2. deactivate_session was clearing last_user_id, which broke offline
   mode after logout. The user's data stays on disk — only factory
   reset should clear the last_user_id marker.

cc
2026-03-21 14:25:28 -06:00