Skip to content

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

feat: hide in-progress, needs-input, needs-decision, and blocked labels by default on app issues tab

[._.]/ Adam Eivy86ecf768a74e
diff --git a/client/src/components/apps/tabs/IssuesTab.jsx b/client/src/components/apps/tabs/IssuesTab.jsx
index a9b5526868..092b96932a 100644
--- a/client/src/components/apps/tabs/IssuesTab.jsx
+++ b/client/src/components/apps/tabs/IssuesTab.jsx
@@ -119,10 +119,11 @@ function parseRunKey(key) {
// `in-progress` is the forge label a `/do:next` claim stamps on an issue it is
// actively working (server/services/issueReconcile.js#IN_PROGRESS_LABEL), and
-// `blocked` marks work that should not be picked up by default. Those rows
-// aren't useful claim candidates, so the tab hides them until the user toggles
-// the chip back on.
-const DEFAULT_HIDDEN_LABELS = ['blocked', 'in-progress'];
+// `blocked` marks work that should not be picked up by default. `needs-input`
+// and `needs-decision` park issues awaiting human choices. Those rows aren't
+// useful claim candidates, so the tab hides them until the user toggles the
+// chip back on.
+const DEFAULT_HIDDEN_LABELS = ['blocked', 'in-progress', 'needs-decision', 'needs-input'];
// 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
diff --git a/client/src/components/apps/tabs/IssuesTab.test.jsx b/client/src/components/apps/tabs/IssuesTab.test.jsx
index a6bf3979ff..4618cf2474 100644
--- a/client/src/components/apps/tabs/IssuesTab.test.jsx
+++ b/client/src/components/apps/tabs/IssuesTab.test.jsx
@@ -594,6 +594,54 @@ describe('IssuesTab', () => {
expect(chip).toHaveAttribute('aria-pressed', 'true');
});
+ it('hides needs-input issues by default and lists them once the chip is toggled on', async () => {
+ api.getAppIssues.mockResolvedValue(okPayload([
+ ISSUE,
+ {
+ ...ISSUE,
+ number: 43,
+ title: 'Needs feedback from user',
+ labels: [{ name: 'needs-input', color: '#d4c5f9', description: '' }],
+ },
+ ]));
+ await renderTab();
+
+ await screen.findByText('Crash on save');
+ expect(screen.queryByText('Needs feedback from user')).not.toBeInTheDocument();
+ expect(screen.getByText('1 of 2 open')).toBeInTheDocument();
+
+ const chip = screen.getByRole('button', { name: 'needs-input (1)' });
+ expect(chip).toHaveAttribute('aria-pressed', 'false');
+
+ fireEvent.click(chip);
+ expect(await screen.findByText('Needs feedback from user')).toBeInTheDocument();
+ expect(chip).toHaveAttribute('aria-pressed', 'true');
+ });
+
+ it('hides needs-decision issues by default and lists them once the chip is toggled on', async () => {
+ api.getAppIssues.mockResolvedValue(okPayload([
+ ISSUE,
+ {
+ ...ISSUE,
+ number: 43,
+ title: 'Needs architecture decision',
+ labels: [{ name: 'needs-decision', color: '#d4c5f9', description: '' }],
+ },
+ ]));
+ await renderTab();
+
+ await screen.findByText('Crash on save');
+ expect(screen.queryByText('Needs architecture decision')).not.toBeInTheDocument();
+ expect(screen.getByText('1 of 2 open')).toBeInTheDocument();
+
+ const chip = screen.getByRole('button', { name: 'needs-decision (1)' });
+ expect(chip).toHaveAttribute('aria-pressed', 'false');
+
+ fireEvent.click(chip);
+ expect(await screen.findByText('Needs architecture decision')).toBeInTheDocument();
+ 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.