Status: Open (View Workflow)
Add Cancel button to job Configure Screen
The job configure screen needs a Cancel button. It currently only has Save and Apply.
This issue has been observed for the job configuration screens of the following:
It probably exists for others too.
This is needed so that a user can view a jobs configuration without actually changing the configuration.
I have observed that I can make zero(0) changes to a job and when I select Save to exit the configuration window, the corresponding config.xml is updated. The updates are often changing a plugin version, or sometimes removing empty XML statements and other times adding empty xml statements.
Another reason to add cancel is in the event that a user makes a modification that they don't want saved. The want to cancel the configuration session.
Moreover the Cancel button would only apply to unsaved changes. For example if the did the following:
- Modify config
- Select Apply
- Modify config
- Select Cancel
Then that would only back-out/revert/cancel the changes made for step 3 since it hadn't be applied yet.
I guess this might also be considered an Exit button.
kon - That is true. That is a workaround.
Other similar products such as gitlab, JIRA, Stack Overflow, etc. have a Cancel option next to the Save option. Having the Cancel button is just good UX and better user experience.
I work with several seasoned software engineers and they've all asked how to quit/cancel a Jenkins configuration session without saving. I've told them of this workaround and the consistent response is: "Lame, tool XYZ does it right, hasn't Jenkins been around for awhile?"
You can just navigate to a different page, e.g. with the browser’s back button.