Adds the full Next.js app (app/, components/, lib/, scripts/, assets/, docs/, Dockerfile, compose, configs) to version control. Security: - CIPC BizPortal customer-code logins (Login 1 + Login 3) now read CIPC_LOGIN1_CODE / CIPC_LOGIN1_PASSWORD / CIPC_LOGIN3_CODE / CIPC_LOGIN3_PASSWORD from .env.local instead of source. - BizPortal personal login in apply-bizportal route reads BIZPORTAL_ID_NO / BIZPORTAL_PASSWORD. - Added .env.example as the committed template. .gitignore excludes .env*, node_modules, .next, logs, sqlite, Playwright storage_state.json (live CIPC cookies), scratch dirs, client PDFs and debug screenshots.
23 lines
706 B
TypeScript
23 lines
706 B
TypeScript
// app/tasks/page.tsx
|
|
// Server component. Renders the Kanban board.
|
|
|
|
import { Suspense } from "react";
|
|
import PageHeader from "@/components/PageHeader";
|
|
import KanbanBoard from "./KanbanBoard";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export default function TasksPage() {
|
|
return (
|
|
<>
|
|
<PageHeader
|
|
eyebrow="Agent tasks"
|
|
title="Task Kanban"
|
|
subtitle="Assign work to the agent. Move a card to Ready to dispatch it. The deterministic Python worker handles BizPortal tasks; the LLM lane handles Custom tasks."
|
|
/>
|
|
<Suspense fallback={<div className="container-x py-10 text-muted">Loading board…</div>}>
|
|
<KanbanBoard />
|
|
</Suspense>
|
|
</>
|
|
);
|
|
}
|