qri-io / frontend

frontend application for our qri.cloud site
GNU General Public License v3.0
3 stars 2 forks source link

Auto-save changes to triggers #656

Open chriswhong opened 2 years ago

chriswhong commented 2 years ago

After the refactor of the automation UX, we have "commit" as the action in place of deploy, but behind the scenes it is doing more than a commit and sends the triggers and hooks as well.

For consistency, we should make the commit action only commit changes to a script, and allow the user to make changes to triggers separately. These should just auto-save.

We will need to think through the UI, but some kind of spinner and notice that changes have been saved when a user interacts with the trigger UI is a good start.