Files
Nexus/packages/shared/src/constants/columns.ts
T
Hartmut 625a842d89 feat: dashboard overhaul, chargeability reports, dispo import enhancements, UI polish
Dashboard: expanded chargeability widget, resource/project table widgets
with sorting and filters, stat cards with formatMoney integration.

Chargeability: new report client with filtering, chargeability-bookings
use case, updated dashboard overview logic.

Dispo import: TBD project handling, parse-dispo-matrix improvements,
stage-dispo-projects resource value scores, new tests.

Estimates: CommercialTermsEditor component, commercial-terms engine
module, expanded estimate schemas and types.

UI: AppShell navigation updates, timeline filter/toolbar enhancements,
role management improvements, signin page redesign, Tailwind/globals
polish, SystemSettings SMTP section, anonymization support.

Tests: new router tests (anonymization, chargeability, effort-rule,
entitlement, estimate, experience-multiplier, notification, resource,
staffing, vacation).

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-14 23:29:07 +01:00

36 lines
2.4 KiB
TypeScript

import type { ColumnDef } from "../types/columns.js";
export const RESOURCE_COLUMNS: ColumnDef[] = [
{ key: "displayName", label: "Name", defaultVisible: true, hideable: false },
{ key: "eid", label: "EID", defaultVisible: true, hideable: true },
{ key: "chapter", label: "Chapter", defaultVisible: true, hideable: true },
{ key: "roles", label: "Roles", defaultVisible: true, hideable: true },
{ key: "chargeability", label: "Chargeability", defaultVisible: true, hideable: true, sortable: true },
{ key: "lcr", label: "LCR", defaultVisible: false, hideable: true },
{ key: "valueScore", label: "Score", defaultVisible: false, hideable: true },
{ key: "rolledOff", label: "Rolled Off", defaultVisible: false, hideable: true },
{ key: "departed", label: "Departed", defaultVisible: false, hideable: true },
{ key: "isActive", label: "Status", defaultVisible: true, hideable: true },
];
export const PROJECT_COLUMNS: ColumnDef[] = [
{ key: "shortCode", label: "Code", defaultVisible: true, hideable: false },
{ key: "name", label: "Name", defaultVisible: true, hideable: false },
{ key: "status", label: "Status", defaultVisible: true, hideable: true },
{ key: "orderType", label: "Type", defaultVisible: true, hideable: true },
{ key: "dates", label: "Dates", defaultVisible: true, hideable: true },
{ key: "budget", label: "Budget", defaultVisible: false, hideable: true },
{ key: "allocations", label: "Allocations", defaultVisible: true, hideable: true },
{ key: "responsible", label: "Responsible", defaultVisible: false, hideable: true },
];
export const ALLOCATION_COLUMNS: ColumnDef[] = [
{ key: "resource", label: "Resource", defaultVisible: true, hideable: false },
{ key: "project", label: "Project", defaultVisible: true, hideable: false },
{ key: "dates", label: "Dates", defaultVisible: true, hideable: true },
{ key: "hoursPerDay", label: "h/day", defaultVisible: true, hideable: true },
{ key: "status", label: "Status", defaultVisible: true, hideable: true },
{ key: "cost", label: "Daily Cost", defaultVisible: false, hideable: true },
{ key: "role", label: "Role", defaultVisible: true, hideable: true },
];