Commit Graph

4968 Commits

Author SHA1 Message Date
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
Fernando Fernández
75bca13018
fix(packaging): rootless Docker not working in some systems (#2247)
Signed-off-by: GitHub <noreply@github.com>
2024-03-06 12:22:45 +00:00
renovate[bot]
63981e1ca3
chore(deps): update npm development dependencies (#2246) 2024-03-05 13:37:47 +00:00
renovate[bot]
0362a74904
chore(deps): update docker/setup-buildx-action action to v3.1.0 (#2240) 2024-03-05 14:26:09 +01:00
renovate[bot]
4c85040b0b
chore(deps): update npm dependencies (#2243) 2024-03-03 22:48:12 +00:00
renovate[bot]
b78090408c
chore(deps): update npm development dependencies (#2238) 2024-03-03 22:32:10 +00:00
renovate[bot]
3c9cd1e285
chore(deps): update rust crate tauri to v1.6.1 (#2241) 2024-03-03 23:23:04 +01:00
renovate[bot]
e63594e150
chore(deps): update dependency vue-tsc to v2 (#2244) 2024-03-03 13:03:57 +01:00
Weblate
c096a24611 chore(i18n): translate terms
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: SAKURA <Yejia995@gmail.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/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-03-02 16:20:05 -05:00
renovate[bot]
28f465adf1
chore(deps): update npm dependencies (#2239) 2024-02-29 14:06:03 +00:00
qwerzl
3ab8291ea7
fix: correctly trigger show password button (#2242) 2024-02-29 14:50:39 +01:00
Weblate
1280d49651 chore(i18n): translate terms
Co-authored-by: Artem Nizhenskyi <inqurity@proton.me>
Co-authored-by: DJSweder <djsweder@gmail.com>
Co-authored-by: Leonardo Lopes da Luz <thesimulador@gmail.com>
Co-authored-by: iNc <huber.bene@icloud.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-02-29 04:09:25 -05:00
Fernando Fernández
44e803178c
refactor: playback reporting throttling (#2232)
- Throttles the function instead of using a variable
- Don't always throttle, so status changes are also propagated correctly.
2024-02-26 09:49:29 +00:00
Fernando Fernández
5f95962854
revert: "refactor(data-manipulation): use defu"
This reverts commit d158dc33e6.

defuSchema does also apply to deep values, which we don't want.
2024-02-26 10:35:01 +01:00
renovate[bot]
3d2eb83c85
chore(deps): lock file maintenance (#2237) 2024-02-26 09:26:01 +00:00
renovate[bot]
063ed09af4
chore(deps): update rust crate tauri to v1.6.0 (#2227) 2024-02-26 09:14:43 +00:00
Fernando Fernández
d158dc33e6
refactor(data-manipulation): use defu
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 10:00:01 +01:00
Fernando Fernández
75f194a82a
chore: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
Fernando Fernández
e84539a929
chore: disable eslint-plugin-no-unsanitized
It conflicts with @intlify/vue-i18n. Wait until the conflicts are fixed or the config is migrated to flat config to reenable.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
Fernando Fernández
29851e1e8a
chore(types): update unplugin-vue-router types
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
Fernando Fernández
7ff8cae0ae
refactor: switch to useXStorage functions from vueuse
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-02-26 09:46:21 +01:00
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