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
docs(changelog): add icon auto-recovery + squircle tile entries
Adam Eivydefa7f9432b1
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 2d036a602c..4e7b67321a 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -43,3 +43,5 @@ A page-level run dock now slides up from the bottom of the Writers Room while im- Stale-chunk auto-reload now covers Safari ("Importing a module script failed") and Firefox ("error loading dynamically imported module") in addition to Chrome — previously iOS Safari users hit a "Something went wrong" error after a rebuild and had to tap Refresh manually. Detection is shared between `lazyWithReload` (the primary path) and `ErrorBoundary` (safety net), with a one-reload-per-session guard against infinite loops.- `ErrorBoundary` now uses theme-aware `text-port-text` / `text-port-text-muted` / `text-port-on-accent` instead of hardcoded `text-white` / `text-gray-400`, so the fallback UI is readable on light themes (Lumen Glass, etc).- App icon detection: ship `data.sample/apps.json` with PortOS's icon path pre-set to `client/public/portos-logo.png`, and harden `detectAppIcon()` to skip SVGs that embed external `<image href="…">` (the icon endpoint serves SVG with `default-src 'none'` CSP, so those embeds are blocked and the icon renders blank). Detector now also checks `apple-touch-icon.png` and `icon-{192,512}.png` so PWAs without a usable favicon still resolve to a high-res raster. Hit "Detect Icon" once on existing installs to repick.+- App icons now auto-recover when the stored `appIconPath` is an unusable external-image SVG: the icon route and the config-refresh route both validate SVG usability at serve time and trigger redetection if the cached path won't render under the route's CSP. Existing installs (e.g. PortOS itself, which had stored `client/public/favicon.svg` before the detector skipped it) heal on the next icon fetch instead of staying blank until manual re-detect.+- App icon thumbnails now render as iOS-style squircles in the Apps page rows and the dashboard `AppTile` grid: the wrapper's corner radius bumped from `rounded` (4px ≈ 12.5%) to `rounded-[22%]` (the iOS app-icon proportion), and the fetched icon image now fills the full 32×32 tile via a new `fillContainer` mode on `AppIcon` — previously the 18×18 image sat top-left of the wrapper so only the top-left corner showed the squircle clip.