Skip to main content

Technical Debt

Summary

CategoryCount
TODO comments20
Placeholder routes6
Commented-out code blocks1 major
Backup/stale files4
Console statements~147
Mock data files1
Lint errors1,234
Type-check errors22

TODO Comments (20)

Pipeline & Designer

FileTODO
stores/usePipelineStore.ts:542Implement actual API call
components/pipelines/PipelinesList.tsx:144Implement delete with confirmation
components/pipelines/PipelinesList.tsx:148Implement status toggle (play/pause)
components/shared/designer/DesignerCanvas.tsx:995Delete from backend — temporarily disabled
components/shared/designer/DesignerCanvas.tsx:1158Implement copy logic
components/shared/designer/DesignerCanvas.tsx:1740Get from pipeline metadata
services/pipeline/pipeline-transform.service.ts:362Implement when needed for pipeline loading
services/pipeline/pipeline-validation.service.ts:409Add validation for required config fields
services/pipeline/pipeline-validation.service.ts:477Implement full DAG validation

Operator Config & SQL Parsers

FileTODO
services/operator-config/operator-config.service.ts:313Get from pipeline context
components/shared/operator-config/stages/logic/sql-parsers/index.ts:60Implement decision parser
components/shared/operator-config/stages/logic/sql-parsers/index.ts:71Implement aggregator parser
components/shared/operator-config/stages/logic/sql-parsers/index.ts:82Implement join parser
components/shared/operator-config/stages/logic/sql-parsers/index.ts:93Implement union parser

Schema, Forms & Workflow

FileTODO
services/schema/schema-parser.service.ts:222Implement Protobuf parsing
components/shared/form-renderer/FormField.tsx:346Implement remaining field types
components/approval-workflow/workflow-list/WorkflowListPage.tsx:105Implement duplication
components/approval-workflow/designer/WorkflowDesigner.tsx:73Create workflow first if new

Layout

FileTODO
components/shared/layout/Layout.tsx:59Implement notifications panel
components/shared/layout/Layout.tsx:63Implement messages panel

Placeholder Routes (6)

RoutePlaceholder Text
/guides"Documentation and guides coming soon."
/access-management/sso-sessions"SSO sessions management page."
/access-management/token-management"Token management page."
/projects"Projects management page."
/settings"Application settings page."
/support"Support and help center."

Commented-Out Code

Operator Management Routes (router/index.tsx, lines 37–41, 214–231):

// Hidden for now — will be improved in a future iteration
// import { OperatorTemplatesPage, OperatorConfigsPage } from "../pages/operator-management";

3 page files exist at pages/operator-management/ but are unreachable.


Lint & Type Health

ESLint: 1,234 problems

RuleCount (est.)Severity
@typescript-eslint/no-explicit-any~900+Error
@typescript-eslint/no-unused-vars~50+Error
react-refresh/only-export-components~53Warning
no-undef (__dirname, process)~8Error
Other TS rules~100+Error

The vast majority are no-explicit-any. The codebase is functional but not strictly typed in many service/utility areas.

TypeScript: 22 errors

All 22 errors are in packages/ui/src/components/base/select/:

  • combobox.tsx, select-item.tsx, select.tsx, textarea.tsx
  • Root cause: Self-referencing imports (@dtx/ui/components/...) that don't resolve with tsconfig.json paths
  • Impact: Blocks pnpm build (workaround: deploy scripts use pnpm vite build directly, skipping tsc)

Console Statements (~147)

TypeCountNotable Files
console.log()~80usePipelineStore.ts, VisualBuilder.tsx, WorkflowDesigner.tsx
console.error()~50Error handlers across services
console.warn()~17Deprecation and edge case warnings

Backup/Stale Files (4)

FileType
docs/tokenization/FRONTEND_TOKENIZATION_FULL.md.bakDocumentation backup
docs/tokenization/BACKEND_TOKENIZATION_FULL.md.bakDocumentation backup
components/shared/operator-config/stages/ConfigStage.tsx.backupComponent backup
components/shared/operator-config/stages/logic/SQL.tsx.backupComponent backup

Potentially Unused Dependencies

PackageConcern
d3 (7.9.0)In deps and manual chunks, but minimal direct usage. Recharts is primary charting library.
motion (12.23.24)In both portal and UI package deps, but no Framer Motion imports found in portal code.
@faker-js/faker (10.1.0)Runtime dependency — should potentially be devDependency.