⭐️⭐️⭐️ 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
import type { ReactNode } from 'react';
import RunnerQueuePage from '@/features/runner-queue/RunnerQueuePage';
import { projectQueueScope } from '@/features/runner-queue/utils/queueScopes';
import { projectRefOf } from '@/utils/paths';
// The run list is the layout, so it keeps its scroll and loaded pages while the open run
// changes beside it.
export default async function Layout({
children,
params,
}: {
children: ReactNode;
params: Promise<{ teamRef: string; projectKey: string }>;
}) {
const { teamRef, projectKey } = await params;
return (
<RunnerQueuePage scope={projectQueueScope(projectRefOf(teamRef, projectKey))}>
{children}
</RunnerQueuePage>
);
}