Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions web_src/js/components/RepoActionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,19 @@ export default defineComponent({
}
}

// Auto-expand running steps if option is enabled (fix for Issue #35570)
for (let i = 0; i < this.currentJob.steps.length; i++) {
const step = this.currentJob.steps[i];
const state = this.currentJobStepsStates[i];
if (
this.optionAlwaysExpandRunning &&
step.status === 'running' &&
!state.expanded
) {
state.expanded = true;
}
}

// find the step indexes that need to auto-scroll
const autoScrollStepIndexes = new Map<number, boolean>();
for (const logs of job.logs.stepsLog ?? []) {
Expand Down