wvffle
fa6a1575e2
Fix moving queue items in FireFox
2022-09-06 09:26:36 +00:00
wvffle
f470e0649e
Better fav button in queue item
2022-09-06 09:26:36 +00:00
wvffle
3436c5b985
Add margin to fav button
2022-09-06 09:26:36 +00:00
wvffle
096ee92408
Use nicer colors
2022-09-06 09:26:36 +00:00
wvffle
3d518e5b64
Favorite from queue
2022-09-06 09:26:36 +00:00
wvffle
1df46d9691
Fix toast container making ui unclickable
2022-09-06 09:26:36 +00:00
wvffle
2d16cd1cdf
Oprimize RAF
2022-09-06 09:26:36 +00:00
wvffle
476f0ee06d
Fix duration in radios
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
9234720710
Fix sidebar on mobile ui
2022-09-06 09:26:36 +00:00
wvffle
a7f4df68ea
Fix dropdowns
2022-09-06 09:26:36 +00:00
wvffle
232f0ff465
Resume playback when changing song from queue
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
bd1a92c5f1
Set `operator-linebreak` to `before`
2022-09-06 09:26:36 +00:00
wvffle
998c7e1c09
Fix radio buttons
2022-09-06 09:26:36 +00:00
wvffle
db167ad80b
Fix rounded corners in progress bars
2022-09-06 09:26:36 +00:00
wvffle
fae4788000
Even smoother progress animations
2022-09-06 09:26:36 +00:00
wvffle
6b179885ce
Fetch inbox data
2022-09-06 09:26:36 +00:00
wvffle
9d8465c950
Fetch notification count only when logged in
2022-09-06 09:26:36 +00:00
wvffle
8b90029d08
Fix notification statuses
2022-09-06 09:26:36 +00:00
wvffle
2323cf70d7
Update vite
2022-09-06 09:26:36 +00:00
wvffle
8ef28e3aa3
Fix unhandled error
2022-09-06 09:26:36 +00:00
wvffle
1f27692e37
Fix edits list
2022-09-06 09:26:36 +00:00
wvffle
8719e348df
Fix edit notification count
2022-09-06 09:26:36 +00:00
wvffle
aa2d83ac2c
Fix notification fetching
2022-09-06 09:26:36 +00:00
wvffle
3dff9c74d9
Fix front settings fetching
2022-09-06 09:26:36 +00:00
wvffle
9d7327a45f
Fix jitter in firefox
2022-09-06 09:26:36 +00:00
wvffle
0bb424a777
Fix production building
2022-09-06 09:26:36 +00:00
wvffle
c0719c21f1
Fix #1298
2022-09-06 09:26:36 +00:00
wvffle
998bd02a05
Fix #1215
2022-09-06 09:26:36 +00:00
wvffle
34610670c6
Fix #1381
2022-09-06 09:26:36 +00:00
wvffle
debe024f88
Add option to disable HMR
2022-09-06 09:26:36 +00:00
wvffle
951d339904
Fix audio playback
2022-09-06 09:26:36 +00:00
wvffle
b8f5f5d6ef
Fix #1297
2022-09-06 09:26:36 +00:00
wvffle
bbdb3dcb9d
Fix auto-fixable linter issues
2022-09-06 09:26:36 +00:00
wvffle
73b1dc8f30
MIgrate some components
2022-09-06 09:26:36 +00:00
wvffle
2900c3818c
Fix #1829
2022-09-06 09:26:36 +00:00
wvffle
09c1aba30d
Rename <modal> to <semantic-modal>
2022-09-06 09:26:36 +00:00
wvffle
937a44251e
Fix custom css
2022-09-06 09:26:36 +00:00
wvffle
c56627bfcf
Fix fomantic
2022-09-06 09:26:36 +00:00
wvffle
405eed0c0f
Add semantic ui types
2022-09-06 09:26:36 +00:00
wvffle
af0129b598
Simplify SetInstanceModal logic
2022-09-06 09:26:36 +00:00
wvffle
6cdf2ddd1e
Fix webworker manifest in dev mode
2022-09-06 09:26:36 +00:00
wvffle
e03e2ec901
Migrate home component
...
Adds some code that is a starter to #1316 and #1534 but depends on #1827
2022-09-06 09:26:36 +00:00
wvffle
7408fe17ec
Fix radio button
2022-09-06 09:26:36 +00:00
wvffle
58ef3757a4
Fix rendering instance settings
2022-09-06 09:26:36 +00:00
wvffle
58d40a1eea
Fix #1635
2022-09-06 09:26:36 +00:00
wvffle
285a0af7c1
Fix playlist card urls
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
3e5a772027
Fix duration rendering
2022-09-06 09:26:36 +00:00
wvffle
1c770ff5c2
Fix force adding already existing track to the playlist ( #1802 )
2022-09-06 09:26:36 +00:00
wvffle
a545333ff7
Fix crashing on track number
2022-09-06 09:26:36 +00:00
wvffle
c5f7022869
Migrate a bunch of components
2022-09-06 09:26:36 +00:00
wvffle
de4f445e9b
Fix up some tsc errors
2022-09-06 09:26:36 +00:00
wvffle
779d71abbc
Migrate a bunch of components
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
11e7be988a
Migrate EmbedWizard
2022-09-06 09:26:36 +00:00
wvffle
b597dc4a71
Migrate Settings and SettingsGroup
2022-09-06 09:26:36 +00:00
wvffle
58eec54952
Cleanup tsconfig
2022-09-06 09:26:36 +00:00
wvffle
8d5464c28e
Workaround vuejs/core/pull/4512
2022-09-06 09:26:36 +00:00
wvffle
77594351ae
Remove PlayOptions and Report mixins
2022-09-06 09:26:36 +00:00
wvffle
74e88c26e8
Remove todo
2022-09-06 09:26:36 +00:00
wvffle
7d8d1a414d
Fix #1777
2022-09-06 09:26:36 +00:00
wvffle
57692dcf6a
Fix queue and player bugs
2022-09-06 09:26:36 +00:00
wvffle
a43059899c
Move track playing logic to usePlayer and useSound
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
wvffle
8c11b6d0ea
Rewrite queue
2022-09-06 09:26:36 +00:00
wvffle
02f8f37824
Migrate a bunch o components to script setup
2022-09-06 09:26:36 +00:00
wvffle
4240396220
Fix html sanitization
2022-09-06 09:26:36 +00:00
wvffle
fd403ab7ca
Migrate About.vue to script setup
2022-09-06 09:26:36 +00:00
wvffle
d090adc1f1
Sanitize html
2022-09-06 09:26:36 +00:00
wvffle
9ed6213a46
Cleanup qs.stringify comments
2022-09-06 09:26:36 +00:00
wvffle
7d55d33067
Create a common view component for management lists
2022-09-06 09:26:36 +00:00
wvffle
03e29b3fbc
Fix playlist modal error handling
2022-09-06 09:26:36 +00:00
wvffle
23a88d025a
Tidy up routes
2022-09-06 09:26:36 +00:00
wvffle
e608089557
Fix router warnings
2022-09-06 09:26:36 +00:00
wvffle
dbe762d71c
Fix scrollBehavior
2022-09-06 09:26:36 +00:00
wvffle
d57932444b
Cleanup ordering composable
2022-09-06 09:26:36 +00:00
wvffle
33dfeea168
Fix router navigation
2022-09-06 09:26:36 +00:00
wvffle
a28e00708b
Remove @vue/compat
2022-09-06 09:26:36 +00:00
wvffle
4b5c4c8bea
Disable many compats
2022-09-06 09:26:36 +00:00
wvffle
442f9ce0d7
Fix v-if keys
2022-09-06 09:26:36 +00:00
wvffle
5dfce40cb6
Update router configuration to fix some errors
2022-09-06 09:26:36 +00:00
wvffle
7121d514fb
Fix actions computed
2022-09-06 09:26:36 +00:00
wvffle
9e1e2bfa18
Rewrite search view
2022-09-06 09:26:36 +00:00
wvffle
f5bd906110
Upgrade frontend dependencies
2022-09-06 09:26:36 +00:00
wvffle
fe835c5d44
Fix library moderation
2022-09-06 09:26:36 +00:00
wvffle
78cdb592c5
Cleanup defaultPaginateBy and fix onMounted missing from imports
2022-09-06 09:26:36 +00:00
wvffle
a8fd0e3f28
Migrate rest of ordering/pagination mixins to composables
2022-09-06 09:26:36 +00:00
wvffle
21e5d8ddf0
Fix actions not being arrays in components using smart search
2022-09-06 09:26:36 +00:00
wvffle
15e62d62f6
Add gitpod related changes
2022-09-06 09:26:36 +00:00
wvffle
70495c6a27
Reset the defaultServerUrl to the value of env var or origin when it's null in settings.json
2022-09-06 09:26:36 +00:00
wvffle
c4dd04e0b8
Fix flow of setting instance url
2022-09-06 09:26:36 +00:00
wvffle
344f1af058
Add useSmartSearch composable
2022-09-06 09:26:36 +00:00
Kasper Seweryn
8cf3500842
Remove ordering and pagination mixins from a bunch of files
2022-09-06 09:26:36 +00:00
Kasper Seweryn
3266cd80bd
Migrate Albums and move pagination component
2022-09-06 09:26:36 +00:00
Kasper Seweryn
3ab0435f27
Migrate pagination to v-model and start moving away from mixins
2022-09-06 09:26:36 +00:00
Kasper Seweryn
a25f1bbb1f
Remove unused getter
2022-09-06 09:26:36 +00:00
Kasper Seweryn
40c7e08744
Replace deprecated document.domain with location.hostname
2022-09-06 09:26:36 +00:00
Kasper Seweryn
fbfe4a646a
Fix instanceUrl not being optional
2022-09-06 09:26:36 +00:00
Kasper Seweryn
b5970446b4
Set max websocket reconnect retries in development
2022-09-06 09:26:36 +00:00
Kasper Seweryn
a872f752c5
Fix caching API routes in PWA service worker
2022-09-06 09:26:36 +00:00
Kasper Seweryn
461aa51e03
Fix websockets and vite hmr on local dev
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
9e0596d136
Move *.js to *.ts
2022-09-06 09:26:36 +00:00
Kasper Seweryn
8ff0bb937b
Remove $set and $delete
2022-09-06 09:26:36 +00:00
Kasper Seweryn
7a823282f9
Fix null modelValue
2022-09-06 09:26:36 +00:00
Kasper Seweryn
561c1d868c
Migrate rest of inputs to new v-model
2022-09-06 09:26:36 +00:00
Kasper Seweryn
bf009440ff
Migrate attachment input to new v-model
...
It also automatically cleans up attachments that users uploaded and decided not to use
2022-09-06 09:26:36 +00:00
Kasper Seweryn
2f80e0935f
Migrate a couple of components to new v-model and cleanup linting stuff
2022-09-06 09:26:36 +00:00
Kasper Seweryn
16d437be62
Migrate Translations mixin to useSharedLabels composable
2022-09-06 09:26:36 +00:00
Kasper Seweryn
d6a46f5aab
Remove required=false and disabled=false attributes
2022-09-06 09:26:36 +00:00
Kasper Seweryn
39b4e9a5b9
Fix withDefaults
2022-09-06 09:26:36 +00:00
Kasper Seweryn
2f8f7cbafa
Refactor withDefaults
2022-09-06 09:26:36 +00:00
Kasper Seweryn
e29819f314
Add TODO for <script setup>
2022-09-06 09:26:36 +00:00
Kasper Seweryn
e6534a1554
Add TODOs for breaking changes
2022-09-06 09:26:36 +00:00
Kasper Seweryn
4865bf77be
Fix v-if with v-for
2022-09-06 09:26:36 +00:00
Kasper Seweryn
57aef1001e
Remove deprecated slot syntax
2022-09-06 09:26:36 +00:00
Kasper Seweryn
0c9dcd8545
Fix @click.native
2022-09-06 09:26:36 +00:00
Kasper Seweryn
42907b7028
Remove last filter usage
2022-09-06 09:26:36 +00:00
Kasper Seweryn
1122324799
Fix linting
2022-09-06 09:26:36 +00:00
Kasper Seweryn
d01901d8bd
Fix some modals
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
1234e61e14
Remove exact prop from router links
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
28e273dd74
Fix service worker init module
2022-09-06 09:26:36 +00:00
Kasper Seweryn
76279c273b
Fix filters test
2022-09-06 09:26:36 +00:00
Kasper Seweryn
cbaa58d215
Add useFocusTrap
2022-09-06 09:26:36 +00:00
Kasper Seweryn
7e53e9a511
Update vuedraggable
2022-09-06 09:26:36 +00:00
Kasper Seweryn
b7d66232f6
Remove vue 2 filters
...
Fixes #1759
2022-09-06 09:26:36 +00:00
Kasper Seweryn
12b09b085a
Refactor ~/logging.ts to a useLogger composable
2022-09-06 09:26:36 +00:00
Kasper Seweryn
7fb5284d0e
Refactor object types to records
2022-09-06 09:26:36 +00:00
Kasper Seweryn
51435d0742
Fix currentRoute
2022-09-06 09:26:36 +00:00
Kasper Seweryn
260fdb2501
Fix locales
2022-09-06 09:26:36 +00:00
Kasper Seweryn
da1cefc3b1
Fix scroll behavior
2022-09-06 09:26:36 +00:00
Kasper Seweryn
0e6097c7b8
Fix emit warning
2022-09-06 09:26:36 +00:00
Kasper Seweryn
324e028a33
Fix deprecated render function and deprecated $listeners
2022-09-06 09:26:36 +00:00
Kasper Seweryn
8402621faf
Fix some vue compat warnings
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
db7c0444b4
Migrate to vue3-lazyload
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
wvffle
0e758d0624
Fix vite.config.ts
2022-09-06 09:26:36 +00:00
Kasper Seweryn
f3ccfcbe48
Add PWA support
2022-09-06 09:26:36 +00:00
Kasper Seweryn
b959371784
Rename AppModule to InitModule
2022-09-06 09:26:36 +00:00
Kasper Seweryn
6a9b21a6a7
Rename AppModule to InitModule
2022-09-06 09:26:36 +00:00