You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment the skill search consists of multiple turbo frames and partials. We want to clean this up if possible. The current plan is to use the new (since Turbo 8) refresh Turbo Stream with morphing. When a filter is changed the form is submitted. The controller responds with the refresh Turbostream, which morphs the changed elements on the page and displays the updated results from the filter_params class.
The new button can be handled with something like a new query param, which causes the filter form controller to add a new filter to the filter params.
Similarly, the delete button could do the same and pass the row number to delete with the query param.
After these actions the controller also responds with the refresh turbo stream.
ToDo
Clean up the views, partials, stimulus controllers and turboframes as much as possible to have a clean, new solution
Make sure to use the morphing option when working with the refresh turbo stream to not cause full page reloads
Tests still run
The text was updated successfully, but these errors were encountered:
At the moment the skill search consists of multiple turbo frames and partials. We want to clean this up if possible. The current plan is to use the new (since Turbo 8) refresh Turbo Stream with morphing. When a filter is changed the form is submitted. The controller responds with the refresh Turbostream, which morphs the changed elements on the page and displays the updated results from the filter_params class.
The new button can be handled with something like a
new
query param, which causes the filter form controller to add a new filter to the filter params.Similarly, the delete button could do the same and pass the row number to delete with the query param.
After these actions the controller also responds with the refresh turbo stream.
ToDo
The text was updated successfully, but these errors were encountered: