AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
817 stars 313 forks source link

Add turbo frame support to dialog #2958

Open tvdeyen opened 2 days ago

tvdeyen commented 2 days ago

What is this pull request for?

Handle Turbo related events to support turbo_frame_tags in Dialogs. Follows redirects after successful form submission, if we use do_redirect_to which is called by render_errors_or_redirect.

Checklist

codecov[bot] commented 2 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.00%. Comparing base (72973ad) to head (04e08b5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2958 +/- ## ======================================= Coverage 96.00% 96.00% ======================================= Files 232 232 Lines 6282 6283 +1 ======================================= + Hits 6031 6032 +1 Misses 251 251 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.