Open filipegiusti opened 1 month ago
@filipegiusti Could you please post the context from the discord thread? I don't have access. Thanks
Hey @G-Simpson. In case you want to join, use this link https://avo.cool/chat
This would be a cool feature to have!
confirm_before_create|update|save
option to BaseResource
custom-confirm.js
behavior to trigger the same modal. Some work will be required here to extract that functionalityBTW, you can check out that thread here on the public chat archives.
I'm happy to have a look at this
Feature
When opening the edit page or when saving a resource, users should see a confirmation modal.
Current workarounds
I guess it could be achieve by manually replicating the default actions list and overriding the save button.
Screenshots or screen recordings
N/A.
Additional context
We would like the ability to ask for confirmation on saves depending on resource state because some of our resources have states that are low stakes (unpublished) and ones that are high stakes (published) and we would like to avoid human error on high stakes states.
Initially discussed this discord thread.