scylladb / argus

Apache License 2.0
4 stars 11 forks source link

feature(frontend): Add possibility to clone empty jobs #519

Open k0machi opened 1 day ago

k0machi commented 1 day ago

This commit adds a new button alongside "Configure" button on the job collapse, allowing user to clone a job without having to run one first. In this case, the parameter retrieval is skipped initially, and the parameters are retrieved from the new job. In case of pressing this button on a job with runs, the flow is largely the same as normal clone, the parameters are taken from the latest job. Additionally, for usability, last stage now gives user possibility to instantly add newly created job to the workspace.

Fixes #379

k0machi commented 1 day ago

Button placement:

image

The flow is exactly the same as normal clone, so refer to #349 for a demo.

fruch commented 16 hours ago

can we also trigger them ?

k0machi commented 15 hours ago

can we also trigger them ?

I can add that in as well, it would use the same logic to retrieve latest build (or start from zero)