Commit Graph

137 Commits

Author SHA1 Message Date
jon r eadaa72c27 Refactor(front): implement responsive global page layout and improve mobile UX
closes #2090 #2401

Co-Authored-By: ArneBo <arne@ecobasa.org>
Co-Authored-By: Flupsi <upsiflu@gmail.com>
Co-Authored-By: jon r <jon@allmende.io>
2025-04-23 18:58:08 +02:00
petitminion d1287a36a5 Import/export playlist in xspf (#836). 2024-12-05 11:31:41 +00:00
petitminion 3b5de1a32d Supporting multi-artist per tracks/albums (#1568) 2024-08-29 14:11:35 +00:00
Kasper Seweryn 318aa196fa style: fix linting
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701>
2024-02-21 14:46:10 +01:00
Kasper Seweryn 5647a1072d feat: add tauri
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701>
2024-02-21 14:45:38 +01:00
Kasper Seweryn f5200eecea style: fix linting 2023-09-21 12:57:30 +02:00
Kasper Seweryn 185a61ecdd fix(front): fix initialization error on dev setup 2023-09-21 12:44:15 +02:00
Georg krause b0d6a0407a Merge branch 'pre-release/1.3.0' into develop 2023-03-24 18:17:44 +01:00
jo 7d96baa3cd feat(front): split large bundles into chunks
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2349>
2023-01-31 18:09:17 +00:00
Kasper Seweryn c793799161 feat(ui): respect custom css
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2338>
2023-01-26 20:31:22 +00:00
Ciarán Ainsworth db9986e7b9 Add all missing strings 2022-11-28 10:16:58 +00:00
wvffle 9f36c4b3a8
Cleanup old queue and player logic 2022-10-30 19:17:55 +01:00
wvffle e7da8b5f43 Resolve some TODOs 2022-09-06 09:26:36 +00:00
wvffle ee975e5854 Add error handler in all unhandled places 2022-09-06 09:26:36 +00:00
wvffle ad41d90a45 Check if user is authenticated when a page is created 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 53d9015e17 Fix #1796, Potentially fix #1471 2022-09-06 09:26:36 +00:00
wvffle 4c02478470 Fetch all user info on startup 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 57692dcf6a Fix queue and player bugs 2022-09-06 09:26:36 +00:00
wvffle 54a33cd14e Fix audio playback 2022-09-06 09:26:36 +00:00
wvffle cec34d49fa Rewrite player component to script setup 2022-09-06 09:26:36 +00:00
Kasper Seweryn 0b53ec5b1c Add store types and fix other type errors 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3ddae65c36 Fix view refreshing when hiding queue 2022-09-06 09:26:36 +00:00
Kasper Seweryn f1724fb5ea Fix double #app id 2022-09-06 09:26:36 +00:00
Kasper Seweryn 3915716dd6 Fix modals 2022-09-06 09:26:36 +00:00
Kasper Seweryn 8cc73ed73e Fix queue scroll 2022-09-06 09:26:36 +00:00
Kasper Seweryn b3022c26b6 Add onKeyboardShortcut composable
Fixes #1726
2022-09-06 09:26:36 +00:00
Kasper Seweryn 74ca3b1725 Migrate to vuex@4 and vue-router@4 2022-09-06 09:26:36 +00:00
Kasper Seweryn 7c5d259c2b Add vue 3 and compat 2022-09-06 09:26:36 +00:00
Kasper Seweryn f3ccfcbe48 Add PWA support 2022-09-06 09:26:36 +00:00
Kasper Seweryn f61fafec2a Remove '@/' 2022-09-06 09:26:36 +00:00
Kasper Seweryn b33af58147 Wait for all modules to load 2022-09-06 09:26:36 +00:00
Kasper Seweryn 4d14f0448f Fix linter problems 2022-09-06 09:26:36 +00:00
Kasper Seweryn 2b40707f4f Cleanup a lot of stuff
I've replaced `lodash` with `lodash-es`, so it can be tree-shaken

`~/modules` is a directory with application modules that run before app is mounted. Useful for configuration, web socket connection, and other stuff

`~/composables` is a directory with our custom composables. Much like `~/utils` but each util is in its own file
2022-09-06 09:26:36 +00:00
Kasper Seweryn f21c860985 Replace django-channels with `useWebSocket` from `@vueuse/core` (!1759) 2022-04-16 08:56:26 +00:00
Kasper Seweryn 4ce7386128
Fix env variables 2022-02-21 23:23:13 +01:00
Kasper Seweryn 80ed06db04
Remove @/lodash.js
Vite handles tree shaking out of the box, so cherry picking modules is
now pointless
2022-02-21 22:49:02 +01:00
Georg Krause d92d75f822
Fix linting of App.vue 2022-02-21 19:54:04 +01:00
Georg Krause e76ab66084
Start fixing lint errors in App.vue 2022-02-21 18:00:45 +01:00
Georg Krause e9c4bfe947
Start migration to vite 2022-02-21 15:07:07 +01:00
JuniorJPDJ 9a1619e3e0 chore(front): fix eslint error 2022-02-03 22:40:51 +01:00
JuniorJPDJ 8f53f41395 fix(front): update code to work with django-channels v2 2022-02-03 22:17:53 +01:00
Philipp Wolfer d93f0d107d Allow using dark / light theme as indicated by prefers-color-scheme media feature 2022-01-04 09:14:05 +00:00
Ciarán Ainsworth 58df0d4529 Profile menu redesign 2021-11-26 11:01:58 +00:00
Ciaran Ainsworth c908eaa1cd Add width listener for responsive conditional rendering 2021-07-04 05:24:04 +00:00
Agate 6c580bc411 Added aria-landmarks on important pieces of content 2020-08-04 17:27:00 +02:00
Agate 24e414c6d9 Fix #1130: Set proper lang attribute on HTML document 2020-07-04 11:39:42 +02:00
Agate cd422832dd New theming system 2020-05-15 14:12:36 +02:00
Agate ec8dfdb740 Use scoped tokens to load <audio> urls instead of JWT 2020-05-11 10:06:35 +02:00