⭐️⭐️⭐️ 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
feat(web): a sign-in page under a name of its own at /login/<name> (#608)
Croffc42b0cd1b022
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.mdindex a4a93621..36861b6f 100644--- a/apps/web/AGENTS.md+++ b/apps/web/AGENTS.md@@ -40,7 +40,8 @@ Next.js App Router, SSR (not SPA). Tailwind v4 + shadcn/ui. See root `AGENTS.md``WorkspaceScimSection` through `useWorkspaceSections`. `SignInExtras` sits among the sign-in methods, after theinstance's own provider, on the sign-in screen and on the invite screen, where it gets theinvited address as `email`; here it adds nothing, while the hosted build offers a sign-in- through providers of its own. A sign-in that comes back with a code the core does not+ through providers of its own. `SignInPage` is what `/login/<name>` shows, a sign-in page under a+ name of its own; here every name answers 404. A sign-in that comes back with a code the core does notknow shows the text the build's messages give it under `auth.errors.codes.<code>`.`GodSectionExtras` renders at the end of every god section page, by its slug, for settings the hosted build adds to an existing section; `WorkspaceSectionExtras`does the same on a workspace's own settings pages (`general`, `managers`), with thediff --git a/apps/web/src/app/login/[name]/page.tsx b/apps/web/src/app/login/[name]/page.tsxnew file mode 100644index 00000000..18d013be--- /dev/null+++ b/apps/web/src/app/login/[name]/page.tsx@@ -0,0 +1,10 @@+'use client';++import { useParams } from 'next/navigation';+import { SignInPage } from '@/cloud';++// A sign-in page under a name of its own, which a build may serve; this one has none.+export default function Page() {+ const params = useParams();+ return <SignInPage name={typeof params.name === 'string' ? params.name : ''} />;+}diff --git a/apps/web/src/ce/SignInPage.tsx b/apps/web/src/ce/SignInPage.tsxnew file mode 100644index 00000000..2c1ee842--- /dev/null+++ b/apps/web/src/ce/SignInPage.tsx@@ -0,0 +1,9 @@+'use client';++import { notFound } from 'next/navigation';++// A sign-in page of its own at /login/<name>. A self-hosted instance has none; the hosted+// build shows the sign-in of a workspace there.+export default function SignInPage(_props: { name: string }) {+ return notFound();+}diff --git a/apps/web/src/ce/index.ts b/apps/web/src/ce/index.tsindex 5890930e..a1282d26 100644--- a/apps/web/src/ce/index.ts+++ b/apps/web/src/ce/index.ts@@ -9,6 +9,7 @@ export { default as NoTeamStart } from './NoTeamStart';export { default as ScheduleDialog } from './ScheduleDialog';export { default as ShellNotice } from './ShellNotice';export { default as SignInExtras } from './SignInExtras';+export { default as SignInPage } from './SignInPage';export { default as useWorkspaceSections } from './useWorkspaceSections';export { default as WorkspaceRailActions } from './WorkspaceRailActions';export { default as WorkspaceSectionExtras } from './WorkspaceSectionExtras';