meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.25k stars 2.48k forks source link

Update demos and docs to Bootstrap 5.x #3300

Closed lminiero closed 11 months ago

lminiero commented 11 months ago

This is a proper refactoring of all the demos and the generated documentation so that it uses more up-to-date stuff, specifically Bootstrap 5.x, which #3295 and #3296 did incorrectly. The patch also updates font-awesome to 6.x, so it already includes (and actually expands, since there was stuff that was incorrect there too) #3298. Notice I will only do this for master: all the 0.x demo/docs will remain as they are.

This required a huge effort, since I first needed to migrate to Bootstrap 4.x (which took quite a while), and from there to 5.x (less problematic but still not a walk in the park). I tried testing all demos in multiple scenarios, but obviously I couldn't test everything, so please give them a go yourself too just to ensure I didn't break anything in the process. From a functional perspective, everything should be there.

Before merging, I'll try to also try and take advantage of a few things that Bootstrap has, but that we're relying on external libraries for, like spinners and toasts. Ideally that should help us getting closer to get rid of jQuery, even though that will take longer, and will done (in case) in a separate PR, since we depend on it for some stuff (BlockUI, all selectors, all html appends/prepends and maybe a few other things).

Feedback welcome!

lminiero commented 11 months ago

Pinging @bkmgit since he was the author of the original efforts.

lminiero commented 11 months ago

Merging.

bkmgit commented 11 months ago

Thanks for the updates.