Dmitry Lyzo
2c31a55b08
Fix CSS fallback
...
Turn off `mergeLonghand` because it combines `padding-*`,
breaking fallback styles.
2022-10-08 23:45:54 +03:00
Dmitry Lyzo
82db69c378
Fix legacy browser support
...
Add @remix-run/router to babel-loader.
2022-10-08 23:27:19 +03:00
Dmitry Lyzo
2348f815c6
Remove resizeObserver
...
Leftover from 0cb54feb53
2022-10-07 15:39:01 +03:00
Dmitry Lyzo
899f61a51d
Backport pull request #4005 from jellyfin/release-10.8.z
...
Fix locale with suffix
Original-merge: b14d76a3d4
Merged-by: Bill Thornton <thornbill@users.noreply.github.com >
Backported-by: Bill Thornton <thornbill@users.noreply.github.com >
2022-10-06 17:06:49 -04:00
Dmitry Lyzo
aa2fd79e74
fix dialog closing flow
2022-10-04 14:23:39 +03:00
Dmitry Lyzo
4736550594
Backport pull request #3849 from jellyfin/release-10.8.z
...
Fix unexpected cursor hiding
Original-merge: 89ec4f4e8a
Merged-by: Bill Thornton <thornbill@users.noreply.github.com >
Backported-by: Bill Thornton <thornbill@users.noreply.github.com >
2022-09-16 00:50:55 -04:00
Dmitry Lyzo
4476ef103e
Backport pull request #3848 from jellyfin/release-10.8.z
...
Fix idle function call
Original-merge: 89d92e738f
Merged-by: Bill Thornton <thornbill@users.noreply.github.com >
Backported-by: Bill Thornton <thornbill@users.noreply.github.com >
2022-09-16 00:50:54 -04:00
Dmitry Lyzo
c42b5ea4ac
Allow next higher resolution
2022-03-20 09:15:03 +03:00
Dmitry Lyzo
0dc920d3fd
Limit quality settings with maximum resolution
2022-03-20 09:15:03 +03:00
Dmitry Lyzo
bbfe904a28
Limit transcoding profiles with maximum resolution
2022-03-20 09:15:03 +03:00
Dmitry Lyzo
4929bfd350
Fix HTML escaping
...
Regression: 59adbc348a
2022-03-19 10:51:52 +03:00
Dmitry Lyzo
b0e1ebc8d3
Fix webOS OPUS support
2022-03-17 22:40:39 +03:00
Dmitry Lyzo
93d3458fd0
Fix old streamInfo on stream change
...
When the client changes the stream (fail to play) `streamInfo`
contains the old play session and the next progress report
will update the wrong session. The server then responds with
the wrong playback method until the next progress report.
Update `streamInfo` before playback start so that the data
is up to date.
2022-03-15 23:40:12 +03:00
Dmitry Lyzo
3909398dc3
Fix theme songs with disabled theme videos
2022-03-13 00:37:24 +03:00
Dmitry Lyzo
7842eef4a6
Fix theme queue
...
Set play options for each item so that the playback manager
doesn't change the fullscreen state for the next item.
2022-03-12 22:37:58 +03:00
Dmitry Lyzo
8420d0fef2
Sanitize HTML
2022-03-06 13:29:16 +03:00
Dmitry Lyzo
59adbc348a
Escape HTML
2022-03-06 13:29:14 +03:00
Dmitry Lyzo
08cbc5aa8f
refactor: Move condition out of loop
2022-03-06 13:27:40 +03:00
Dmitry Lyzo
ebaa5026d9
refactor: Remove redundant access to the array
2022-03-06 13:27:40 +03:00
Dmitry Lyzo
5d1fe2eeaf
Add aria-labels for accessibility
2022-03-03 18:15:32 +03:00
Dmitry Lyzo
161ce2404b
Add title to buttons
2022-03-03 17:19:27 +03:00
Dmitry Lyzo
bce24b26ba
refactor: Remove unnecessary 'height'
...
It is better to use `flex-grow` to grow the element.
2022-02-28 22:45:18 +03:00
Dmitry Lyzo
c4f81a9bdd
fix: Center card icon in Safari 10
2022-02-28 22:45:10 +03:00
Dmitry Lyzo
20a5437506
refactor: Remove unnecessary flexbox
2022-02-28 18:19:32 +03:00
Dmitry Lyzo
fe895d4a36
fix: Fix vertical button alignment in Safari 10
...
Using `position: absolute` breaks Flexbox.
2022-02-28 18:19:31 +03:00
Dmitry Lyzo
9153044078
Return Promise from SyncPlay playRequest
2022-02-26 15:03:34 +03:00
Dmitry Lyzo
bde869ecb2
refactor: Remove nested Promise
2022-02-26 14:34:18 +03:00
Dmitry Lyzo
270430f6a1
Polyfill HTMLMediaElement.play
...
Return a `Promise` to match the new standard.
2022-02-26 14:01:08 +03:00
Dmitry Lyzo
801c29d3b9
refactor: Unify handling of play success
2022-02-26 13:59:23 +03:00
Dmitry Lyzo
e2cf3e0148
Show slideshow OSD on click
2022-02-26 12:16:07 +03:00
Dmitry Lyzo
3990175c86
Fix copy to clipboard in Safari 10
2022-02-26 01:26:39 +03:00
Dmitry Lyzo
fff4ebb3ba
Add copy error message
2022-02-26 00:33:08 +03:00
Dmitry Lyzo
1f62db7f31
Add copy buttons to Media Info
2022-02-26 00:33:08 +03:00
Dmitry Lyzo
7239269980
refactor: Extract copy to clipboard function
2022-02-26 00:33:08 +03:00
Dmitry Lyzo
fd0532f193
Fix page reload on return
...
`popstate` event cannot be captured, but we need to process
it before `page` node module.
2022-02-25 20:40:50 +03:00
Dmitry Lyzo
61d1054c8c
[hack] Fix type mismatch TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
b278ae3d3d
Fix type mismatch TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
12374b12b9
Fix null reference TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
12d0ac2ff0
Fix null property TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
6c70d7abf5
Fix Event.target TypeScript errors
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
cd40ab5084
Fix TypeScript error - add argument
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
11b77285e3
Fix type mismatch TypeScript errors
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
a08f8e3f75
Fix null reference TypeScript error - searchInput
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
9c7ba63696
Fix missing property TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
61b6976d59
Fix parseInt TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
93b12cf74b
Fix iterable querySelectorAll TypeScript errors
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
23d321d426
Fix useState TypeScript errors
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
9423041ef1
Fix querySelector TypeScript errors
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
109fe6056a
Fix null reference TypeScript errors - ref.current
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
4952fc0119
Fix useRef TypeScript errors
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
57895e724c
Fix implicit any TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
e30a252c8a
Fix type mismatch TypeScript error
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
8338bb550a
Use type from API
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
c14daafffb
Remove type casting
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
85e9aff281
docs: fix documentation for TypeScript
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
7ed78e0daa
Add jellyfin-apiclient declarations
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
6e1845ef0c
Add dependencies
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
df0adbae3d
Disable implicit any
2022-02-25 19:11:07 +03:00
Dmitry Lyzo
119df2cc99
Add aria-hidden to button icons
2022-02-25 01:52:14 +03:00
Dmitry Lyzo
8134096819
refactor: string template
2022-02-25 01:33:21 +03:00
Dmitry Lyzo
27bdb24598
refactor: Use span for icons
2022-02-25 01:33:21 +03:00
Dmitry Lyzo
9f302dbf72
Make title of ratingbutton state-dependent
2022-02-24 23:56:10 +03:00
Dmitry Lyzo
26bf0d532b
Make title of playstatebutton state-dependent
2022-02-24 23:56:10 +03:00
Dmitry Lyzo
d14f3b3d0b
Don't hide Backdrops, ThemeSong and ThemeVideo options on TV
2022-02-22 00:54:51 +03:00
Dmitry Lyzo
4c9f39e07e
Don't hide EnableNextVideoOverlay option on TV
2022-02-22 00:52:28 +03:00
Dmitry Lyzo
9a4652f638
Add default text (icon) to Episode
...
Same as for Series.
2022-02-22 00:13:29 +03:00
Dmitry Lyzo
034a86119f
Add card padder icon for items with an image
2022-02-22 00:13:29 +03:00
Dmitry Lyzo
ca63d2b151
Fix DOMPurify on webOS 1.2
...
DOMParser.createHTMLDocument on webOS 1.2 (WebKit) doesn't
support 'text/html' - polyfill it.
2022-02-21 18:28:39 +03:00
Dmitry Lyzo
eba8cf18d4
Add Markdown to Login Disclaimer
2022-02-21 18:28:39 +03:00
Dmitry Lyzo
7b0f4ed859
Fix playing theme song when using parent links
...
Navigation by plain links breaks the theme song player because
there is no BaseItemDto in 'state'.
2022-02-21 00:17:13 +03:00
Dmitry Lyzo
821036bf71
Fix nowplayingbar not displaying when restoring the view
...
'init' message was skipped in https://github.com/jellyfin/jellyfin-web/commit/2d5e7f745f54da7917ad6768d3e9b58fcadf3e69
Use 'refresh' type message to allow show/hide.
2022-02-21 00:09:11 +03:00
Dmitry Lyzo
04c82ab7c4
Cleanup
2022-02-20 22:42:00 +03:00
Dmitry Lyzo
6ae03974f9
fix: Fix focus jump when focusing Resume
...
Make the Play button the Resume and replace Resume with Replay.
2022-02-20 22:37:54 +03:00
Dmitry Lyzo
ca8cc653d9
refactor: Set 'resume' action to poster
...
To match logic. This has no effect, because 'play' still uses
the current position.
2022-02-20 22:05:38 +03:00
Dmitry Lyzo
6ad311baad
Disable play button on poster in TV layout
2022-02-20 22:05:38 +03:00
Dmitry Lyzo
fff64ae5a5
refactor: Remove obsolete code
...
Leftover from reworking of poster generation.
2022-02-20 22:05:38 +03:00
Dmitry Lyzo
8221f82d1f
refactor: Use same name for action (mode) attribute
2022-02-20 22:00:37 +03:00
Dmitry Lyzo
c58d8b86ab
Don't ignore webOS when checking OPUS support
2022-02-15 22:21:14 +03:00
Dmitry Lyzo
9242e4acf1
Fix layout of SelectServer page
...
Using 'display: flex' breaks scrolling (bottom padding is
not applied correctly) on webOS 1.2
2022-02-15 17:55:31 +03:00
Dmitry Lyzo
af3517c2e4
Fix layout of Login page
...
Using 'display: flex' breaks scrolling (bottom padding is
not applied correctly) on webOS 1.2
2022-02-15 17:55:31 +03:00
Dmitry Lyzo
4e6cb506e2
Fix layout of ListView
...
Using 'display: flex' breaks scrolling (bottom padding is
not applied correctly) on webOS 1.2
2022-02-15 17:55:31 +03:00
Dmitry Lyzo
69d039d35d
Cleanup unused styles
2022-02-15 17:55:31 +03:00
Dmitry Lyzo
6c61712514
Fix focus on hometab
...
Remove the 'returnPromise' option, i.e. always return Promise
so that the focus is executed after the sections are loaded.
2022-02-15 15:44:45 +03:00
Dmitry Lyzo
d00d084a8c
Reload backdrop on restore
...
Backdrop doesn't belong to the itemDetails view and must be
reloaded explicitly.
2022-02-14 22:27:41 +00:00
Dmitry Lyzo
dc2dc823a8
Display physical dimensions of player
...
When using browser or system-wide scaling, the player size
changes, misleading the user.
2022-02-11 09:11:21 +03:00
Dmitry Lyzo
e11109e2f8
Reduce the size of the icon in the listview
2022-02-10 00:21:57 +03:00
Dmitry Lyzo
99fb0e4b72
Fix clipped focused button
...
The button in the subtitle (Season) is clipped when focused
because its parent container has 'overflow: hidden' to allow
ellipsis.
2022-02-09 23:16:30 +03:00
Dmitry Lyzo
80099f29e4
Allow navigation to the parent show/season/album
...
Partial revert https://github.com/jellyfin/jellyfin-web/commit/ece0b39d7085656d5aa8e8160fd98be6134bf60a
Add 'focuscontainer-x' to the parent labels.
2022-02-09 22:15:57 +03:00
Dmitry Lyzo
cd17f52b74
Stack toasts
2022-02-09 20:21:03 +03:00
Dmitry Lyzo
8aa6088e24
Handle resolved play promise
...
It seems that without processing the Promise resolution,
there is no subscription to the error event.
2022-02-09 19:45:33 +03:00
Dmitry Lyzo
df0da76312
Add auto scroll top when using paging
2022-02-09 11:20:40 +03:00
Dmitry Lyzo
82dbfce374
Fix autofocus on Channels tab
...
This limits the focus scope to the current tab, so that the
channel card is selected the first time you open it.
[for testing]
The Channels tab should be the default for the LiveTV library.
2022-02-09 11:17:38 +03:00
Dmitry Lyzo
719ae14d3f
Add a second paging block on the Channels tab
2022-02-09 11:17:38 +03:00
Dmitry Lyzo
9defa0f289
Show AlphaPicker if there is SortName
2022-02-09 09:35:42 +03:00
Dmitry Lyzo
e55042d652
Show AlphaPicker in ListView if there is SortName
2022-02-09 09:35:40 +03:00
Dmitry Lyzo
1dfd2676ec
Fix background of control group button
2022-02-07 00:24:42 +03:00
Dmitry Lyzo
2a5f3b4214
Add background to tuner device cards
...
For consistency.
2022-02-07 00:00:06 +03:00
Dmitry Lyzo
d881f5498b
Add background to device cards
...
Otherwise it will be white on white with Light theme.
2022-02-06 23:58:17 +03:00
Dmitry Lyzo
c42070e509
Enable AV1 codec on webOS 5+ FHD
...
'window.outerHeight' can be 1080 on UHD TVs, and LG probably specifies the
`Maximum Data Transmission Rate` (not the supported codecs) in that table on
their website.
So we are probably free to enable AV1 on webOS 5+ FHD.
2022-02-03 21:02:50 +03:00
Dmitry Lyzo
2d5e7f745f
Skip non-ready state of player in nowPlayingBar
...
When nowPlayingBar receives an `init` event, some propertes of `state` are not
yet defined. Wait for `playbackstart`.
2022-02-01 01:16:53 +03:00