Fix action run view style regressions from #36883#36987
Fix action run view style regressions from #36883#36987silverwind wants to merge 3 commits intogo-gitea:mainfrom
Conversation
- Fix `.left-list-header` unreadable on dark theme by using `--color-text-light-2` instead of `--color-grey` - Fix `.graph-metrics` bullet inheriting blue color - Improve summary block layout with horizontal flexbox - Add dot separator between status and duration Co-Authored-By: Claude (claude-opus-4-6) <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR fixes UI regressions in the Actions run “summary” and workflow graph header styling introduced by #36883, primarily improving readability/contrast and separator rendering across themes and breakpoints.
Changes:
- Adjust sidebar “All jobs” header typography/color for better dark-theme contrast.
- Refine workflow graph header separators and add a header bottom border.
- Rework the summary header layout to use a horizontal flex layout with a mobile column breakpoint and add dot separators between metadata items.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| web_src/js/components/WorkflowGraph.vue | Tweaks header stats/metrics separator markup and adds a bottom border to the graph header. |
| web_src/js/components/RepoActionView.vue | Improves .left-list-header readability (font size + text color variable). |
| web_src/js/components/ActionRunSummaryView.vue | Updates summary header layout (flex + breakpoint) and introduces dot separators in the summary metadata. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Add prefix="" to <relative-time> to prevent default "on" prefix - Wrap graph metrics bullet in <span> to keep it as single flex item Co-Authored-By: Claude (claude-opus-4-6) <[email protected]>
Co-Authored-By: Claude (claude-opus-4-6) <[email protected]>
| <ActionRunStatus :locale-status="locale.status[run.status]" :status="run.status" :size="16"/> | ||
| <span class="tw-ml-2">{{ locale.status[run.status] }}</span> | ||
| <span class="tw-ml-3">{{ locale.totalDuration }} {{ run.duration || '–' }}</span> | ||
| <span class="tw-ml-2">{{ locale.status[run.status] }}</span> • <span>{{ locale.totalDuration }} {{ run.duration || '–' }}</span> |
There was a problem hiding this comment.
It can use flex instead of depending on the "newline/space" behavior.
<p class="tw-mb-0"> => <div class="flex-text-inline">
| <span v-if="graphMetrics" class="graph-metrics"> | ||
| • {{ graphMetrics.successRate }} success | ||
| <span v-if="graphMetrics"> | ||
| • <span class="graph-metrics">{{ graphMetrics.successRate }} success</span> |
There was a problem hiding this comment.
Many style fine tuning changes can be done in Restyle Workflow Graph #36912 . Otherwise, merge conflicts
There was a problem hiding this comment.
Hmm I can also merge this branch onto there instead.
| font-size: 12px; | ||
| color: var(--color-grey); | ||
| font-size: 13px; | ||
| color: var(--color-text-light-2); |
|
All moved to #36912 |
Fix style regressions introduced in #36883:
.left-list-header("All jobs") unreadable on dark theme by using--color-text-light-2instead of--color-grey(#384149in dark theme has no contrast).graph-metricsbullet separator inheriting blue--color-primarycolor