Commit Graph

5345 Commits

Author SHA1 Message Date
Weblate
76fc8a9342 chore(i18n): translate terms
Co-authored-by: Achim Walz <achim@aalso-walz.de>
Co-authored-by: BotBlake <B0TBlake@protonmail.com>
Co-authored-by: Justin <derjustin05@gmail.com>
Co-authored-by: Pascal Riemer <pascal01riemer@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-24 10:51:17 -04:00
Weblate
ea2f7a4f36 chore(i18n): translate terms
Co-authored-by: Bananenaffe <wegwerf-wolter@protonmail.ch>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-23 08:41:33 -04:00
renovate[bot]
5740dcd795
chore(deps): update ci dependencies (#2414) 2024-07-19 20:54:09 +02:00
renovate[bot]
b6543a64a8
chore(deps): update cargo dependencies (#2410) 2024-07-19 18:51:02 +02:00
Weblate
a6acc2eb83 chore(i18n): translate terms
Co-authored-by: Manoj <nehasahani645@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-12 22:31:05 -04:00
Fernando Fernández
97c2c18704 refactor(SettingsPage): remove dynamic key
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 18:31:21 +02:00
Fernando Fernández
6ab53522b7 style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 18:31:21 +02:00
Fernando Fernández
0001c5a11e chore(eslint): fix some (not all) SFC recognition problems, refactors
* Simplify config
* Add depend and unocss
* Re-introduce @stylistic/padding-lines-between-statements
* Delete .eslintrc.bak since ESLint v9 config is mostly
stable and there's no much useful info there that couldn't be
checked by simply going back in git history (it was left here
for keeping it a hand when migrating rules while
plugins were still migrating to v9).

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 18:31:21 +02:00
renovate[bot]
6368f628ee
chore(deps): update ci dependencies (#2407) 2024-07-12 18:23:18 +02:00
renovate[bot]
3b7c46d89f
chore(deps): update npm development dependencies (#2408) 2024-07-12 18:18:58 +02:00
Fernando Fernández
924701e84a
fix(JVirtual): loss of scroll link
A race condition between the worker and the scroll events might happen where the computed property doesn't have
access to the cached data before the last scroll event

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 00:36:50 +02:00
Fernando Fernández
02e55af04a
perf(validation): exchange nullish checks
Across our codebase it's more probable to deal with undefined than with null so it makes sense to check it first
and return the result as soon as possible

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-12 00:32:16 +02:00
Fernando Fernández
4b9f0ad406 perf(JVirtual): use WebWorker and memoization
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:57:04 +02:00
Fernando Fernández
38d4305950 refactor(JVirtual): extract to composable, add scrollTo function, prepare for virtual list
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:57:04 +02:00
Fernando Fernández
b81150dd2b refactor(JImg): remove unnecessary keyed children
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:57:04 +02:00
Fernando Fernández
85a2d3df18 perf(JTransition): use slow only for low refresh rate screens
I added the browser FPS calculation into what the
browser could be considered slow, but it's actually worse
to patch JTransition in low performance scenarios (like virtual scrolling) than leaving it as is.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:12:14 +02:00
Fernando Fernández
353a6784ad perf: add generic worker, divide blurhash worker
Canvas drawing and blurhash decoding are no longer blocking.

Blurhash decoding decoupling is needed for caching it later alongside the api store.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:12:14 +02:00
Fernando Fernández
eb94694469 refactor: remove unnecessary eslint-disable
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:12:14 +02:00
Fernando Fernández
d4eb678d85 refactor: remove width calculations in BlurhashImage
Get always the maximum quality available and don't mess with width calculations.
This reduces server load for image resize, but also it's a needed step for future PRs where images will need to be cached so the application can work offline

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 23:12:14 +02:00
Fernando Fernández
67e1ae1f8b refactor(backdrop): use primary image tag by default instead of backdrop
We don't display backdrops in any of the item pages, where the backdrop was used to calculate blurhash,
so it doesn't make any sense to use them. We use the image that is displayed most prominently, which is the primary one

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 22:51:43 +02:00
Fernando Fernández
fefb3ad04e refactor(title): use composable instead of route meta
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 22:51:43 +02:00
Fernando Fernández
81c5695a8e refactor(backdrop): use composable instead of route meta
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 22:51:43 +02:00
Fernando Fernández
fe09556739 chore(eslint): ignore arrow shorthand
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-11 22:51:43 +02:00
renovate[bot]
ab09e455ad
chore(deps): update npm development dependencies (#2393) 2024-07-11 20:30:16 +02:00
renovate[bot]
b13a326c1e
chore(deps): update dependency eslint-plugin-import-x to v3 (#2401) 2024-07-11 16:18:41 +00:00
renovate[bot]
5a41e5a1d2
chore(deps): update ci dependencies (#2400) 2024-07-11 16:02:18 +00:00
Fernando Fernández
1c8f465a41
ci: continue on attestation errors
Signed-off-by: GitHub <noreply@github.com>
2024-07-11 15:52:39 +00:00
renovate[bot]
7f47ef06cb
chore(deps): update ci dependencies (#2396) 2024-07-05 17:54:27 +00:00
renovate[bot]
88cb844630
chore(deps): update npm dependencies (#2397) 2024-07-05 18:51:17 +02:00
Weblate
a8fa177b95 chore(i18n): translate terms
Co-authored-by: Mirronth <mirronth@outlook.com>
Co-authored-by: wolong gl <wolong98@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/hu/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-07-04 17:04:27 -04:00
Fernando Fernández
ccb68a90c4
ci(docker): don't upload build record artifacts (#2395)
Follow-up of https://github.com/docker/build-push-action/issues/1151

Signed-off-by: GitHub <noreply@github.com>
2024-07-03 08:37:32 +00:00
renovate[bot]
67a9e553f9
chore(deps): update docker/build-push-action action to v6.3.0 (#2394) 2024-07-03 10:23:45 +02:00
Fernando Fernández
5f50e440cc
style: automatic fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-02 23:56:43 +02:00
Fernando Fernández
6752a3fc74
chore(eslint): migrate promise plugin to flat config
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-02 23:56:35 +02:00
renovate[bot]
d4be50a16d
chore(deps): lock file maintenance (#2362) 2024-07-02 21:31:28 +00:00
renovate[bot]
59ca218913
chore(deps): update dependency eslint to v9 (#2390) 2024-07-02 21:19:14 +00:00
renovate[bot]
da1011dc84
chore(deps): update npm development dependencies (#2364) 2024-07-02 21:02:53 +00:00
renovate[bot]
b58a561363
chore(deps): update cargo dependencies (#2392) 2024-07-02 20:54:21 +00:00
Fernando Fernández
329c3a95be
fix(eslint): incorrectly passed tseslint parser, upgrade to rc-v8
Signed-off-by: GitHub <noreply@github.com>
2024-07-02 20:41:57 +00:00
Fernando Fernández
e5e988e01b
fix: use pre watchers with vueuse until
By default, Vue watchers use pre flush timing. However, by default, VueUse uses sync for it's until composable

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-02 01:47:06 +02:00
Fernando Fernández
f7f93ec581
refactor: parallel latest data fetching, revert ff701d0
Passing isPlayed true does not show played + unplayed items together, but only played items.
It makes more sense to display both, but only played is probably the worst decision, so leaving the old defaults

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:56:55 +02:00
renovate[bot]
bcd82f90e1
chore(deps): update npm dependencies (#2388) 2024-07-01 19:36:35 +00:00
renovate[bot]
552448bf3a
chore(deps): update ci dependencies (#2389) 2024-07-01 19:26:56 +00:00
Fernando Fernández
cdfee6cc27 refactor: remove unnecessary conditional, default to enableUserData
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Fernando Fernández
ff701d0cb9 refactor: display played items in all latest media queries
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Fernando Fernández
6ce94388e7 fix: re-rendering at home page
* This caused swiper progress bar to not be shown correctly
* The issue was that latestFromLibrary was called inside the array, not passed as a promise.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Fernando Fernández
5c1c86e69a refactor: use until composable from VueUse to simplify instead of effectScopes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-07-01 21:16:51 +02:00
Weblate
b5da26fa19 chore(i18n): translate terms
Co-authored-by: Blackspirits <blackspirits@gmail.com>
Co-authored-by: Larvitar <chrycm1995@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translation: Jellyfin Vue/Jellyfin Vue
2024-06-25 03:41:32 -04:00
Fernando Fernández
23dd83ad0c
chore(tsconfig): don't truncate errors
This has been one of my major pain points when working with TypeScript and TIL how to fix it!

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-23 22:59:35 +02:00
Fernando Fernández
a29d55d77b
style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-06-23 11:35:38 +02:00