OSC / ondemand

Supercomputing. Seamlessly. Open, Interactive HPC Via the Web
https://openondemand.org/
MIT License
263 stars 99 forks source link

Enable turbo #3509

Closed johrstrom closed 2 months ago

johrstrom commented 2 months ago

This is the first pass at enabling turbo-rails gem in the dashboard. It refactors the BatchConnect::sessions#index to update these cards with turbo instead of javascript evaluation.

This does not add the turbo libraries to the javascript pipeline. Though they show up through the gem, we're not using the library yet. This PR provides a shim to update the DOM instead of using the Turbo javascript libraries. Initially, I wanted to use the Turbo javascript libraries but found that it broke a lot of things (like form submission). So I thought the best first step would be to provide a shim that we can remove at some later point.