Commit Graph

68 Commits

Author SHA1 Message Date
Bill Thornton f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
peterspenler 25e896ad6b Backport pull request #4069 from jellyfin/release-10.8.z
Fix images sometimes not un-blurring

Original-merge: 4c99480c42d089f39dfb5586ba9c76b7d7f6f3cc

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
2022-10-27 00:06:20 -04:00
Bill Thornton b10271d23d Add aria-hidden to blurhash canvases 2022-03-04 11:01:35 -05:00
Bill Thornton 4dd645bbfa Hide card padders in image loader 2022-02-28 00:10:29 -05:00
Dmitry Lyzo 64fb71ee1e Fix Blurhash worker on webOS 1.2
Webpack 5 doesn't polyfill Promise in the worker, so we use (deprecated) 'worker-loader', which does until Webpack 5 gets a fix.
2022-01-15 00:16:14 +03:00
Fernando Fernández 41b8fc8d2a Correct outdated comment 2022-01-14 10:33:37 +01:00
Fernando Fernández 486b0db0cd remove unnecessary canvas animations and switch to CSS3 animations 2022-01-14 10:33:37 +01:00
Fernando Fernández d1e0a7b1d7 handle multiple DOM nodes with same blurhash string 2022-01-14 10:33:37 +01:00
Fernando Fernández 5716e4cf05 implement worker without proxies for better compatibility with old devices 2022-01-14 10:33:37 +01:00
Fernando Fernández eb486ef4b7 Reduce blink when switching between image and blurhash 2022-01-14 10:33:36 +01:00
Fernando Fernández 18fe70b978 Increase pixels resolution 2022-01-14 10:33:36 +01:00
Fernando Fernández a47dd1b35c Decode Blurhash pixels in a WebWorker 2022-01-14 10:33:36 +01:00
Dmitry Lyzo bca0e726ca Fix re-emptying image 2021-11-06 00:41:10 +03:00
Bill Thornton a47f6d458c Move components css files to sass 2021-03-19 14:00:59 -04:00
Fernando Fernández a91d4b6a67 fix(card): white flashing images 2021-01-05 19:06:32 +01:00
vitorsemeano 5b5d6a45b0 multiple imports optimized 2020-11-08 12:37:53 +00:00
vitorsemeano 92b1cb3aa3 removed unecessary console.warn 2020-11-06 00:04:23 +00:00
MrTimscampi 7d9208e951 WIP 2020-11-05 23:09:09 +00:00
MrTimscampi bfb8c7c1f6 Make import paths ES6-compatible 2020-11-05 22:58:26 +00:00
dkanada 39eddeb205 run eslint to fix most var instances 2020-10-07 21:12:14 +09:00
Bill Thornton f4a329433e Only add background color to blurhashed items 2020-08-19 13:47:16 -04:00
Bill Thornton e5198a6328 Skip adding background color for non-blurhashable items 2020-08-19 13:36:29 -04:00
Bill Thornton 5e1d4edd87 Set background color on blurhash image load 2020-08-19 13:02:09 -04:00
MrTimscampi f16df9788a Migrate bundle, qualityOptions, appHost and appLoader 2020-08-06 19:32:29 +02:00
MrTimscampi 5d2d8d2855 Fix typo in imageLoader 2020-08-01 05:37:07 +02:00
MrTimscampi 5e1b6acffe Disallow block padding 2020-07-27 08:06:46 +02:00
Dmitry Lyzo 233fe7dd33 Use NodeList instead of HTMLCollection 2020-07-23 10:38:12 +03:00
Joshua M. Boniface 59eed728de Merge pull request #1498 from MrTimscampi/blurhash-perf
Improve blurhash performance
2020-07-01 11:42:13 -04:00
MrTimscampi 0766d360c1 Move check outside of loop 2020-06-30 00:10:13 +02:00
MrTimscampi 0361a2d58d Fix blurhash entry animation 2020-06-29 23:57:05 +02:00
MrTimscampi 5924c17c72 Improve blurhash performance 2020-06-29 23:38:46 +02:00
MrTimscampi d57eff1c9b Refactor details page 2020-06-16 21:49:27 +02:00
ferferga ef26e0d37e Address review comments (Part 2) 2020-06-04 19:44:00 +02:00
ferferga 855b9169ce Address review comments 2020-06-04 19:09:02 +02:00
ferferga 1591aef481 Fallback to old behaviour when blurhash for specific item doesn't exist 2020-06-04 18:13:28 +02:00
ferferga 169ecacc62 Address review comments 2020-06-02 22:02:13 +02:00
ferferga d32dd7d7d8 Appply review suggestions 2020-06-02 17:59:08 +02:00
ferferga 450ff30b9c Apply missing code review suggestion 2020-05-30 17:35:25 +02:00
ferferga dbcc31e1a4 Remove testing bits 2020-05-30 16:51:40 +02:00
ferferga 7169d8494d Add a toggle for blurhash 2020-05-30 16:44:33 +02:00
ferferga 6428bb1ad5 Code cleanup 2020-05-26 21:53:49 +02:00
ferferga 93148c87ad With async the DOM seems to be less blocked while generating (at least for me), so I guess we should keep it (?) :D 2020-05-26 14:05:34 +02:00
Vasily 2bf7a53dc2 Adapt to changes in server-side blurhash, reduce copypasta a bit 2020-05-26 01:31:55 +03:00
ferferga 7587469480 Improve decoding speed 2020-05-25 18:31:51 +02:00
ferferga d7fda69e9c Revert testing values 2020-05-23 19:58:03 +02:00
ferferga 6840beaca9 Remove useless comment 2020-05-23 19:43:22 +02:00
ferferga 8ef7a7a054 Blurhash implementation (from scratch) 2020-05-23 18:35:34 +02:00
MrTimscampi 7dc1cf771d Merge remote-tracking branch 'upstream/master' into lazyloader 2020-05-07 11:01:14 +02:00
MrTimscampi 9e3ca706c4 Force the use of single quotes 2020-05-04 12:44:12 +02:00
MrTimscampi 28f575755b Add check for source when loading images 2020-05-02 19:44:27 +02:00