0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 01:10:43 +08:00
discourse/plugins/discourse-lazy-videos
Kris 59d53dc18a
UX: add admin sidebar icons for preinstalled plugins (#36764)
Currently all our preinstalled plugins use the default "gear" icon from
fontawesome — this PR adds unique icons for each of them using a new
plugin API method, `setAdminPluginIcon()`. Plugins without an icon
defined will still fall back to the gear icon.


Before:
<img width="250" alt="image"
src="https://github.com/user-attachments/assets/06b5c6e7-0aae-44f8-b8ee-1486b98bfc6b"
/>


After: 
<img width="250" alt="image"
src="https://github.com/user-attachments/assets/46d45d4b-6c75-4473-ae53-1a0e71c4d6fb"
/>
2025-12-18 16:39:00 -05:00
..
assets UX: add admin sidebar icons for preinstalled plugins (#36764) 2025-12-18 16:39:00 -05:00
config FIX: unhide the "lazy videos enabled" site setting (#36478) 2025-12-05 14:21:00 +01:00
db/migrate DEV: Promote historic post_deploy migrations (#25334) 2024-01-19 14:47:42 +00:00
lib/discourse_lazy_videos DEV: Remove unnecessary freeze calls (#35064) 2025-09-30 15:36:16 +02:00
spec DEV: Remove remnant puts (#34716) 2025-09-04 11:12:38 +08:00
test/javascripts/components DEV: Remove unneeded const self = this; from qunit tests (#35632) 2025-10-27 18:07:22 +00:00
package.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00
plugin.rb UX: add admin sidebar icons for preinstalled plugins (#36764) 2025-12-18 16:39:00 -05:00
README.md
tsconfig.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00

Discourse Lazy Videos

Adds lazy loading support for embedded videos

Supported providers

  • YouTube
  • Vimeo

Experimental

  • TikTok