Commit Graph

230 Commits

Author SHA1 Message Date
grafixeyehero 348125140b fix self.getOffset is not a function 2022-10-22 17:32:01 +03:00
Bill Thornton 8af09253c8 Merge pull request #4058 from Aimekram/fix-eslint-no-shadow
Add eslint no-shadow rule and fix violations
2022-10-20 10:56:15 -04:00
Aimekram 85e18c86d8 refactor: move extracted function above eslint comment 2022-10-19 22:17:32 +02:00
Aimekram 832b9eaf4d fix: eslint no-shadow errors 2022-10-16 16:04:37 +02:00
Bill Thornton 9cc6ca66e8 Add toPercent utility for compatibility 2022-10-16 02:52:17 -04:00
Bill Thornton 84c007fa0b Merge pull request #3743 from hadicharara/hadicharara/added-support-for-rtl-layouts
Add Initial support for RTL layouts
2022-10-15 02:50:48 -04:00
Bill Thornton 0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Hadi Charara 892f5b73cf Fixed all reported issues 2022-10-13 13:59:48 -04:00
Hadi Charara 104ad71ea7 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-12 08:29:53 -04:00
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
Hadi Charara a4f5803016 Fixed linting issues 2022-10-03 13:36:26 -04:00
Hadi Charara 32f103b852 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-01 16:55:59 -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
Hadi Charara d4202e0279 Replaced all inline entries with attribute bases selectors 2022-07-14 17:59:23 -04:00
Hadi Charara 7622358f6c Fix for mdl-radio__circles margins 2022-07-09 11:46:51 -04:00
Hadi Charara 1db79f58b4 Small css fix 2022-07-08 22:32:51 -04:00
Hadi Charara 37a6303800 Final commit 2022-07-08 13:25:59 -04:00
Hadi Charara 0f8c87108b Fixed scrollButtons 2022-07-05 21:56:23 -04:00
Hadi Charara 99a67bee64 Some cleaning and usage of getIsElementRTL 2022-07-05 20:06:04 -04:00
Hadi Charara 8488f48f99 Fixed video player 2022-07-05 19:58:02 -04:00
Hadi Charara 611f90b564 fixed bugs with video player 2022-07-05 19:44:55 -04: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
Hadi Charara bcdc67b522 Fixed scrollbuttons on desktop 2022-07-03 18:21:18 -04:00
Hadi Charara df39a9a1ff Uses now proper toLocaleString function 2022-07-03 14:03:39 -04:00
Hadi Charara d7e25bab12 Fixed emby-progressring Localization 2022-07-03 13:40:58 -04: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
Hadi Charara d38518e1e5 More small css fixes 2022-07-03 10:13:06 -04:00
Hadi Charara 4530e44e62 Small fix for video player as the progress bar shouldn't be rtl 2022-07-03 09:10:02 -04:00
Hadi Charara 974417ce3d use inline and block properties now 2022-07-02 22:59:40 -04:00
Hadi Charara b2a025f4d1 Small visual fix in homescreen 2022-07-02 18:40:08 -04:00
Hadi Charara 0f994ccb5b Initial support for RTL layouts 2022-07-02 15:50:52 -04: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