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
fix: keep notification actions touch accessible (#9899)
Adam Eivyb0d9b1d55389
diff --git a/client/src/components/NotificationDropdown.jsx b/client/src/components/NotificationDropdown.jsxindex a6d78b924f..139efb2826 100644--- a/client/src/components/NotificationDropdown.jsx+++ b/client/src/components/NotificationDropdown.jsx@@ -272,7 +272,7 @@ export default function NotificationDropdown({<buttontype="button"onClick={() => onRemove(notification.id)}- className="inline-flex shrink-0 items-center justify-center min-w-[44px] min-h-[44px] -my-2 rounded hover:bg-port-border transition-colors sm:min-w-0 sm:min-h-0 sm:my-0 sm:p-1 sm:opacity-0 sm:group-hover:opacity-100 focus:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-port-accent"+ className="inline-flex shrink-0 items-center justify-center min-w-[44px] min-h-[44px] -my-2 rounded hover:bg-port-border transition-colors [@media(hover:hover)]:sm:min-w-0 [@media(hover:hover)]:sm:min-h-0 [@media(hover:hover)]:sm:my-0 [@media(hover:hover)]:sm:p-1 [@media(hover:hover)]:sm:opacity-0 [@media(hover:hover)]:sm:group-hover:opacity-100 group-focus-within:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-port-accent"aria-label={`Remove notification: ${notification.title}`}><X className="w-4 h-4 text-gray-500 sm:w-3 sm:h-3" aria-hidden="true" />@@ -281,7 +281,7 @@ export default function NotificationDropdown({<buttontype="button"onClick={() => onMarkAsRead(notification.id)}- className="min-h-[44px] text-[10px] text-port-accent hover:underline -my-2 sm:min-h-0 sm:my-0"+ className="min-h-[44px] text-[10px] text-port-accent hover:underline -my-2 [@media(hover:hover)]:sm:min-h-0 [@media(hover:hover)]:sm:my-0"aria-label={`Mark notification as read: ${notification.title}`}>Mark readdiff --git a/client/src/components/NotificationDropdown.test.jsx b/client/src/components/NotificationDropdown.test.jsxindex 1978f85caf..368fccac89 100644--- a/client/src/components/NotificationDropdown.test.jsx+++ b/client/src/components/NotificationDropdown.test.jsx@@ -260,9 +260,15 @@ describe('NotificationDropdown', () => {expect(remove.className).toContain('min-w-[44px]');expect(remove.className).toContain('min-h-[44px]');expect(remove.className).toContain('shrink-0');- // Hover-to-reveal is sm+ only — touch has no hover to reveal it with.- expect(remove.className).toContain('sm:opacity-0');- expect(remove.className).not.toMatch(/(^|\s)opacity-/);+ // Compact reveal is gated by actual hover capability, not viewport width.+ expect(remove.className).toContain('[@media(hover:hover)]:sm:opacity-0');+ expect(remove.className).toContain('[@media(hover:hover)]:sm:group-hover:opacity-100');+ expect(remove.className).toContain('group-focus-within:opacity-100');+ expect(remove.className).not.toMatch(/(^|\s)sm:opacity-/);++ const markRead = screen.getByRole('button', { name: 'Mark notification as read: Notification 0' });+ expect(markRead.className).toContain('min-h-[44px]');+ expect(markRead.className).toContain('[@media(hover:hover)]:sm:min-h-0');});it('gives the bell trigger a 44px touch target on mobile and compact size on desktop', () => {