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: make hover-only image/file actions reachable on touch devices (#2023)
Adam Eivy1d142aea37b4
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex a03a5c33d1..bd0574fcb5 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -140,6 +140,7 @@- **[issue-1853] Consolidated remaining hand-rolled overlays onto the shared `Modal`/`Drawer` components** — `ConversationViewer`, the digital-twin Documents tab's "create document" and "delete document" dialogs, and the CoS task "mark as blocked" dialog had their own bespoke `fixed inset-0` backdrop markup at inconsistent opacities (`bg-black/50` vs `bg-black/70`); they now render through `<Modal>`, picking up its standardized backdrop, Esc/click-outside handling, and stacking behavior for free. The "create document" dialog opts out of backdrop/Esc dismissal (`closeOnBackdrop`/`closeOnEsc={false}`) so an accidental outside click can't silently discard a typed draft, matching its pre-conversion behavior. The calendar event-detail panel — a bespoke right-side slide-in that duplicated `Drawer`'s mobile-full-width/desktop-~520px/backdrop/Esc behavior — now renders through `<Drawer>` directly; `Drawer` gains an optional `closeLabel` prop (default unchanged, `"Close settings"`) so the event panel's close button keeps its own accessible name instead of inheriting Drawer's settings-flavored one, and `Drawer`'s close button is bumped from 40px to the project's 44px minimum touch target (#1850) so the conversion doesn't regress that fix — the bump applies to every `Drawer` consumer. (#1853)- **[issue-1850] Calendar and message action buttons now meet the 44px minimum touch-target size** — the day/week/month calendar nav chevrons, the event-detail close button, and the message-detail action row (Reply / Voice / AI Reply / Refresh / Archive / Delete) previously rendered at ~28–31px, below the WCAG 2.5.5 / Apple HIG 44px minimum and awkward to tap on mobile. Each now enforces `min-w-[44px] min-h-[44px]` with centered icons, matching the shared `Drawer` close-button pattern, without changing the visual layout. (#1850)+- **[issue-2023] Hover-only image/file actions are now reachable on touch devices** — several image/file management controls were `opacity-0 group-hover:opacity-100` with no touch or focus fallback, making them effectively unreachable on phones (PortOS's primary device class over Tailscale). Worst case, the Catalog gallery picker's "Attach"/"Portrait" buttons were the only way to pick an image and the whole flow was blocked on touch. Every action-bearing instance now adopts the responsive reveal pattern from `LibraryPane` — visible below `sm` (`opacity-100`, or `opacity-40` where a full-opacity idle state was too noisy), hover-revealed on desktop (`sm:group-hover:opacity-100`), and always shown on keyboard focus (`focus-visible:`/`focus-within:`) — so desktop hover behavior is unchanged while touch users can reach the controls. The Catalog gallery-picker and media-tile actions also enlarge their touch targets below `sm`. Fixed sites: `CatalogIngredient` (gallery picker + media tiles), `Uploads` (download/delete), `CharacterSheet` (avatar overlay), plus a grep sweep across `NotificationDropdown`, `Layout` pin buttons, `ArcCanvas`, goals log/todo, MeatSpace calendar/life-events, brain `LinkChip`/`FeedsTab`, apps `GitTab` stage/unstage, digital-twin `AccountsTab`/`ListEnrichment`, `RunnerPage`, `VideoTimelineEditor`, and `Ask`. Decorative-only hover affordances (e.g. the ProactiveAlerts chevron) were left untouched. (Closes #2023)- **[issue-1852] Fixed mobile content clipping behind the browser's URL bar** — `calc(100vh - …)` heights don't update when a mobile browser's address bar shows or hides, so the bottom of the Wiki Browse/Graph tabs, the JIRA report list/detail panes, and the Brain inbox "Needs Review" rail could clip behind the chrome. Those now size off `dvh` instead of `vh`. The sidebar `<aside>` now mirrors the page root's existing `h-screen h-[100dvh]` fallback pattern so it tracks the same dynamic viewport. The Writers Room render-queue dock (pinned to the bottom of the screen) now pads for `env(safe-area-inset-bottom)` so it no longer sits under the iOS home indicator. (#1852)## Internaldiff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsxindex 0e6e814e99..e4f95cc231 100644--- a/client/src/components/Layout.jsx+++ b/client/src/components/Layout.jsx@@ -344,7 +344,7 @@ function PinButton({ label, pinned, onTogglePin }) {type="button"aria-label={pinned ? `Unpin ${label}` : `Pin ${label}`}onClick={(e) => { e.preventDefault(); e.stopPropagation(); onTogglePin(); }}- className={`px-2 rounded-lg hover:bg-port-border/50 ${pinned ? 'text-port-accent' : 'text-gray-500 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100'}`}+ className={`px-2 rounded-lg hover:bg-port-border/50 ${pinned ? 'text-port-accent' : 'text-gray-500 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 group-focus-within:opacity-100'}`}>{pinned ? <PinOff size={14} /> : <Pin size={14} />}</button>diff --git a/client/src/components/NotificationDropdown.jsx b/client/src/components/NotificationDropdown.jsxindex d9d9f3a6ef..0bd49f58c2 100644--- a/client/src/components/NotificationDropdown.jsx+++ b/client/src/components/NotificationDropdown.jsx@@ -182,7 +182,7 @@ export default function NotificationDropdown({e.stopPropagation();onRemove(notification.id);}}- className="p-1 rounded hover:bg-port-border transition-colors opacity-0 group-hover:opacity-100 focus:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-port-accent"+ className="p-1 rounded hover:bg-port-border transition-colors opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-port-accent"aria-label={`Remove notification: ${notification.title}`}><X className="w-3 h-3 text-gray-500" aria-hidden="true" />diff --git a/client/src/components/apps/tabs/GitTab.jsx b/client/src/components/apps/tabs/GitTab.jsxindex 1b9cdb252c..eb46d065a9 100644--- a/client/src/components/apps/tabs/GitTab.jsx+++ b/client/src/components/apps/tabs/GitTab.jsx@@ -484,14 +484,14 @@ export default function GitTab({ appId: _appId, appName, repoPath }) {{file.staged ? (<buttononClick={() => handleUnstage(file.path)}- className="opacity-0 group-hover:opacity-100 text-xs text-gray-400 hover:text-white"+ className="opacity-100 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 text-xs text-gray-400 hover:text-white">Unstage</button>) : (<buttononClick={() => handleStage(file.path)}- className="opacity-0 group-hover:opacity-100 text-xs text-gray-400 hover:text-white"+ className="opacity-100 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 text-xs text-gray-400 hover:text-white">Stage</button>diff --git a/client/src/components/brain/links/LinkChip.jsx b/client/src/components/brain/links/LinkChip.jsxindex 90ff6b133a..4b3081b8e8 100644--- a/client/src/components/brain/links/LinkChip.jsx+++ b/client/src/components/brain/links/LinkChip.jsx@@ -49,7 +49,7 @@ export default function LinkChip({ link, onRemove, draggable }) {{onRemove && (<buttononClick={() => onRemove(link)}- className="shrink-0 p-0.5 text-gray-600 hover:text-port-error opacity-0 group-hover:opacity-100 transition-opacity"+ className="shrink-0 p-0.5 text-gray-600 hover:text-port-error opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 transition-opacity"title="Remove from bucket"><X size={13} />diff --git a/client/src/components/brain/tabs/FeedsTab.jsx b/client/src/components/brain/tabs/FeedsTab.jsxindex bf4104e304..97e9f4de13 100644--- a/client/src/components/brain/tabs/FeedsTab.jsx+++ b/client/src/components/brain/tabs/FeedsTab.jsx@@ -247,7 +247,7 @@ export default function FeedsTab({ onRefresh }) {)}</button>{/* Feed actions on hover */}- <div className="absolute right-0 top-0 h-full flex items-center gap-0.5 pr-1 opacity-0 group-hover:opacity-100 transition-opacity">+ <div className="absolute right-0 top-0 h-full flex items-center gap-0.5 pr-1 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-within:opacity-100 transition-opacity"><buttononClick={(e) => { e.stopPropagation(); handleRefreshFeed(feed.id); }}className="p-1 text-gray-500 hover:text-white rounded"diff --git a/client/src/components/digital-twin/ListEnrichment.jsx b/client/src/components/digital-twin/ListEnrichment.jsxindex 4f2c922229..77268cf457 100644--- a/client/src/components/digital-twin/ListEnrichment.jsx+++ b/client/src/components/digital-twin/ListEnrichment.jsx@@ -191,7 +191,7 @@ export default function ListEnrichment({{items.length > 1 && (<buttononClick={() => removeItem(index)}- className="absolute top-2 right-2 p-1.5 text-gray-500 hover:text-red-400 opacity-0 group-hover:opacity-100 transition-opacity"+ className="absolute top-2 right-2 p-1.5 text-gray-500 hover:text-red-400 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 transition-opacity"title="Remove"><X size={16} />diff --git a/client/src/components/digital-twin/tabs/AccountsTab.jsx b/client/src/components/digital-twin/tabs/AccountsTab.jsxindex 5c5b2aa8fd..4ed0d13114 100644--- a/client/src/components/digital-twin/tabs/AccountsTab.jsx+++ b/client/src/components/digital-twin/tabs/AccountsTab.jsx@@ -479,7 +479,7 @@ export default function AccountsTab() {</div>{/* Actions */}- <div className="flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity">+ <div className="flex items-center gap-1 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 focus-within:opacity-100 transition-opacity"><buttononClick={() => handleEdit(account)}className="p-1.5 text-gray-400 hover:text-white rounded transition-colors min-h-[40px] min-w-[40px] flex items-center justify-center"diff --git a/client/src/components/goals/GoalProgressLog.jsx b/client/src/components/goals/GoalProgressLog.jsxindex 5cb863a399..447fc0f63e 100644--- a/client/src/components/goals/GoalProgressLog.jsx+++ b/client/src/components/goals/GoalProgressLog.jsx@@ -93,7 +93,7 @@ export default function GoalProgressLog({</div><buttononClick={() => requestDelete(entry.id)}- className="p-0.5 text-gray-700 hover:text-red-400 opacity-0 group-hover:opacity-100 shrink-0"+ className="p-0.5 text-gray-700 hover:text-red-400 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 shrink-0"title="Delete"><Trash2 className="w-3 h-3" />diff --git a/client/src/components/goals/GoalTodoList.jsx b/client/src/components/goals/GoalTodoList.jsxindex f1c9005a27..15cbfab60c 100644--- a/client/src/components/goals/GoalTodoList.jsx+++ b/client/src/components/goals/GoalTodoList.jsx@@ -46,7 +46,7 @@ export default function GoalTodoList({)}<buttononClick={() => requestDelete(todo.id)}- className="p-0.5 text-gray-700 hover:text-red-400 opacity-0 group-hover:opacity-100 shrink-0"+ className="p-0.5 text-gray-700 hover:text-red-400 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 shrink-0"title="Delete"><Trash2 className="w-3 h-3" />diff --git a/client/src/components/meatspace/tabs/CalendarTab.jsx b/client/src/components/meatspace/tabs/CalendarTab.jsxindex 6052cfb4b0..ea88dc7d6e 100644--- a/client/src/components/meatspace/tabs/CalendarTab.jsx+++ b/client/src/components/meatspace/tabs/CalendarTab.jsx@@ -197,7 +197,7 @@ export default function CalendarTab() {</div><buttononClick={() => handleRemoveActivity(i)}- className="opacity-0 group-hover:opacity-100 transition-opacity text-gray-600 hover:text-port-error p-0.5"+ className="opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 transition-opacity text-gray-600 hover:text-port-error p-0.5"title="Remove activity"><Trash2 size={12} />diff --git a/client/src/components/meatspace/tabs/calendar/LifeEventsPanel.jsx b/client/src/components/meatspace/tabs/calendar/LifeEventsPanel.jsxindex ecd7685478..412c4fd669 100644--- a/client/src/components/meatspace/tabs/calendar/LifeEventsPanel.jsx+++ b/client/src/components/meatspace/tabs/calendar/LifeEventsPanel.jsx@@ -82,7 +82,7 @@ export default function LifeEventsPanel({ events, onAdd, onToggle, onRemove }) {</button><buttononClick={() => onRemove(event.id)}- className="opacity-0 group-hover:opacity-100 transition-opacity text-gray-600 hover:text-port-error p-0.5"+ className="opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 transition-opacity text-gray-600 hover:text-port-error p-0.5"title="Remove"><Trash2 size={12} />diff --git a/client/src/components/pipeline/ArcCanvas.jsx b/client/src/components/pipeline/ArcCanvas.jsxindex d8b35e95a1..c173aff514 100644--- a/client/src/components/pipeline/ArcCanvas.jsx+++ b/client/src/components/pipeline/ArcCanvas.jsx@@ -1222,7 +1222,7 @@ function ThemeChips({ series, arc, onSeriesUpdate }) {disabled={saving}aria-label={`Remove theme ${t}`}title={`Remove "${t}"`}- className="pr-1.5 -ml-0.5 text-gray-500 hover:text-port-error opacity-0 group-hover:opacity-100 focus:opacity-100 disabled:opacity-0"+ className="pr-1.5 -ml-0.5 text-gray-500 hover:text-port-error opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus:opacity-100 disabled:opacity-0"><X size={10} /></button>diff --git a/client/src/pages/Ask.jsx b/client/src/pages/Ask.jsxindex fef7f92464..0a16d5e39a 100644--- a/client/src/pages/Ask.jsx+++ b/client/src/pages/Ask.jsx@@ -93,7 +93,7 @@ function Sidebar({ conversations, activeId, onPick, onNew, onDelete, loading, st<buttontype="button"onClick={() => onDelete(c.id)}- className="absolute right-2 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 text-gray-500 hover:text-port-error transition-opacity"+ className="absolute right-2 top-1/2 -translate-y-1/2 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 text-gray-500 hover:text-port-error transition-opacity"aria-label={`Delete conversation: ${c.title}`}title="Delete conversation">diff --git a/client/src/pages/CatalogIngredient.jsx b/client/src/pages/CatalogIngredient.jsxindex ae42bea7c6..38bdd2e3c2 100644--- a/client/src/pages/CatalogIngredient.jsx+++ b/client/src/pages/CatalogIngredient.jsx@@ -1141,15 +1141,15 @@ function MediaTile({ m, missing, isPortrait = false, onSetPortrait, onDetach })missing</span>)}- <div className="absolute top-1 right-1 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity">+ <div className="absolute top-1 right-1 flex gap-1 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 focus-within:opacity-100 transition-opacity">{!isPortrait && isImage && (<button type="button" onClick={() => onSetPortrait(m.mediaKey)} title="Set as portrait"- className="p-1 rounded bg-black/60 text-gray-200 hover:text-port-warning">+ className="p-2 sm:p-1 rounded bg-black/60 text-gray-200 hover:text-port-warning"><Star size={12} aria-hidden="true" /></button>)}<button type="button" onClick={() => onDetach(m.mediaKey, m.kind)} title="Detach"- className="p-1 rounded bg-black/60 text-gray-200 hover:text-port-error">+ className="p-2 sm:p-1 rounded bg-black/60 text-gray-200 hover:text-port-error"><X size={12} aria-hidden="true" /></button></div>@@ -1188,11 +1188,11 @@ function GalleryPickerModal({ onClose, onPick }) {<div key={it.filename} className="relative group rounded border border-port-border overflow-hidden"><MediaImage src={it.path || `/data/images/${it.filename}`} alt={it.filename}className="w-full aspect-square object-cover" />- <div className="absolute inset-x-0 bottom-0 flex opacity-0 group-hover:opacity-100 transition-opacity">+ <div className="absolute inset-x-0 bottom-0 flex opacity-100 sm:opacity-0 sm:group-hover:opacity-100 focus-within:opacity-100 transition-opacity"><button type="button" onClick={() => onPick(it.filename, false)}- className="flex-1 text-[10px] py-1 bg-black/70 text-gray-200 hover:text-white">Attach</button>+ className="flex-1 text-[10px] py-2.5 sm:py-1 bg-black/70 text-gray-200 hover:text-white">Attach</button><button type="button" onClick={() => onPick(it.filename, true)}- className="flex-1 text-[10px] py-1 bg-black/70 text-gray-200 hover:text-port-warning">Portrait</button>+ className="flex-1 text-[10px] py-2.5 sm:py-1 bg-black/70 text-gray-200 hover:text-port-warning">Portrait</button></div></div>))}diff --git a/client/src/pages/CharacterSheet.jsx b/client/src/pages/CharacterSheet.jsxindex 477e6da882..cfe3cca642 100644--- a/client/src/pages/CharacterSheet.jsx+++ b/client/src/pages/CharacterSheet.jsx@@ -303,7 +303,7 @@ export default function CharacterSheet() {<buttononClick={handleGenerateAvatar}disabled={generatingAvatar}- className="absolute inset-0 flex items-center justify-center bg-black/60 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity disabled:opacity-0"+ className="absolute inset-0 flex items-center justify-center bg-black/60 opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 transition-opacity disabled:opacity-0"title="Generate avatar"aria-label="Generate avatar">diff --git a/client/src/pages/RunnerPage.jsx b/client/src/pages/RunnerPage.jsxindex 2952be0e2d..b8e52f9a4a 100644--- a/client/src/pages/RunnerPage.jsx+++ b/client/src/pages/RunnerPage.jsx@@ -425,7 +425,7 @@ ${prompt.trim()}`;<buttonaria-label="Remove screenshot"onClick={() => removeScreenshot(s.id)}- className="absolute -top-2 -right-2 w-5 h-5 bg-port-error rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 transition-opacity"+ className="absolute -top-2 -right-2 w-5 h-5 bg-port-error rounded-full flex items-center justify-center opacity-100 sm:opacity-0 sm:group-hover:opacity-100 group-focus-within:opacity-100 transition-opacity"><X size={12} /></button>diff --git a/client/src/pages/Uploads.jsx b/client/src/pages/Uploads.jsxindex fed27548e7..1f352874d8 100644--- a/client/src/pages/Uploads.jsx+++ b/client/src/pages/Uploads.jsx@@ -272,7 +272,7 @@ export default function Uploads() {</div>{/* Actions */}- <div className="flex items-center gap-2 opacity-0 group-hover:opacity-100 transition-opacity">+ <div className="flex items-center gap-2 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 focus-within:opacity-100 transition-opacity"><ahref={api.getUploadUrl(file.filename)}target="_blank"diff --git a/client/src/pages/VideoTimelineEditor.jsx b/client/src/pages/VideoTimelineEditor.jsxindex 464aea1c11..a19e88b306 100644--- a/client/src/pages/VideoTimelineEditor.jsx+++ b/client/src/pages/VideoTimelineEditor.jsx@@ -86,7 +86,7 @@ function TimelineBlock({ clip, clipMeta, isSelected, isMissing, pxPerSec, onSeletype="button"onClick={(e) => { e.stopPropagation(); onRemove(clip._key); }}onPointerDown={(e) => e.stopPropagation()}- className="absolute top-1 right-1 p-0.5 bg-black/60 hover:bg-port-error rounded opacity-0 group-hover:opacity-100 transition-opacity text-white"+ className="absolute top-1 right-1 p-0.5 bg-black/60 hover:bg-port-error rounded opacity-40 sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100 transition-opacity text-white"title="Remove from timeline"><X className="w-3 h-3" />