Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add turbo frame support to dialog #2958

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jul 2, 2024

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

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 7.3 milestone Jul 2, 2024
@tvdeyen tvdeyen self-assigned this Jul 2, 2024
Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.63%. Comparing base (4c20717) to head (358bf3f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2958   +/-   ##
=======================================
  Coverage   96.63%   96.63%           
=======================================
  Files         236      236           
  Lines        6331     6332    +1     
=======================================
+ Hits         6118     6119    +1     
  Misses        213      213           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen force-pushed the add-turbo-frame-support-to-dialog branch from 04e08b5 to 4cd9333 Compare August 1, 2024 08:19
@tvdeyen tvdeyen modified the milestones: 7.3, 8.0 Sep 8, 2024
@tvdeyen tvdeyen force-pushed the add-turbo-frame-support-to-dialog branch 2 times, most recently from ff72e64 to 80641ad Compare September 24, 2024 11:20
Handle Turbo related events to support `turbo_frame_tag`s
in Dialogs. Follows redirects after successful form submission,
if we use `do_redirect_to` which is called by `render_errors_or_redirect`.
We want to be able to test validation responses on resource forms
And turn of remote in order to stop using rails-ujs
@tvdeyen tvdeyen force-pushed the add-turbo-frame-support-to-dialog branch from 80641ad to 358bf3f Compare September 24, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant