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
823 stars 311 forks source link

Reload page sitemap on move errors #2775

Closed tvdeyen closed 5 months ago

tvdeyen commented 5 months ago

What is this pull request for?

Locking the screen with "please wait overlay" after page has been moved in order to make sure that people do not drag too many pages in a short time frame.

Also fixes a bug with error handling if the page cannot be moved. We now reload the page sitemap after an error happened.

Checklist

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 95.80%. Comparing base (da9d5df) to head (57d438f). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2775 +/- ## ======================================= Coverage 95.79% 95.80% ======================================= Files 220 221 +1 Lines 6068 6073 +5 ======================================= + Hits 5813 5818 +5 Misses 255 255 ```

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