Commit Graph

247 Commits

Author SHA1 Message Date
Bill Thornton eedd40159c Fix floating promises in ts files 2023-05-04 15:59:22 -04:00
Bill Thornton 1b03cd79eb Fix prefer for-of errors 2023-05-04 13:07:12 -04:00
Bill Thornton f96166657d Move remaining router components 2023-05-02 16:40:31 -04:00
Bill Thornton 45623fe586 Fix missing semicolons in ts files 2023-05-02 15:54:53 -04:00
Bill Thornton 8f730b8270 Fix eslint warnings in ts files 2023-04-26 11:30:57 -04:00
Bill Thornton f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
Bill Thornton 6f3aa2f1df Fix eslint issues 2023-03-29 00:38:22 -04:00
Bill Thornton 329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Netanel Henya 494c0ed434 cleanup: reorganized sass files to be in src/styles instead of src/assets/css 2023-02-26 01:01:31 +02:00
edvwib d58f2e8ec4 Enable Stylelint rules for vendor prefixes
This commit also removes a bunch of vendor prefixes that were in the styles
but are no longer needed since PostCSS and Autoprefixer handles generating
them.
2022-12-20 23:49:26 +01:00
Bill Thornton 19f416580c Add eslint rules for sonar issues 2022-12-16 21:12:05 -05:00
grafixeyehero 72cbd37182 apply suggestion 2022-12-15 23:14:46 +03:00
grafixeyehero 62a9034f5b Convert emby-button and emby-scroller to react 2022-12-15 23:14:44 +03:00
grafixeyehero 071e7d15d9 clean up GenresView & GenresItemsContainer 2022-10-29 02:07:24 +03:00
grafixeyehero de4a359c98 Use interface over type 2022-10-26 23:46:13 +03:00
grafixeyehero 7543e494c9 splitting SuggestionsView component 2022-10-26 23:46:06 +03:00
grafixeyehero 479c53eb8b Migrate Movies 2022-10-26 23:46:00 +03:00
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