Commit Graph

31 Commits

Author SHA1 Message Date
ArneBo f4a391fe09 fix(front): dont close dropdowns when triggering the player from popover 2025-02-06 19:06:41 +01:00
petitminion 3b5de1a32d Supporting multi-artist per tracks/albums (#1568) 2024-08-29 14:11:35 +00:00
Kasper Seweryn ac8237645d fix(eslint): remove unused import
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2337>
2023-01-24 09:31:16 +00:00
Kasper Seweryn d4cf0bd590 fix(front): reinitialize virtual queue list whenever queue gets empty
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2337>
2023-01-24 09:31:16 +00:00
wvffle 6e740d6fda fix: Fix unhandled errors 2022-12-12 11:10:31 +00:00
wvffle a0c9fdee78 Fix composables calling `useI18n` too early 2022-11-30 14:24:23 +00:00
wvffle df77d2b153 Standardize plurals 2022-11-28 10:16:58 +00:00
Ciarán Ainsworth db9986e7b9 Add all missing strings 2022-11-28 10:16:58 +00:00
wvffle ebea32faf9 Replace gettext with i18n 2022-11-28 10:16:58 +00:00
wvffle d90f41ec51
Fix some linting problems 2022-10-30 19:20:32 +01:00
wvffle db932f2470
Add track position 2022-10-30 19:17:56 +01:00
wvffle 0118fe0c63
Resolve TODOs 2022-10-30 19:17:56 +01:00
wvffle f51007b807
Fetch only new queue tracks from indexedDB 2022-10-30 19:17:55 +01:00
wvffle 9f36c4b3a8
Cleanup old queue and player logic 2022-10-30 19:17:55 +01:00
wvffle f06464ffa2
Fix calling createTrack multiple times when radio track changes 2022-10-30 19:17:55 +01:00
wvffle c828e106b0
Add radio support 2022-10-30 19:17:55 +01:00
wvffle 1be6701752
Fix changing songs and add LRU cache 2022-10-30 19:17:54 +01:00
wvffle bef0d1dec4
WIP Rewrite queue 2022-10-30 19:17:54 +01:00
wvffle 15f5056a59
Add web worker communication for offloading the main thread 2022-10-30 19:17:53 +01:00
wvffle e7da8b5f43 Resolve some TODOs 2022-09-06 09:26:36 +00:00
wvffle e6bc1ab655 Fix some glitchtip errors 2022-09-06 09:26:36 +00:00
wvffle 1d4a3468ee Revert "Rewrite player logic"
This reverts commit ec630a234ab5ea0dccddaf06c462536bbf1ed329.
2022-09-06 09:26:36 +00:00
wvffle 97e7049333 Rewrite player logic
This commit will bring:
- Gapless play! (Fix #739)
- Chunked queue shuffling - we play first track after first 50 queue items are shuffled, then we shuffle chunks of 50 queue items with each new animation frame.
- We can now restore original queue order after shuffling! (Part of #1506)
- Preloading whole tracks into LRU cache (Should fix #1812)
- Preloading multiple tracks at once
2022-09-06 09:26:36 +00:00
wvffle c87bf7e6b8 Queue component enhancements
This commit provides following queue component enhancements:
- Use a virtual list to render queue items. We now render ~25-30 items at once compared to `queue.length` items. (Fix #1471)
- Faster queue opening and a smoother open animation. (Fix #1471)
- Faster song enqueueing: When enqueueing a playlist or an album, we modify the state only once compared to `tracks.length` modifications before.
- When opening the queue, current track is now already pre-scrolled and centered. This resolves an issue with big queues, where the track list was slowly scrolling to a random position.
- Dragging a track onto the edge of the track list will now scroll the container. You reorder a track from the very top to the very bottom even when you have 3000 tracks in the queue!
- Ability to use scroll wheel while reordering track items
- Track reordering on mobile devices! Currently dragging to edge is disabled
- Responsivity fixes
- Allow click outside modal (Fix #1581)
2022-09-06 09:26:36 +00:00
wvffle bd1a92c5f1 Set `operator-linebreak` to `before` 2022-09-06 09:26:36 +00:00
wvffle 951d339904 Fix audio playback 2022-09-06 09:26:36 +00:00
wvffle bbdb3dcb9d Fix auto-fixable linter issues 2022-09-06 09:26:36 +00:00
wvffle 405eed0c0f Add semantic ui types 2022-09-06 09:26:36 +00:00
wvffle a37835a9c2 Allow displaying multiple same tracks in track list
Well, there was some error with `@mouseleave` not firing in some cases for some weird reason, so I decided to handle the `hover` prop in the container
2022-09-06 09:26:36 +00:00
wvffle 0251789f82 Fix a bunch of typescript errors 2022-09-06 09:26:36 +00:00
wvffle 77594351ae Remove PlayOptions and Report mixins 2022-09-06 09:26:36 +00:00