Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
feat: tint issue card background for in-progress and blocked labels
[._.]/ Adam Eivy6b84ab500557
diff --git a/client/src/components/apps/tabs/IssuesTab.jsx b/client/src/components/apps/tabs/IssuesTab.jsxindex ce26ef0f25..c2dbc89fd2 100644--- a/client/src/components/apps/tabs/IssuesTab.jsx+++ b/client/src/components/apps/tabs/IssuesTab.jsx@@ -121,6 +121,16 @@ function parseRunKey(key) {// the chip back on.const DEFAULT_HIDDEN_LABELS = ['blocked', 'in-progress'];+// Row background tint for the two claim-state labels. Uses the theme's+// warning/error tokens (alpha-tinted so every theme keeps its own palette+// rather than a hardcoded color), blocked taking precedence over in-progress.+export function issueRowTint(issue) {+ const names = new Set(issue.labels.map(l => l.name));+ if (names.has('blocked')) return 'bg-port-error/10';+ if (names.has('in-progress')) return 'bg-port-warning/10';+ return 'bg-port-card';+}+const defaultLabelFilter = () => ({mode: 'exclude',names: new Set(DEFAULT_HIDDEN_LABELS),@@ -801,7 +811,7 @@ export default function IssuesTab({ appId, appName }) {{issues.map(issue => {const isOpen = expanded.has(issue.number);return (- <div key={issue.number} className="bg-port-card">+ <div key={issue.number} className={issueRowTint(issue)}><div className="flex flex-col sm:flex-row sm:items-start gap-3 p-3"><buttononClick={() => toggleExpanded(issue.number)}diff --git a/client/src/components/apps/tabs/IssuesTab.test.jsx b/client/src/components/apps/tabs/IssuesTab.test.jsxindex 20e08bc0fa..5436091b83 100644--- a/client/src/components/apps/tabs/IssuesTab.test.jsx+++ b/client/src/components/apps/tabs/IssuesTab.test.jsx@@ -591,6 +591,35 @@ describe('IssuesTab', () => {expect(chip).toHaveAttribute('aria-pressed', 'true');});+ it('tints the issue card background for in-progress and blocked labels, blocked winning when both are present', async () => {+ // The tint is theme-aware (port-warning / port-error tokens), so the row+ // stays readable in every theme instead of shipping a hardcoded color.+ api.getAppIssues.mockResolvedValue(okPayload([+ ISSUE,+ { ...ISSUE, number: 43, title: 'Being worked right now', labels: [{ name: 'in-progress', color: '#0e8a16', description: '' }] },+ { ...ISSUE, number: 44, title: 'Waiting on a dependency', labels: [{ name: 'blocked', color: '#b60205', description: '' }] },+ {+ ...ISSUE, number: 45, title: 'Worked but stuck',+ labels: [+ { name: 'in-progress', color: '#0e8a16', description: '' },+ { name: 'blocked', color: '#b60205', description: '' },+ ],+ },+ ]));+ await renderTab();++ await screen.findByText('Crash on save');+ fireEvent.click(screen.getByRole('button', { name: /in-progress/ }));+ fireEvent.click(screen.getByRole('button', { name: 'blocked (2)' }));++ // The tinted div is the row root — exactly 4 levels above the title button.+ const rowOf = (title) => screen.getByText(title).closest('div').parentElement.parentElement.parentElement;+ expect(rowOf('Crash on save').className).toBe('bg-port-card');+ expect(rowOf('Being worked right now').className).toBe('bg-port-warning/10');+ expect(rowOf('Waiting on a dependency').className).toBe('bg-port-error/10');+ expect(rowOf('Worked but stuck').className).toBe('bg-port-error/10');+ });+it('toggles a label chip off to hide every issue carrying that label', async () => {api.getAppIssues.mockResolvedValue(okPayload([ISSUE,