⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
chore(web): add a slot for a notice under the top bar (#529)
Croffff4768f9bf7a
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.mdindex d4b7cc48..8255684f 100644--- a/apps/web/AGENTS.md+++ b/apps/web/AGENTS.md@@ -26,7 +26,9 @@ Next.js App Router, SSR (not SPA). Tailwind v4 + shadcn/ui. See root `AGENTS.md``NoTeamStart` is the start page of an account with no team and no workspace it owns,which happens while personal workspaces are off; here it says who adds them.`WorkspaceRailActions` sits below the workspace tiles of a rail; here it says where more- than one workspace per person is available. `godSections(core)` returns the god mode+ than one workspace per person is available. `ShellNotice` is a strip under the top bar of+ the app shell, god mode and the teams pages; here it shows nothing, while the hosted+ build shows notices about the instance there. `godSections(core)` returns the god modesections: here the core's as they are, while the hosted build adds, replaces or dropssome. One it adds carries in `Component` the page `/god/<slug>` opens. SCIM is set up ingod mode, for the instance workspace; the hosted build that moves it to everydiff --git a/apps/web/src/ce/ShellNotice.tsx b/apps/web/src/ce/ShellNotice.tsxnew file mode 100644index 00000000..90c3ab00--- /dev/null+++ b/apps/web/src/ce/ShellNotice.tsx@@ -0,0 +1,7 @@+'use client';++// A strip under the top bar of the app shell, god mode and the teams pages. A self-hosted+// instance shows nothing there. The hosted build shows notices about the instance.+export default function ShellNotice() {+ return null;+}diff --git a/apps/web/src/ce/index.ts b/apps/web/src/ce/index.tsindex 335eeaa6..009edcf6 100644--- a/apps/web/src/ce/index.ts+++ b/apps/web/src/ce/index.ts@@ -7,6 +7,7 @@ export { default as godSections } from './godSections';export { cloudMessages, loadCloudMessages } from './messages';export { default as NoTeamStart } from './NoTeamStart';export { default as ScheduleDialog } from './ScheduleDialog';+export { default as ShellNotice } from './ShellNotice';export { default as useWorkspaceSections } from './useWorkspaceSections';export { default as WorkspaceRailActions } from './WorkspaceRailActions';export { default as WorkspaceSectionExtras } from './WorkspaceSectionExtras';diff --git a/apps/web/src/components/layout/GodShell.tsx b/apps/web/src/components/layout/GodShell.tsxindex 2e5cf730..1ba2de1a 100644--- a/apps/web/src/components/layout/GodShell.tsx+++ b/apps/web/src/components/layout/GodShell.tsx@@ -10,6 +10,7 @@ import { LocaleToggle } from '@/components/locale-toggle';import SectionPageSkeleton from '@/components/common/skeleton/SectionPageSkeleton';import UserMenu from '@/components/layout/UserMenu';import GodSidebar from '@/components/layout/GodSidebar';+import { ShellNotice } from '@/cloud';// The shell for god mode: the instance settings sidebar and a slim header, with no// project loaded. It is the counterpart of Shell for the project routes, but far@@ -48,6 +49,7 @@ export default function GodShell({<UserMenu /></div></header>+ <ShellNotice /><div className="relative flex min-h-0 flex-1 flex-col overflow-hidden">{isGod && children}diff --git a/apps/web/src/components/layout/Shell.tsx b/apps/web/src/components/layout/Shell.tsxindex 387b37e0..c740f7ba 100644--- a/apps/web/src/components/layout/Shell.tsx+++ b/apps/web/src/components/layout/Shell.tsx@@ -28,6 +28,7 @@ import ShellOverlays from '@/components/layout/ShellOverlays';import { ChatPanel } from '@/features/ai-chat/components/panel/ChatPanel';import { useChatPanel } from '@/features/ai-chat/hooks/useChatPanel';import { useTranslations } from 'next-intl';+import { ShellNotice } from '@/cloud';// The layout for /:team/:projectKey and its children (the work items view and the// settings pages). It owns the project data, the view editor and the@@ -181,6 +182,7 @@ export default function Shell({chatActive={chatPanel.open}onToggleChat={chatPanel.toggle}/>+ <ShellNotice />{errorMsg && !forbidden && (<div className="border-b border-destructive/50 bg-destructive/10 px-4 py-2 text-sm text-destructive">diff --git a/apps/web/src/features/teams/components/TeamsPageView.tsx b/apps/web/src/features/teams/components/TeamsPageView.tsxindex eb57c544..c27894ab 100644--- a/apps/web/src/features/teams/components/TeamsPageView.tsx+++ b/apps/web/src/features/teams/components/TeamsPageView.tsx@@ -2,6 +2,7 @@ import type { ReactNode } from 'react';import Link from 'next/link';import { ArrowLeft } from 'lucide-react';import { useTranslations } from 'next-intl';+import { ShellNotice } from '@/cloud';import { Button } from '@/components/ui/button';import TeamsPageRail from './TeamsPageRail';@@ -30,6 +31,7 @@ export default function TeamsPageView({</Button><span className="text-sm font-medium">{label}</span></header>+ <ShellNotice /><div className="flex min-h-0 flex-1 flex-col overflow-y-auto lg:flex-row lg:overflow-hidden">{rail}<TeamsPageRail className="lg:w-64">{list}</TeamsPageRail>