backdrop-contrib / demo

Manage snapshots of a Backdrop site for demo purposes.
https://backdropcms.org/project/demo
GNU General Public License v2.0
1 stars 3 forks source link

Show snapshot naming error message while preserving entry information #31

Closed izmeez closed 1 month ago

izmeez commented 1 year ago

If the snapshot filename does not meet the requirements it would be nice if the error message can be shown while preserving the entry itself to allow user to fix it without having to do all over again. Here is a mock up. demo-filename-error-show-with-entry-mockup

robertgarrigos commented 1 month ago

@izmeez just posted a pr to fix this. Would you test it, please?

izmeez commented 1 month ago

@robertgarrigos Yes, the PR works for me. I had to manually apply the patch to test it.