jellyfin / jellyfin-plugin-reports

Reports Plugin for Jellyfin
https://jellyfin.org
MIT License
30 stars 19 forks source link

Reports configuration/GUI non-working after upgrade to 10.7.0 rc1 #38

Closed mahriman closed 3 years ago

mahriman commented 3 years ago

The GUI for Reports have stopped working in 10.7.0 rc1: https://i.imgur.com/EQ6SEaL.png

Uncaught (in promise) Error: Failed to import: https://jellyfinhost/web/#!/configurationpage?name=reportsjs
    at HTMLScriptElement.a.onerror (main.bundle.js:2)
  | a.onerror | @ | main.bundle.js:2
-- | -- | -- | --
  | Promise.then (async) |   |  
  | value | @ | main.bundle.js:2
  | value | @ | main.bundle.js:2
  | (anonymous) | @ | main.bundle.js:2
  | Promise.then (async) |   |  
  | value | @ | main.bundle.js:2
  | r | @ | main.bundle.js:2
  | (anonymous) | @ | main.bundle.js:2
  | Promise.catch (async) |   |  
  | value | @ | main.bundle.js:2
  | o | @ | main.bundle.js:2
  | value | @ | main.bundle.js:2
  | (anonymous) | @ | main.bundle.js:2
  | (anonymous) | @ | main.bundle.js:2
  | Promise.then (async) |   |  
  | value | @ | main.bundle.js:2
  | value | @ | main.bundle.js:2
  | (anonymous) | @ | main.bundle.js:2
dmitrylyzo commented 3 years ago

https://github.com/jellyfin/jellyfin-web/pull/2188 will fix page loading, but this plugin needs to be rewritten to ES6. https://github.com/jellyfin/jellyfin-plugin-reports/blob/c624bf46e72278ca6f874281554ef05a07c91fce/Jellyfin.Plugin.Reports/Web/reports.js#L1