feature: Logs, column for tag, and left align status. Stop nav flash (#393)

This commit is contained in:
James Read
2024-08-30 21:28:12 +01:00
committed by GitHub
parent eb91eb33d5
commit dc9653307b
3 changed files with 8 additions and 4 deletions

View File

@@ -15,10 +15,11 @@ export class ActionStatusDisplay {
update (logEntry) {
this.statusElement.classList.remove(...this.statusElement.classList)
this.statusElement.classList.add('action-status')
if (logEntry.executionFinished) {
this.statusElement.innerText = 'Completed'
this.exitCodeElement.innerText = ', Exit code: ' + logEntry.exitCode
this.exitCodeElement.innerText = ' Exit code: ' + logEntry.exitCode
if (logEntry.exitCode === 0) {
this.statusElement.classList.add('action-success')