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

[7.4-stable] Use turbo streams to update page from configure dialog #3128

Merged
merged 3 commits into from
Jan 5, 2025

Conversation

alchemycms-bot
Copy link
Collaborator

Backport

This will backport the following commits from main to 7.4-stable:

Questions ?

Please refer to the Backport tool documentation

Follows redirects after successful form submission,
if we use `do_redirect_to` which is called by `render_errors_or_redirect`.

(cherry picked from commit 48ac1fe)
This one was complex because we do a lot of different things
dependent of where we are and what page type we update.

The sitemap tree still needs to be replaced by calling a
script, due to the fact that it is rendered with Handlerbars.

Luckily Turbo let's us do this as well and can tackle that problem
later.

(cherry picked from commit c8e86ca)
We do not need this, if we make sure we do not use `rails-ujs` with
`data-remote` in these forms. We can do that by passing `remote: false`
to `alchemy_form_for`.

(cherry picked from commit 5fac280)
app/controllers/alchemy/admin/base_controller.rb Dismissed Show dismissed Hide dismissed
app/controllers/alchemy/admin/base_controller.rb Dismissed Show dismissed Hide dismissed
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.47%. Comparing base (2a36eb6) to head (56a55c1).
Report is 9 commits behind head on 7.4-stable.

Additional details and impacted files
@@             Coverage Diff             @@
##           7.4-stable    #3128   +/-   ##
===========================================
  Coverage       96.47%   96.47%           
===========================================
  Files             237      237           
  Lines            6406     6410    +4     
===========================================
+ Hits             6180     6184    +4     
  Misses            226      226           

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

@tvdeyen tvdeyen merged commit ce12a5d into 7.4-stable Jan 5, 2025
40 checks passed
@tvdeyen tvdeyen deleted the backport/7.4-stable/pr-3054 branch January 5, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants