⭐️⭐️⭐️ 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 screen after sign-in (#672)
Croff8c4b64473fcb
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.mdindex c9511b9c..f480eb57 100644--- a/apps/web/AGENTS.md+++ b/apps/web/AGENTS.md@@ -32,7 +32,9 @@ Next.js App Router, SSR (not SPA). Tailwind v4 + shadcn/ui. See root `AGENTS.md``WorkspaceRailActions` sits below the workspace tiles of a rail; here it says where morethan one workspace per person is available. `ShellNotice` is a strip under the top bar ofthe app shell, god mode and the teams pages; here it shows nothing, while the hosted- build shows notices about the instance there. `BrandMark` is the product mark at the top+ build shows notices about the instance there. `AfterSignIn` is mounted over every page,+ beside the what's new screen; here it shows nothing, while the hosted build can show a+ screen there once a session starts. `BrandMark` is the product mark at the topand the bottom of both sidebars; here the core's `ItsAPlanMark`, which the hosted build canmark its edition on. `BrandPanel({ subtitle })` is the panel beside the form on thelogged-out screens and the invite screen; here the core's, which the hosted build candiff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsxindex 461284c0..cae00596 100644--- a/apps/web/src/app/layout.tsx+++ b/apps/web/src/app/layout.tsx@@ -2,6 +2,7 @@ import type { Metadata, Viewport } from 'next';import { ThemeProvider } from 'next-themes';import { NextIntlClientProvider } from 'next-intl';import { getLocale, getTranslations } from 'next-intl/server';+import { AfterSignIn } from '@/cloud';import { Providers } from '@/components/providers';import RuntimeEnvScript from '@/components/runtime-env-script';import WhatsNew from '@/features/whats-new/WhatsNew';@@ -52,6 +53,7 @@ export default async function RootLayout({<Providers>{children}<WhatsNew />+ <AfterSignIn /></Providers></NextIntlClientProvider></ThemeProvider>diff --git a/apps/web/src/ce/AfterSignIn.tsx b/apps/web/src/ce/AfterSignIn.tsxnew file mode 100644index 00000000..4cd0888a--- /dev/null+++ b/apps/web/src/ce/AfterSignIn.tsx@@ -0,0 +1,7 @@+'use client';++// Mounted over every page, beside the what's new screen, for a screen to show once a+// session starts. A self-hosted instance shows none. The hosted build can show one there.+export default function AfterSignIn() {+ return null;+}diff --git a/apps/web/src/ce/index.ts b/apps/web/src/ce/index.tsindex 9670fc55..131768d5 100644--- a/apps/web/src/ce/index.ts+++ b/apps/web/src/ce/index.ts@@ -1,6 +1,7 @@// What the `@/cloud` alias resolves to in this repository: the stubs a self-hosted// instance runs. The hosted build points the alias at its own module exporting the// same names, so a cloud-only part is imported from here and nowhere else.+export { default as AfterSignIn } from './AfterSignIn';export { default as AgentAnalyticsExtras } from './AgentAnalyticsExtras';export { default as BrandMark } from './BrandMark';export { default as BrandPanel } from './BrandPanel';