Cancel button when editing Environment Settings (and other text)
What problem will this feature address?
When I am viewing the Environment Settings and start to edit it...
- there's no visual indication or feedback that I have edited the settings
- there's no obvious way to revert/undo/cancel any edits I may have made
Describe the solution you'd like
- The Save Button should be enabled only if there are edits to the Environment Settings
- There should be a Cancel Button that reverts the Environment Settings to the saved value
Describe alternatives you've considered
One possibility is to also add an Editing state where one has to click on an Edit button before the text is editable, and the Cancel button leaves the editing state. This is less of an alternative, and more of an additional editing feature to give clarity that one is editing the settings, rather than simply viewing them.
Additional context
No response
I will add that this general "problem" exists in other places, such as when choosing a Provider for a Docker Compose service. There are tabs for choosing what type of Provider (GitHub, GitLab, etc.) and clicking on them navigates to that page. There is only a Save button at the bottom of the page. Once the user changes tabs, it's not obvious what changes they may have made to the settings of the service and no way to cancel/revert, other than refreshing the page to load the reload the saved values.