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

address review (local): spell out the comment count instead of a bare digit

Adam Eivyde20be12cd76
diff --git a/client/src/components/apps/tabs/IssuesTab.jsx b/client/src/components/apps/tabs/IssuesTab.jsx
index 281793d892..572e0fc817 100644
--- a/client/src/components/apps/tabs/IssuesTab.jsx
+++ b/client/src/components/apps/tabs/IssuesTab.jsx
@@ -677,12 +677,8 @@ export default function IssuesTab({ appId, appName }) {
{issue.updatedAt && <span>updated {timeAgo(issue.updatedAt)}</span>}
{issue.milestone && <span className="text-cyan-400">{issue.milestone}</span>}
{issue.commentCount > 0 && (
- <span
- className="flex items-center gap-1"
- title={`${issue.commentCount} comment${issue.commentCount === 1 ? '' : 's'}`}
- >
- <MessageSquare size={12} />
- {issue.commentCount}
+ <span className="flex items-center gap-1">
+ <MessageSquare size={12} /> {issue.commentCount} comment{issue.commentCount === 1 ? '' : 's'}
</span>
)}
{issue.assignees.length > 0 ? (
diff --git a/client/src/components/apps/tabs/IssuesTab.test.jsx b/client/src/components/apps/tabs/IssuesTab.test.jsx
index 6904fa97bf..7750c00c11 100644
--- a/client/src/components/apps/tabs/IssuesTab.test.jsx
+++ b/client/src/components/apps/tabs/IssuesTab.test.jsx
@@ -140,11 +140,11 @@ describe('IssuesTab', () => {
await renderTab();
await screen.findByText('Crash on save');
- // Titled, so the bare digit is never the only thing a screen reader gets —
- // and so the assertion can't collide with the issue number or a label count.
- expect(screen.getByTitle('3 comments')).toHaveTextContent('3');
- expect(screen.getByTitle('1 comment')).toHaveTextContent('1');
- expect(screen.queryByTitle('0 comments')).not.toBeInTheDocument();
+ // Spelled out rather than a bare digit beside an icon, so the count reads
+ // the same to a screen reader as its `opened by …` / `updated …` siblings.
+ expect(screen.getByText(/3 comments/)).toBeInTheDocument();
+ expect(screen.getByText(/1 comment$/)).toBeInTheDocument();
+ expect(screen.queryByText(/0 comment/)).not.toBeInTheDocument();
});
it('keeps the description collapsed until the user expands it', async () => {