1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
No description
Find a file
Xavier-Do a928b12c44 Fix white background on video refresh
When refreshing a /video page, since no player is available,
`getCurrentPlayer` will be empty and `bindToPlayer` will crash leading
to a redirect with `appRouter.goHome();`
This is also the case when navigating with previous then next in the
browser.

Before that that, the background is set in `viewbeforeshow` using
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);`

This will leave unexpected classes in the dom leading to a white
background on the main page.

This fixes proposes to reset the transparency before going to home
using `setBackdropTransparency(TRANSPARENCY_LEVEL.None);`
Anyway, this looks a little fragile and a deeper fix may be preferable
in the future.

Another solution would be to move the
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);` when the player is
ready but my understanding of the flow is not enough to now if it would
have any unexpected results.
2023-05-09 17:03:14 +02:00
.ci Remove SKIP_PREPARE env variable usages 2023-03-10 12:32:06 -05:00
.github Update github/codeql-action action to v2.3.3 2023-05-04 18:56:04 +00:00
.vscode Add vscode configuration to fix issues on saving 2022-06-28 16:17:56 -04:00
debian Run web build script manually 2023-03-10 12:32:06 -05:00
deployment Update fedora Docker tag to v39 2023-04-19 14:15:19 +00:00
fedora Run web build script manually 2023-03-10 12:32:06 -05:00
scripts Remove NPM prepare script 2023-03-10 12:32:06 -05:00
src Fix white background on video refresh 2023-05-09 17:03:14 +02:00
.copr Run bump_version in make srpm 2021-12-13 13:01:48 -05:00
.editorconfig Fixed editorconfig spec 2020-07-21 20:19:44 +02:00
.escheckrc cleanup: formatting, escheck 2023-03-16 15:42:44 +01:00
.eslintignore Migrate navdrawer to ES6 2020-08-06 20:59:14 +02:00
.eslintrc.js Change promise lint rules to error in ts and warn in js 2023-05-04 16:04:09 -04:00
.gitattributes Add more filetypes to gitattributes 2020-04-25 15:02:42 +02:00
.gitignore Add vscode configuration to fix issues on saving 2022-06-28 16:17:56 -04:00
.npmignore Azure pipelines (#470) 2019-09-19 14:35:30 -04:00
.npmrc Use engine-strict 2022-09-30 01:20:49 -04:00
.stylelintrc.json Enable Stylelint rules for vendor prefixes 2022-12-20 23:49:26 +01:00
.stylelintrc.scss.json Fix stylelint upgrade 2021-10-27 00:19:44 -04:00
babel.config.js fix: babel jassub worker 2023-03-15 12:50:02 +01:00
build.sh build.sh: Allow docker build on non debian systems 2021-09-25 22:12:45 +02:00
build.yaml Bump version to 10.8.0 for next release 2020-12-04 21:58:48 -05:00
bump_version Run bump_version in make srpm 2021-12-13 13:01:48 -05:00
CONTRIBUTORS.md Merge branch 'master' into fix_long_getItems_request_URL 2023-04-13 11:05:09 +00:00
cssnano.config.js Fix CSS fallback 2022-10-08 23:45:54 +03:00
LICENSE First separation commit. 2019-01-09 12:36:54 +01:00
package-lock.json Merge pull request #4560 from jellyfin/renovate/jassub-1.x 2023-05-04 11:43:23 -04:00
package.json Merge pull request #4560 from jellyfin/renovate/jassub-1.x 2023-05-04 11:43:23 -04:00
postcss.config.js Fix eslint issues 2023-03-29 00:38:22 -04:00
README.md Refactor app structure 2023-04-28 01:24:37 -04:00
tsconfig.json Allow json file imports in typescript files 2023-04-16 23:20:23 -04:00
webpack.common.js Merge branch 'master' into jassub 2023-03-27 15:31:50 +02:00
webpack.dev.js Only allow jsx in jsx/tsx files 2022-09-29 13:11:56 -04:00
webpack.prod.js Only allow jsx in jsx/tsx files 2022-09-29 13:11:56 -04:00

Jellyfin Web

Part of the Jellyfin Project


Logo Banner

GPL 2.0 License Current Release Translation Status
Donate Feature Requests Chat on Matrix Join our Subreddit

Jellyfin Web is the frontend used for most of the clients available for end users, such as desktop browsers, Android, and iOS. We welcome all contributions and pull requests! If you have a larger feature in mind please open an issue so we can discuss the implementation before you start. Translations can be improved very easily from our Weblate instance. Look through the following graphic to see if your native language could use some work!

Detailed Translation Status

Build Process

Dependencies

  • Node.js
  • npm (included in Node.js)

Getting Started

  1. Clone or download this repository.

    git clone https://github.com/jellyfin/jellyfin-web.git
    cd jellyfin-web
    
  2. Install build dependencies in the project directory.

    npm install
    
  3. Run the web client with webpack for local development.

    npm start
    
  4. Build the client with sourcemaps available.

    npm run build:development
    

Directory Structure

.
└── src
    ├── apps
    │   ├── experimental  # New experimental app layout
    │   └── stable        # Classic (stable) app layout
    ├── assets            # Static assets
    ├── components        # Higher order visual components and React components
    ├── controllers       # Legacy page views and controllers 🧹
    ├── elements          # Basic webcomponents and React wrappers 🧹
    ├── hooks             # Custom React hooks
    ├── legacy            # Polyfills for legacy browsers
    ├── libraries         # Third party libraries 🧹
    ├── plugins           # Client plugins
    ├── routes            # React routes/pages
    ├── scripts           # Random assortment of visual components and utilities 🐉
    ├── strings           # Translation files
    ├── styles            # Common app Sass stylesheets
    ├── themes            # CSS themes
    ├── types             # Common TypeScript interfaces/types
    └── utils             # Utility functions
  • 🧹 — Needs cleanup
  • 🐉 — Serious mess (Here be dragons)