dynamically load audio visualizer #39

Closed
sugar wants to merge 1 commit from sugar/forkey:dynamically-load-audio-visualizer into main
Owner

audio visualizer weights 475 kB by itself, and audio files are relatively rare on timelines, so it makes sense to load it only when it's necessary

note that this change was submitted to upstream: https://github.com/MisskeyIO/misskey/pull/912

What

Why

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests
audio visualizer weights 475 kB by itself, and audio files are relatively rare on timelines, so it makes sense to load it only when it's necessary note that this change was submitted to upstream: https://github.com/MisskeyIO/misskey/pull/912 <!-- ℹ お読みください / README PRありがとうございます! PRを作成する前に、コントリビューションガイドをご確認ください: Thank you for your PR! Before creating a PR, please check the contribution guide: https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md --> ## What <!-- このPRで何をしたのか? どう変わるのか? --> <!-- What did you do with this PR? How will it change things? --> ## Why <!-- なぜそうするのか? どういう意図なのか? 何が困っているのか? --> <!-- Why do you do it? What are your intentions? What is the problem? --> ## Additional info (optional) <!-- テスト観点など --> <!-- Test perspective, etc --> ## Checklist - [ ] Read the [contribution guide](https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md) - [ ] Test working in a local environment - [ ] (If needed) Add story of storybook - [ ] (If needed) Update CHANGELOG.md - [ ] (If possible) Add tests
sugar added 1 commit 2025-01-17 13:39:09 +00:00
dynamically load audio visualizer
All checks were successful
Test (production install and build) / production (22.x) (pull_request) Successful in 3m5s
Lint / lint (frontend) (pull_request) Successful in 9m25s
Lint / lint (misskey-js) (pull_request) Successful in 2m12s
Lint / lint (sw) (pull_request) Successful in 2m30s
Lint / typecheck (backend) (pull_request) Successful in 2m59s
Lint / pnpm_install (pull_request) Successful in 2m15s
Test (frontend) / vitest (22.x) (pull_request) Successful in 2m57s
Lint / lint (backend) (pull_request) Successful in 2m56s
Lint / typecheck (misskey-js) (pull_request) Successful in 2m31s
a8f604137c
audio visualizer weights 475 kB by itself, and audio files are
relatively rare on timelines, so it makes sense to load it only when
it's necessary
Author
Owner

accepted by upstream, closing

accepted by upstream, closing
sugar closed this pull request 2025-01-17 14:21:26 +00:00
All checks were successful
Test (production install and build) / production (22.x) (pull_request) Successful in 3m5s
Lint / lint (frontend) (pull_request) Successful in 9m25s
Lint / lint (misskey-js) (pull_request) Successful in 2m12s
Lint / lint (sw) (pull_request) Successful in 2m30s
Lint / typecheck (backend) (pull_request) Successful in 2m59s
Lint / pnpm_install (pull_request) Successful in 2m15s
Test (frontend) / vitest (22.x) (pull_request) Successful in 2m57s
Lint / lint (backend) (pull_request) Successful in 2m56s
Lint / typecheck (misskey-js) (pull_request) Successful in 2m31s

Pull request closed

Sign in to join this conversation.
No description provided.