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: enlarge GoalDetailPanel dismiss and notification bell to 44px touch targets (#2552)
[._.]/ Adam Eivyf04a2f187f04
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex f70652470c..a55e688177 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -19,6 +19,7 @@- **[issue-2540] Stop full-JSONB table loads for pipeline issue id sweeps and bound the multi-account message inbox aggregate.** `listIssueIds` (the conflict-journal orphan-base-hash sweep + tombstone GC) went through `readState()` → `loadAll()`, pulling every issue's full `data` JSONB — up to ~12MB of stage `runHistory` each — into memory only to read the ids; it now sources the store's `SELECT id` projection, with the PG backend filtering tombstones via the mirrored `deleted` column (`listIds({ includeDeleted })`) so the whole-record load is skipped entirely for the default live sweep. Separately, `messageSync.getMessages`'s multi-account inbox spread every message from every account into one array and globally sorted it before slicing a page; it now bounds each account's contribution to the top `offset+limit` by date and merges those heads, so a paged inbox reads `accounts × (offset+limit)` messages into the merge instead of the full cross-account total (the exact `total` count is preserved).- **[issue-2538] Bound Spotify auth and privacy-broker fetches, and single-flight token refresh.** The Spotify token endpoint (`spotifyAuth.js`) and the BADBOOL / CA-registry broker fetchers (`privacyBrokers.js`) used bare `fetch` with no timeout, so a hung `accounts.spotify.com` could stall an OAuth callback or a history-sync refresh — and a broker source that never responded could hang a user-triggered refresh — indefinitely. All three now go through the shared `fetchWithTimeout` helper with a 15s cap. Separately, concurrent `getAccessToken()` callers that all found the token expired each POSTed their own refresh, and since Spotify rotates the grant the losers persisted a stale token (last-write-wins); refreshes now share one in-flight `refreshPromise` (single-flight), so the grant is rotated exactly once and the guard is released on settle so a failed refresh can retry.+- **[issue-2552] Enlarge above-the-fold mobile touch targets to 44px.** The GoalDetailPanel close button (`p-1` + a 16px icon, ~24px) and the notification bell (40px min) were below the 44×44 touch-target minimum the shell's other chrome controls already meet. The close button now uses `min-h-[44px] min-w-[44px]` centered around its icon (matching the shared `Drawer` control sizing), and the bell's mobile hit area is bumped 40→44px (its `sm:` desktop shrink is unchanged). The notification panel also gains `max-w-[calc(100vw-2rem)]` so its `w-80` width can't overflow a narrow mobile sidebar, and the ⌘K result rows get a `min-h-[44px]` so each is comfortably tappable.- **[issue-2544] Wiki vault selection now lives in the URL.** The selected Obsidian vault was local `useState`, so a reload, shared link, ⌘K jump, or voice nav always landed you back on the first vault. The vault is now encoded as a `?vault=<id>` search param (the tab route param is preserved when switching tabs), selection is driven from the URL, and a stale/deleted vault id renders a "Vault not found" fallback with a one-click "Show default vault" recovery.- **POST Digit Span: the form no longer jumps up as digits flash on and off.** During the show phase the visible-digit slot collapsed to zero height in the blank gaps between digits, so the container (padding + `min-h`) oscillated and the recall form/progress bar below shifted up on every flash. The slot now reserves its line box with a non-breaking space in the gaps, keeping the layout steady while digits flash.- **[issue-2551] Wiki Browse is now a responsive list/detail instead of a fixed two-pane.** The Browse tab always rendered a horizontal two-pane layout with a fixed `w-80` left rail and a magic `calc(100dvh - 220px)` height, so on a phone the folder tree consumed the whole viewport and the note pane was unreachable. It now mirrors the Brain Notes list/detail pattern: a single column on mobile that hides the tree once a note is opened (with a back control to return) and shows both panes from `md+`, laid out on a `grid` that fills its flex parent (`min-h-0`) rather than the fixed viewport-offset height, so a wrapped header no longer clips it.diff --git a/client/src/components/CmdKSearch.jsx b/client/src/components/CmdKSearch.jsxindex 84b85d8242..243cb35c15 100644--- a/client/src/components/CmdKSearch.jsx+++ b/client/src/components/CmdKSearch.jsx@@ -323,7 +323,7 @@ export default function CmdKSearch() {key={`${item.kind}:${item.path ?? item.id ?? item.sourceId + ':' + title}`}ref={(el) => { resultRefs.current[currentIdx] = el; }}onClick={() => dispatchCommand(item)}- className={`flex items-start gap-3 px-3 py-2 rounded-lg cursor-pointer transition-colors ${+ className={`flex items-start gap-3 px-3 py-2 min-h-[44px] rounded-lg cursor-pointer transition-colors ${isFocused ? 'bg-port-accent/10' : 'hover:bg-white/5'}`}role="option"diff --git a/client/src/components/NotificationDropdown.jsx b/client/src/components/NotificationDropdown.jsxindex 0bd49f58c2..29563ae394 100644--- a/client/src/components/NotificationDropdown.jsx+++ b/client/src/components/NotificationDropdown.jsx@@ -88,7 +88,7 @@ export default function NotificationDropdown({{/* Bell button with badge */}<buttononClick={() => setIsOpen(!isOpen)}- className="relative inline-flex items-center justify-center min-w-[40px] min-h-[40px] sm:min-w-0 sm:min-h-0 sm:p-2 rounded-lg hover:bg-port-card transition-colors focus:outline-hidden focus:ring-2 focus:ring-port-accent focus:ring-offset-2 focus:ring-offset-port-bg"+ className="relative inline-flex items-center justify-center min-w-[44px] min-h-[44px] sm:min-w-0 sm:min-h-0 sm:p-2 rounded-lg hover:bg-port-card transition-colors focus:outline-hidden focus:ring-2 focus:ring-port-accent focus:ring-offset-2 focus:ring-offset-port-bg"title="Notifications"aria-label={`Notifications${unreadCount > 0 ? ` (${unreadCount} unread)` : ''}`}aria-expanded={isOpen}@@ -107,7 +107,7 @@ export default function NotificationDropdown({<divrole="menu"aria-label="Notifications menu"- className={`absolute w-80 bg-port-card border border-port-border rounded-lg shadow-xl z-50 overflow-hidden ${+ className={`absolute w-80 max-w-[calc(100vw-2rem)] bg-port-card border border-port-border rounded-lg shadow-xl z-50 overflow-hidden ${position === 'bottom'? 'left-0 bottom-full mb-2' // Opens upward from sidebar footer: 'right-0 top-full mt-2' // Opens downward from headerdiff --git a/client/src/components/goals/GoalDetailPanel.jsx b/client/src/components/goals/GoalDetailPanel.jsxindex 538b3b3915..782f2e9228 100644--- a/client/src/components/goals/GoalDetailPanel.jsx+++ b/client/src/components/goals/GoalDetailPanel.jsx@@ -81,7 +81,7 @@ export default function GoalDetailPanel({ goal, allGoals, onClose, onRefresh })</div><div className="flex items-center gap-1.5 shrink-0">{!s.editing && hasDerivedReading && <ProvenanceChip {...READING_PROVENANCE} align="end" />}- <button onClick={onClose} aria-label="Close panel" className="p-1 text-gray-500 hover:text-white shrink-0">+ <button onClick={onClose} aria-label="Close panel" className="flex items-center justify-center min-h-[44px] min-w-[44px] rounded-lg text-gray-500 hover:text-white shrink-0"><X className="w-4 h-4" /></button></div>