Skip to content

feat: TypeScript strict mode + GlitchTip integration + LangGraph workflows#404

Merged
Movm merged 7 commits intotest-branchfrom
feature/glitchtip-integration
Jan 13, 2026
Merged

feat: TypeScript strict mode + GlitchTip integration + LangGraph workflows#404
Movm merged 7 commits intotest-branchfrom
feature/glitchtip-integration

Conversation

@Movm
Copy link
Copy Markdown
Collaborator

@Movm Movm commented Jan 13, 2026

Summary

  • Eliminate all TypeScript any types (681 → 0) for strict mode compliance
  • Add GlitchTip error monitoring integration
  • Add LangGraph workflow graphs for Antrag generation
  • Refactor plan mode architecture with simplified implementation
  • Add lazy loading infrastructure for API client and i18n

Changes

TypeScript Strict Mode (192 files)

  • Remove 681 instances of any types across 131 files
  • Create new types/api.ts with error classes and ApiResponse<T>
  • Fix all stores, hooks, services, and components with proper typing
  • Use discriminated unions for complex types

GlitchTip Integration

  • Configure Vite for source maps
  • Update App.tsx for error boundary integration
  • Add error monitoring script to index.html

LangGraph Workflows

  • Add AntragWorkflowGraph for structured proposal generation
  • Add PlanWorkflowGraph for plan-based text generation
  • Implement graph-based AI orchestration patterns

Other Improvements

  • Add lazy loading for API client and i18n
  • Add service worker for illustration caching
  • Clean up unused plan-mode CSS

Test plan

  • Verify build passes: cd apps/web && npm run build
  • Test TypeScript compilation: npx tsc --noEmit
  • Verify error monitoring works in browser console
  • Test Antrag generation workflow

Movm added 7 commits January 13, 2026 02:29
…ance

- Remove 681 instances of `any` types across 131 files
- Create new types/api.ts with error classes and ApiResponse<T>
- Fix all stores: profileStore, chatStore, documentsStore, wolkeStore, authStore, sharepicStore
- Fix canvas editor: 138 instances across 23 files with proper generics
- Fix profileApiService: 38 Promise<any> returns with specific types
- Fix all hooks and utilities with proper type guards
- Replace catch(error: any) with catch(error: unknown) pattern
- Use discriminated unions for complex types (ChatContent, ApiResponse)
- Build passes with zero TypeScript errors
- Remove PlanModeOrchestrator.ts and PlanModeWorkflowService.ts
- Update plan-mode routes with streamlined implementation
- Simplify interactive questions and prompts
- Update aiWorkerPool configuration
- Add AntragWorkflowGraph for structured proposal generation
- Add PlanWorkflowGraph for plan-based text generation
- Implement graph-based AI orchestration patterns
- Update index.html with error monitoring script
- Configure App.tsx for error boundary integration
- Update vite.config.ts with source map settings for error tracking
- Add lazyApiClient.ts for deferred API client loading
- Add lazyI18n.ts for deferred internationalization setup
- Add service worker for illustration caching
- Remove plan-mode.css (feature removed)
- Update header.css styling
- Update App.css with minor fixes
- Update MobileEditorPage imports
- Add regex pattern to detect markdown tables
@Movm Movm merged commit 6a74f05 into test-branch Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant