feat(dashboard): Always show Refinery Merge Queue section
The Refinery Merge Queue section now displays always, even when idle: - Shows 'No PRs in queue' message when merge queue is empty - Displays PR table with number, title, CI status, and mergeable when PRs exist - Added empty-state-inline CSS for consistent styling Previously the section was hidden entirely when no PRs existed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -211,6 +211,19 @@
|
|||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.empty-state-inline {
|
||||||
|
text-align: center;
|
||||||
|
padding: 24px;
|
||||||
|
color: var(--text-secondary);
|
||||||
|
background: var(--bg-card);
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state-inline p {
|
||||||
|
font-size: 0.875rem;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.status-hint {
|
.status-hint {
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
@@ -362,8 +375,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if .MergeQueue}}
|
|
||||||
<h2 class="section-header">🔀 Refinery Merge Queue</h2>
|
<h2 class="section-header">🔀 Refinery Merge Queue</h2>
|
||||||
|
{{if .MergeQueue}}
|
||||||
<table class="convoy-table">
|
<table class="convoy-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -406,6 +419,10 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{{else}}
|
||||||
|
<div class="empty-state-inline">
|
||||||
|
<p>No PRs in queue</p>
|
||||||
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if .Polecats}}
|
{{if .Polecats}}
|
||||||
|
|||||||
Reference in New Issue
Block a user