1107 Commits

Author SHA1 Message Date
Fernando Fernández
c25f047388
perf&fix: avoid multiple backdrop rerenders, backdrop persistent after login page
Meta handling was reverted so it happens
again at any time, regardless of query or param changes.
The extra logic is negligible and we avoid edge cases where the path might be the same (like the first navigation)

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-04-02 02:52:21 +02:00
Fernando Fernández
9f7dd5b9f1
fix: wrong defaulting of meta (#2282)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-04-01 15:39:42 +00:00
Weblate
d1a73cffd3 chore(i18n): translate terms
Co-authored-by: Tomás Palma <tomas@tomasps.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-31 23:25:36 -04:00
Fernando Fernández
9600525033
fix: WebAudio not being properly disposed when reinitiating playback (#2280)
This could be reproduced by switching tracks initiating new reproductions (for example, by clicking in individual tracks inside an album).

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-30 20:19:46 +00:00
Fernando Fernández
55d5d37327
refactor: remove useless conditionals
Fix code scanning issues #246 and #259

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-29 17:27:40 +01:00
Fernando Fernández
19abb4dfa7
fix: JImg attrs warnings
The attrs are correctly inherited, but for some reason, Vue doesn't like the v-bind="$attrs" in dynamic components
it seems.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-29 11:40:30 +01:00
Fernando Fernández
dfcda39290
fix: z-index of PeopleList icons
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-29 10:32:01 +01:00
Fernando Fernández
32f333f5ab
fix: unnecessary icon rendering
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-29 10:31:56 +01:00
Fernando Fernández
b688424a3b
perf: reduce default blurhash quality (#2279)
Signed-off-by: GitHub <noreply@github.com>
2024-03-29 09:45:52 +01:00
Fernando Fernández
5f94d9af62 feat: preserve pitch on playback rate
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-29 01:24:43 +01:00
Fernando Fernández
35d584cc26 refactor(playbackRate): switch from VSelect to VCombobox
Signed-off-by: GitHub <noreply@github.com>
2024-03-29 01:24:43 +01:00
JVT038
7991b730f7 feat(playbackrate): initial implementation 2024-03-29 01:24:43 +01:00
Fernando Fernández
7a58162826
refactor: image preloading, unnecessary load states (#2277)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-29 00:10:21 +00:00
Weblate
a32170f2f7 chore(i18n): translate terms
Co-authored-by: Damosso <r.damhuis@rik442.nl>
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: Thibaud Melano <thibaudmelano@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-28 18:55:36 -04:00
Fernando Fernández
e9e55b27f2
chore: add clean commands
Signed-off-by: GitHub <noreply@github.com>
2024-03-28 12:05:59 +00:00
renovate[bot]
dab9fd50bd
chore(deps): update npm dependencies (#2265) 2024-03-27 16:37:45 +00:00
renovate[bot]
932f0d0827
chore(deps): update dependency @intlify/unplugin-vue-i18n to v4 (#2273) 2024-03-27 16:24:13 +00:00
Fernando Fernández
ef4ff9c5bb fix: invalid network connection logic when Network API is not supported by the browser
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-27 17:07:54 +01:00
Fernando Fernández
028b41ad01 fix: defaults merging, verify token is really deauthed
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-27 17:07:54 +01:00
Weblate
3e26508e57 chore(i18n): translate terms
Co-authored-by: Bas <44002186+854562@users.noreply.github.com>
Co-authored-by: Ewillian9 <janonguittard@gmail.com>
Co-authored-by: VitoFe <vito-7@hotmail.it>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-23 12:18:14 -04:00
Fernando Fernández
73e821691c
chore: automatic eslint fix
Signed-off-by: GitHub <noreply@github.com>
2024-03-20 15:57:55 +00:00
Fernando Fernández
f87f1940fb
chore: enable VSCode project-wide problem reporting
Signed-off-by: GitHub <noreply@github.com>
2024-03-20 15:52:29 +00:00
Fernando Fernández
8082b77438
refactor: use pointer events instead of mouseup and mousedown (#2268)
Signed-off-by: GitHub <noreply@github.com>
2024-03-19 21:24:19 +01:00
Fernando Fernández
051d25765d
refactor: extract blurhash worker in an independent chunk, output paths
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 18:29:45 +01:00
renovate[bot]
52f2fd6780
chore(deps): update npm dependencies (#2262) 2024-03-17 16:35:23 +00:00
PixyTM
1572b1fb01
fix(JImg): stretched actor images (#2256) 2024-03-17 17:08:53 +01:00
Fernando Fernández
db2f23a06c chore: remove unnecessary @unocss/reset package
The resets are already included in unocss package, so the extra package was unnecessary

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
5a963a88d6 refactor&fix: use watchImmediate (from VueUse) in immediate watchers, remove some sync watchers
The sync watcher removal fixes the login screen getting stuck in an endless loading state

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
8f8597bd95 feat(network): better connection loss management
* Distinguish between socket and server conection
* The distinction removes the need for the 'ensureWebSocket' guard.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
44ce0cfaa0 fix(middlewares): redirect user out of login pages if it's already logged in
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
d5afd7d252 refactor: migrate some components to shallowref
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
77a64b9e63 perf&refactor(meta): improve default meta handling per-route
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
7866e5a658 refactor(stores): create SyncedStore and apply to clientSettings
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
5919993e95 refactor: Create abstract store classes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
6f4ae41499 fix(types): vue router types
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
bda3e87c77 refactor(playback): create usePlayback composable
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
Co-authored-by: endrl <119058008+endrl@users.noreply.github.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
fd7fc92e3c refactor(store): player-element uses now computed getters/setters
Although using .value might seem cumbersome at first, having computed getters/setters are clearer code-wise when using watchers and type-wise it's clear
that the variable is fully reactive (instead of having to guess)

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Fernando Fernández
225e5465b9 refactor&feat: add sealed decorator and uniformize filename casing
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-17 17:01:02 +01:00
Weblate
22615a1565 chore(i18n): translate terms
Co-authored-by: snowflakexuehui <xuehui1994@outlook.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-14 16:20:25 -04:00
renovate[bot]
2ef5b841ec
chore(deps): update npm dependencies (#2253) 2024-03-13 17:50:19 +00:00
renovate[bot]
db5e0eea94
chore(deps): update npm development dependencies (#2259) 2024-03-13 18:29:49 +01:00
Weblate
9895d7a89f chore(i18n): translate terms
Co-authored-by: Fynn Gutic <guticfynn@gmail.com>
Co-authored-by: iNc <huber.bene@icloud.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-10 19:13:35 -04:00
renovate[bot]
04b23e26c3
chore(deps): update npm development dependencies (#2251) 2024-03-10 11:20:50 +01:00
PixyTM
5c9265fb9d
fix(video): height and width in player (#2258) 2024-03-09 21:59:50 +01:00
Fernando Fernández
4d25947286
fix(video): styles (#2257)
* The video was not centering nor stretching when necessary
* By default, stretch is disabled and the video keeps it's proportions
* This fix also simplifies the styles

Fix #2255
2024-03-09 15:46:18 +00:00
renovate[bot]
073eff192a
chore(deps): update dependency @intlify/unplugin-vue-i18n to v3 (#2252) 2024-03-07 18:55:59 +01:00
Fernando Fernández
bc986af1a3
refactor: remove codesmell and eslint ignore
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-07 17:11:26 +01:00
renovate[bot]
644cb93f43
chore(deps): update npm dependencies (#2245) 2024-03-07 09:34:23 +00:00
renovate[bot]
d13aa2b7a7
chore(deps): update npm development dependencies (#2249) 2024-03-07 09:22:52 +00:00
Fernando Fernández
a379e25b01
feat(ui): switch to Radix and Inter, cleanups (#2250)
* Inter is going to be one of the brand Jellyfin fonts, as discussed in Matrix's UI/UX channels. Check this: https://matrix.to/#/!xrSDQsdjElWFYUAMoG:matrix.org/$_ZCxjEgHmaYdFo6aiCfqdXSnhEvg8UAksk0NG5PUhZg?via=bonifacelabs.ca&via=t2bot.io&via=matrix.org (Previous messages are also relevant)

* Add radix-vue to use their components as base. There is only one modification I would like to have to their components (the ability to pass arbitrary props to Primitive) but it's something that's likely to be accepted upstream

* Minor cleanup in Carousel styles

* Use the client font as Jassub's font

* Install UnoCSS and it's resets (not enabled yet due to Vuetify inconsistencies)

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-03-07 10:12:44 +01:00