mingo-app / mingo

Found a bug? have a FR ?
60 stars 2 forks source link

[FR] Command execution warning enhancement #635

Open ozanerturk opened 6 months ago

ozanerturk commented 6 months ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Execution warnings provide a valuable safeguard against unintended operations, but they could be enhanced by providing visibility into the specific command being executed. image

Describe alternatives you've considered Warnings can be implemented as pop-up confirmations instead of modals that obscure underlying content. Additional context image

Bassadin commented 1 month ago

It also seems like the logic for showing the modal seems to be tied to just finding the strings "update", "insert", etc. in the content instead of matching function calls, essentialls also needlessly preventing you from executing a non-dangerous query when you query for fields like "updated" on a collection object.