Commit Graph

203 Commits

Author SHA1 Message Date
Bill Thornton b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton 5e4eca6ae9 Fix sonarjs no-redundant-jump 2022-10-08 02:50:20 -04:00
Bill Thornton 1ac326d40b Merge pull request #3745 from Viperinius/chapter-markers
Add chapter markings to video player slider
2022-10-06 11:45:50 -04:00
Viperinius 596ee47c89 Rename some things as suggested. 2022-10-06 16:58:22 +02:00
Bill Thornton 554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Viperinius c4bd4d0a05 Keep chapter markers visible whenever the OSD is shown.
(Does not require hovering over the slider anymore.)
2022-10-05 17:49:34 +02:00
Bill Thornton 1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Viperinius b43c9e0137 Change slider marker for chapters appearance.
Now, the markers are displayed as ticks instead of icons above the slider
2022-10-01 20:09:23 +02:00
Viperinius 33fe2c51d6 Merge branch 'master' into chapter-markers 2022-09-17 12:04:18 +02:00
Leon de Klerk 2cdefa2d7c Fix scroll buttons not showing on resize
Signed-off-by: Leon de Klerk <developer@leondeklerk.com>
2022-09-03 02:23:46 +02:00
taku0 3d51c68725 Respect safe area (notch) of mobile devices
This adds paddings to various containers so that buttons and contents are not
hidden by the notch or the Home indicator (the gray bar at the bottom).

- `src/assets/css/librarybrowser.scss`
  - `.skinHeader`: menu bar at the top.
  - `.padded-left` and `.padded-right`: the heading of library.

- `src/assets/css/site.scss`
  - `.content-primary`, `.padded-bottom-page`, `.page`,
    `.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards.

- `src/elements/emby-scroller/emby-scroller.scss`
  - `.emby-scroller`: the library items.

- `src/assets/css/videoosd.scss`
  - `.videoOsdBottom`: the video playback control buttons and the progress bar.

- `src/components/alphaPicker/style.scss`
  - `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker.

- `src/components/appFooter/appFooter.scss`
  - `.appfooter`: the bottom bar showing the currently playing media.

- `src/components/multiSelect/multiSelect.scss`
  - `.selectionCommandsPanel`: the top bar when selecting multiple media.
    Shown when long-pressing media.

- `src/components/remotecontrol/remotecontrol.scss`
  - `.playlistSectionButton`: the bottom bar for current playlist.
    Shown when touching `.appfooter`.

- `src/components/toast/toast.scss`
  - `.toastContainer`: the toast.  Shown when refreshing metadata.

- `src/index.html`
  - `.mainDrawerHandle`: gesture area for the drawer.
    It seems conflicting with gestures of Safari.

- `src/libraries/navdrawer/navdrawer.scss`
  - `.tmla-mask` and `.touch-menu-la`: the drawer.

- `src/plugins/htmlVideoPlayer/style.scss`
  - `.videoPlayerContainer`: the video area when not fullscreen.
  - `.videoSubtitles`: the video subtitles for some devices, not including
    iPhone.

- `src/plugins/youtubePlayer/style.scss`
  - `.youtubePlayerContainer` container for the YouTube plugin.  Not tested.
2022-08-18 17:34:57 +09:00
grafixeyehero fb04b4b58a remove type prop form IconButtonElement 2022-07-23 18:04:40 +03:00
grafixeyehero 6fb884a212 move to src elements 2022-07-23 18:04:35 +03:00
Viperinius 04072523ca Update function and class names as suggested.
More generic name without the inclusion of "chapters" allows potential
reuse in the future.
2022-07-05 17:11:58 +02:00
Viperinius ba2c365ac9 Use object to return multiple info instead of array. 2022-07-05 16:31:48 +02:00
Viperinius b78d6439b0 Change chapter mark classes to include name info.
In order to use different icons depending on the chapter name, the name
is provided as a class with the prefix scm-.
2022-07-04 22:07:34 +02:00
Viperinius 20a1c34ea8 Add generic font family to chapter mark 2022-07-03 18:04:48 +02:00
Viperinius ca84407884 Merge branch 'jellyfin:master' into chapter-markers 2022-07-03 17:08:49 +02:00
Viperinius c0b092e208 Set chapter mark icon via CSS instead of class.
Allows easier customisation of what icon should be displayed.
2022-07-03 16:59:01 +02:00
Viperinius 49f1f1fae3 Add chapter markings to video player timeline.
These labels show the start of each chapter when interacting with the
slider the same way that activates the slider bubble. They follow the
same color scheme as the slider (watched chapters turn blue).

Inspired by https://features.jellyfin.org/posts/397/chapter-markers-in-timeline
2022-06-26 01:10:20 +02:00
Madh93 c4ab1a5868 Show subtitle text color setting 2022-06-16 17:19:27 +01:00
Dmitry Lyzo 59adbc348a Escape HTML 2022-03-06 13:29:14 +03:00
Bill Thornton db362599c9 Add titles to emby-scrollbuttons 2022-03-04 11:39:01 -05:00
Bill Thornton 9067b0e397 Fix eslint errors for empty functions/constructors 2022-03-01 10:57:48 -05:00
Bill Thornton a71ed46afb Merge pull request #3459 from dmitrylyzo/button-icons
Add aria-hidden to button icons
2022-02-25 11:50:24 -05:00
Dmitry Lyzo 119df2cc99 Add aria-hidden to button icons 2022-02-25 01:52:14 +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
Bill Thornton e77b4b87c1 Fix null parentNode when rendering emby-select in react 2022-01-18 10:24:20 -05:00
grafixeyehero b22a9ed632 apply suggestions 2022-01-02 02:40:11 +03:00
Bill Thornton c4fc8e0145 Merge pull request #2618 from iwalton3/client-custom-css
Allow client custom css and disabling global server custom css.
2021-07-30 22:34:32 -07:00
Dmitry Lyzo f233182573 Add 'scroll on focus' to emby-tabs 2021-04-25 11:27:16 +03:00
Ian Walton 8cae67d9b9 Allow client custom css and disabling global server custom css. 2021-04-24 14:39:47 -04:00
Bill Thornton a3949c1889 Fix sonarqube issues 2021-03-23 11:28:20 -04:00
Bill Thornton f60b7686d0 Remove unused variables 2021-03-23 11:28:16 -04:00
Bill Thornton 34a19e0781 Move elements css files to sass 2021-03-19 13:46:12 -04:00
Bill Thornton 8e77f35657 Move assets css files to sass 2021-03-19 13:46:12 -04:00
Bill Thornton 0d2ede01b3 Fix margin for stacked emby-button elements 2020-12-20 00:29:13 -05:00
Dmitry Lyzo b975f4bf81 Prevent native navigation 2020-12-06 13:29:54 +03:00
Bill Thornton 9155899860 Fix emby-button link handling 2020-12-03 16:09:04 -05:00
Bill Thornton d8f2cc1245 Use static imports for html templates 2020-11-25 00:17:24 -05:00
dkanada 36344af64f Merge branch 'master' into osd-tweak 2020-11-21 22:15:49 +09:00
Nyanmisaka ea8a2d5549 Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-20 23:43:55 +00:00
nyanmisaka 17142dc6d3 tweak osd for narrow view 2020-11-17 22:36:01 +08:00
vitorsemeano 5b5d6a45b0 multiple imports optimized 2020-11-08 12:37:53 +00:00
vitorsemeano ca4d403ce8 Update src/elements/emby-collapse/emby-collapse.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:56:49 +00:00
vitorsemeano dfd729fd69 Update src/elements/emby-collapse/emby-collapse.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:56:28 +00:00
vitorsemeano a3a273e79c Update src/elements/emby-progressring/emby-progressring.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:56:11 +00:00
vitorsemeano beb06871de Update src/elements/emby-scrollbuttons/emby-scrollbuttons.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:55:43 +00:00
vitorsemeano fa6ab87730 Update src/elements/emby-scrollbuttons/emby-scrollbuttons.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2020-11-08 10:54:36 +00:00