agora-server icon indicating copy to clipboard operation
agora-server copied to clipboard

refactor js to use python templates

Open codegod100 opened this issue 1 year ago • 0 comments

This was an experiment in refactoring the javascript from a build step to a directly calling it from the browser inside the template. This has a few benefits

  • Faster load, only the template actually requiring the javascript pulls it down
  • Easier onboarding, potentially we can remove the javascript build step entirely since it is just pulling javascript from browser

I played with the features I thought may be affected by this PR and they looked ok, feel free to respond with any feedback

Formatting changes were done by ruff which is a nice autoformatter that has 29k stars on github

codegod100 avatar Jul 11 '24 04:07 codegod100