fork: disable the cloud-shutdown banner

Upstream's hosted service is gone, so the "Vibe Kanban Cloud is shutting
down. Export your data within 30 days." bar is dead UI on a self-hosted
instance — it points at vibekanban.com/shutdown and there is nothing
behind it.

The banner arrived with the export feature (3733865, #3344) rather than
with the sunset commits, so it cannot be reverted wholesale without also
losing export. Both shells already gate it behind showCloudShutdownBanner,
so pin that to false and keep the export routes and handlers intact.

isExportRoute in RemoteAppShell existed only to feed that expression and
is dropped with it; the packages set noUnusedLocals, so leaving it would
fail the build. isProjectRoute, isExportActive and isSignedIn are all used
elsewhere and are untouched.
This commit is contained in:
rob thijssen
2026-07-21 15:42:47 +03:00
parent ab6ef4dcb9
commit 63f4dc6eef
2 changed files with 6 additions and 5 deletions

View File

@@ -58,9 +58,9 @@ export function RemoteAppShell({ children }: RemoteAppShellProps) {
const { isSignedIn } = useAuth();
const isWorkspaceContextRoute = location.pathname.includes("/workspaces");
const isProjectRoute = /^\/projects\/[^/]+/.test(location.pathname);
const isExportRoute = location.pathname === "/export";
const showCloudShutdownBanner =
isExportRoute || (isSignedIn && isProjectRoute);
// lair fork: upstream's hosted service is gone, so the cloud-shutdown
// banner is dead UI here. The export routes and handlers are kept.
const showCloudShutdownBanner = false;
useCommandBarShortcut(
() => CommandBarDialog.show(),

View File

@@ -173,8 +173,9 @@ export function SharedAppLayout() {
);
const isWorkspacesActive = isLocalWorkspacesDestination(currentDestination);
const isExportActive = currentDestination?.kind === 'export';
const showCloudShutdownBanner =
isExportActive || (isSignedIn && isProjectDestination(currentDestination));
// lair fork: upstream's hosted service is gone, so the cloud-shutdown
// banner is dead UI here. The export routes and handlers are kept.
const showCloudShutdownBanner = false;
const isWorkspaceSidebarPreviewEnabled =
!isMobile && isWorkspacesActive && !isLeftSidebarVisible;
const activeProjectId = projectDestination?.projectId ?? null;