Commit Graph

4847 Commits

Author SHA1 Message Date
renovate[bot]
88a8d08049
chore(deps): update npm development dependencies (major) (#2223) 2024-02-26 09:44:17 +01:00
renovate[bot]
868ffc12c2
chore(deps): update npm development dependencies (#2209) 2024-02-26 09:13:54 +01:00
Fernando Fernández
7f8bd1a0f6 fix(vuetify): remove defaultRtl handling
With [3.5.0](https://github.com/vuetifyjs/vuetify/releases/tag/v3.5.0),
the defaultRtl information is hardcoded in the package and can't be treeshaken with our method.

Signed-off-by: GitHub <noreply@github.com>
2024-02-26 09:09:05 +01:00
renovate[bot]
8305937f6f chore(deps): update npm dependencies 2024-02-26 09:09:05 +01:00
Fernando Fernández
02b7cefcb0
fix: correct snackbar message
The snackbar message for 'playNext' was suitable for the context menu action, but not for the snackbar message to be displayed to confirm said action

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-24 14:13:09 +01:00
Fernando Fernández
5f5428f5ae
fix(docker): allowServerSelection was not being parsed correctly (#2235)
Fixes #2234

Signed-off-by: GitHub <noreply@github.com>
2024-02-24 11:49:04 +00:00
Weblate
45dbcbb478 chore(i18n): translate terms
Co-authored-by: grayair <grayair@proton.me>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Co-authored-by: sleepycatcoding <veiko.isberg@gmail.com>
Co-authored-by: snowflakexuehui <xuehui1994@outlook.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/et/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt_BR/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-02-22 23:12:56 -05:00
Fernando Fernández
97e0a4dad6
feat(auth&config): add 'allowServerSelection', fix server wait on boot (#2233)
* Fix the users being redirected to the 'Add Server' screen (fixes #2117) on first start
* Allow to disable the server selection screen with a new key: 'allowServerSelection'

WARNING: When that screen it's disabled, the following situations will leave the client in an endless loading state if:

- No default servers have been provided
- The first default server provided can't be reached

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-23 00:31:31 +00:00
Fernando Fernández
0f19fbbfe5
refactor: wait for DOM for JImg preloader removal, readability
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 23:37:56 +01:00
Fernando Fernández
1356f5913a fix(lint): some style-based lint errors
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
da85617e92 refactor(BlurhashImage): migrate to JImg
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
8c11462bc9 refactor(Identify): use GenericCard
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
ca503928bb refactor: use more shallowRefs
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
ccd90bbf1c refactor: match emit variable name
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
75f8c97f6e fix(card): menu disappearing as soon as hover ends
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
30232dc714 refactor(types): stricter type checking at items utils
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
bdcbc1e362 refactor(Card): rename to ItemCard and GenericItemCard
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
597087a852 fix(types): types in settings page
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
86bd1ae295 refactor(SwiperSection): add reactive logic
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
9ec14829a3 refactor(Card): extract to GenericCard
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-22 16:25:08 +01:00
Fernando Fernández
2e3e002e4b refactor(JHover): remove hoverProps
Signed-off-by: GitHub <noreply@github.com>
2024-02-22 01:59:04 +01:00
Fernando Fernández
4d2b2a7fa7 feat(JSlot): create JSlot component
Imported from radix-vue with some modifications to use it as SFC

Signed-off-by: GitHub <noreply@github.com>
2024-02-22 01:59:04 +01:00
Fernando Fernández
22757ded0a
chore: re-enable npm fund
Before the migration to Vue 3, the install command was excessively verbose.

There's less output now when installing, so displaying the funding message it's not a big deal.
2024-02-21 23:54:49 +01:00
renovate[bot]
98550cb7d3
chore(deps): update ci dependencies (#2225) 2024-02-20 22:34:14 +00:00
Fernando Fernández
83bf3da1c9 perf(render): remove increased buffer in VirtualGrid
With Card rendering less components, we can render faster, so displaying less components equals to the same experience we had previously with increased buffers

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-20 23:23:30 +01:00
Fernando Fernández
b3ab55006b perf(render): don't render overlayed components until hover on Card
The card component was rendering ItemMenu, PlayButton and LikeButton at once,
even when not being displayed on screen.

Now, they're just rendered when necessary.

Memory usage went from ~78 MB to ~35 MB consistently in one of my libraries' view.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-20 23:23:30 +01:00
Fernando Fernández
785992f925
fix: jittery JHover (#2228)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-20 20:48:48 +00:00
renovate[bot]
a4f220ac66
chore(deps): update ci dependencies (#2217) 2024-02-14 14:00:25 +00:00
renovate[bot]
8fe669e97f
chore(deps): update dependency marked to v12 (#2221) 2024-02-14 14:46:42 +01:00
Weblate
fe71c6d7d7 chore(i18n): translate terms
Co-authored-by: 428_tm <55181masui@seiko.ac.jp>
Co-authored-by: Anssi <anssi_t.l@hotmail.com>
Co-authored-by: David Vitez <david_vitez@proton.me>
Co-authored-by: Gianluca Coviello <coviello.gl@gmail.com>
Co-authored-by: LesDomen <domen.les@student.um.si>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Co-authored-by: snowflakexuehui <xuehui1994@outlook.com>
Co-authored-by: 沢城アリス <suika-sakura@outlook.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ja/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-02-02 03:55:59 -05:00
Weblate
2c59845675 chore(i18n): translate terms
Co-authored-by: Tine Šubic <tine.subic@solvesall.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-29 05:34:50 -05:00
Weblate
ed2d5932a0 chore(i18n): translate terms
Co-authored-by: 428_tm <55181masui@seiko.ac.jp>
Co-authored-by: Kévin LEBLOND <team@flixod.net>
Co-authored-by: LesDomen <domen.les@student.um.si>
Co-authored-by: Tine Šubic <tine.subic@solvesall.com>
Co-authored-by: victories <hasan@hasangul.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ja/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-29 05:34:31 -05:00
Weblate
a0b1625727 chore(i18n): translate terms
Co-authored-by: Malang Jan <haron@rcm.se>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-25 00:42:54 -05:00
tippfehlr
55b5ec1765
chore(readme): add :unstable to docker run (#2218)
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-24 21:02:39 +01:00
Weblate
37c3aa12ee chore(i18n): translate terms
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-23 01:22:48 -05:00
renovate[bot]
b1d94dd437
chore(deps): update dependency vite to 5.0.12 [security] (#2215) 2024-01-21 16:49:53 +00:00
renovate[bot]
331e882b73
chore(deps): update ci dependencies (#2212) 2024-01-21 16:41:01 +00:00
Fernando Fernández
b8df101c23
refactor: reduce calculations in VirtualGrid and extract computed
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-21 17:25:13 +01:00
Fernando Fernández
842207d5f4
feat: force previous track on previous button double click
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-21 17:24:43 +01:00
Fernando Fernández
e52d31444d
fix: lost socket reactivity (#2214)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-19 10:10:04 +00:00
Fernando Fernández
5e8653fef4 refactor(api/composable): skip global loading on data refresh
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-18 16:39:48 +01:00
Fernando Fernández
5968590509 refactor: extract BetterOmit and Mutable types to global scope
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-18 16:39:48 +01:00
Fernando Fernández
8026f1c84f
refactor: fix import sorting discrepancies
(for real this time)

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-18 13:52:18 +01:00
renovate[bot]
c53d4966f1
chore(deps): update actions/upload-artifact action to v4.1.0 (#2210) 2024-01-17 20:32:39 +00:00
Fernando Fernández
623affc143 refactor: add readonly to class methods, remove unnecessary continue from loop
Fix some SonarCloud's smells

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
e637caa170 refactor: create JHover and change vue-router component imports
* Switching some of the smallest pieces off Vuetify
* Import the typed RouterView and RouterLink versions of the components

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
caaacb24c6 perf: reduce items on-screen in ItemGrid
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
b71c532134 refactor: move all typeof statements to @/utils/validation
* Way less verbose than the full statement
* Lighter on bundle size

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
15dfc151ac refactor: add isArray validation function
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00
Fernando Fernández
590cdd8235 perf: switch from lodash's isEqual to fast-equals
Way faster and maintained library: https://github.com/planttheidea/fast-equals

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-17 21:20:57 +01:00