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: restore PortOS launch video management tab
[._.]/ Adam Eivy7b0575003732
diff --git a/client/src/components/apps/constants.js b/client/src/components/apps/constants.jsindex a2d3044a23..76d020f55f 100644--- a/client/src/components/apps/constants.js+++ b/client/src/components/apps/constants.js@@ -166,10 +166,9 @@ export const isAppFeatureEnabled = (app, featureId, globalEnabled) => {return legacy ?? (globalEnabled !== false);};-/** Whether launch videos are disabled for an app (PortOS baseline app or Eidoverse Worlds app). */+/** Whether launch videos are disabled for an Eidoverse Worlds app. */export const isLaunchVideoDisabled = (app) => {if (!app) return false;- if (app.id === PORTOS_APP_ID) return true;if (app.id === 'eidoverse-worlds' || app.id === 'eidoverse') return true;if (Array.isArray(app.pm2ProcessNames) && app.pm2ProcessNames.includes('eidoverse-worlds')) return true;return false;diff --git a/client/src/components/apps/constants.test.js b/client/src/components/apps/constants.test.jsindex 63a300c548..f69786367e 100644--- a/client/src/components/apps/constants.test.js+++ b/client/src/components/apps/constants.test.js@@ -62,8 +62,8 @@ describe('managed-app feature overrides', () => {});describe('isLaunchVideoDisabled', () => {- it('disables launch videos for PortOS baseline app and Eidoverse Worlds app', () => {- expect(isLaunchVideoDisabled({ id: PORTOS_APP_ID })).toBe(true);+ it('keeps launch videos available for PortOS while disabling Eidoverse Worlds', () => {+ expect(isLaunchVideoDisabled({ id: PORTOS_APP_ID })).toBe(false);expect(isLaunchVideoDisabled({ id: 'eidoverse-worlds' })).toBe(true);expect(isLaunchVideoDisabled({ id: 'eidoverse' })).toBe(true);expect(isLaunchVideoDisabled({ id: 'custom-id', pm2ProcessNames: ['eidoverse-worlds'] })).toBe(true);@@ -72,10 +72,10 @@ describe('isLaunchVideoDisabled', () => {expect(isLaunchVideoDisabled(null)).toBe(false);});- it('hides launch-video detail tab for PortOS and Eidoverse Worlds apps via visibleWhen', () => {+ it('shows the PortOS launch-video detail tab while hiding Eidoverse Worlds', () => {const launchVideoTab = featureEntry('launch-video');expect(typeof launchVideoTab.visibleWhen).toBe('function');- expect(launchVideoTab.visibleWhen({ id: 'portos-default' })).toBe(false);+ expect(launchVideoTab.visibleWhen({ id: PORTOS_APP_ID })).toBe(true);expect(launchVideoTab.visibleWhen({ id: 'eidoverse-worlds' })).toBe(false);expect(launchVideoTab.visibleWhen({ id: 'my-app' })).toBe(true);});diff --git a/client/src/components/apps/tabs/OverviewTab.jsx b/client/src/components/apps/tabs/OverviewTab.jsxindex ac62c3fbbc..ac121086e6 100644--- a/client/src/components/apps/tabs/OverviewTab.jsx+++ b/client/src/components/apps/tabs/OverviewTab.jsx@@ -4,6 +4,7 @@ import { FolderOpen, Gamepad2, Terminal, Code, RefreshCw, Wrench, Archive, Archiimport toast from '../../ui/Toast';import InlineConfirmRow from '../../ui/InlineConfirmRow';import { isStandardizable, NON_PM2_TYPES, isLaunchVideoDisabled } from '../constants';+import { PORTOS_APP_ID } from '../../../lib/appIdentity.js';import ActivityLog from '../ActivityLog';import SlashDoPanel from '../SlashDoPanel';import Banner from '../../ui/Banner';@@ -143,7 +144,7 @@ export default function OverviewTab({ app, onRefresh }) {}};- const showLaunchVideoCard = !isLaunchVideoDisabled(app) && !launchVideoCardDismissed;+ const showLaunchVideoCard = app.id !== PORTOS_APP_ID && !isLaunchVideoDisabled(app) && !launchVideoCardDismissed;return (<div className="space-y-6">