nomad
nomad copied to clipboard
[ui] "Clone and Edit" functionality for versions
Adds "Clone and Edit" alongside "Revert Version" on the Versions page:
Because we're passing template strings via query params, this means you can use ?sourceString= on the jobs run page to send someone a readily-editable job spec, using a URL like this.
This also adds a few UX conveniences like prompting a user to "run as a new job instead" if they try updating a job definition and changing its name (which fails a plan request), and reminding them to change the job name in the event they try to clone as a new one
Resolves #24156
Ember Test Audit comparison
| main | af31960a62a6909bd6dc766e6729b2bc3e03d572 | change | |
|---|---|---|---|
| passes | 1581 | 1581 | 0 |
| failures | 0 | 0 | 0 |
| flaky | 0 | 0 | 0 |
| duration | 13m 38s 594ms | 13m 27s 414ms | -11s 180ms |
@philrenaud when this is merged, we also need to update the screenshots, and possibly text, in the job versions guide.
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.