Update job form layout
What does this MR do and why?
This MR is a part of larger effort for Add a page for retrying a CI job with new input... (#547649 - closed). It updates the job details page so that the job form is separated from the empty state. The sidebar should not be visible in a job form state.
Together with this (in a separate commit), I fixed some linter issues:
- Changed event names from camelCase to kebab-case
- Added
emitsdeclarations
References
Screenshots or screen recordings
| Before | After |
|---|---|
|
|
|
|
How to set up and validate locally
Manual job without log
- Create a manual job in
.gitlab-ci.yml:
manual_job:
stage: test
script: echo "test"
when: manual
- Navigate to the job details page
- Verify the manual variables form displays correctly
- Verify you can run the job with variables
Retry with modified variables
- Navigate to any completed job
- Click the retry dropdown in the sidebar
- Select "Run again with modified CI/CD variables"
- Verify the form appears and sidebar hides
- Click "Cancel" to return to normal view
- Verify sidebar reappears
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #547649 (closed)
Edited by Anna Vovchenko



