Skip to content

feat: Plan Mode, PR Agent, and Major Platform Improvements#400

Merged
Movm merged 2 commits intotest-branchfrom
feature/expo-mobile-app
Jan 11, 2026
Merged

feat: Plan Mode, PR Agent, and Major Platform Improvements#400
Movm merged 2 commits intotest-branchfrom
feature/expo-mobile-app

Conversation

@Movm
Copy link
Copy Markdown
Collaborator

@Movm Movm commented Jan 11, 2026

Summary

This PR merges the feature/expo-mobile-app branch into test-branch, bringing comprehensive platform improvements and new features:

🎯 Major Features

Plan Mode System

  • Interactive workflow orchestration for complex text generation
  • Step-by-step plan creation and revision
  • User approval workflow with real-time progress tracking
  • Integration with LangGraph for state management

PR Agent

  • Automated public relations content generation
  • Argument analysis and summarization
  • Framing and platform-specific content generation
  • Risk assessment and visual content suggestions

Enhanced Generators

  • Improved custom generator creation with dynamic field rendering
  • Recent texts sidebar with auto-save indicator
  • Better form configuration and validation
  • Refactored antrag, presse, universal, and accessibility generators

🎨 Image Studio Improvements

  • AI history timeline for tracking edits
  • Image size selection step
  • Enhanced canvas editor with config-based architecture
  • Unsplash and illustration library integration
  • Multi-page canvas editing capabilities

🎬 Subtitler Enhancements

  • Complete TypeScript migration from JavaScript
  • Improved subtitle timing and segmentation utilities
  • Better video editor components
  • Enhanced social text generation integration

🏗️ Backend Improvements

  • Plan mode orchestrator with LangGraph
  • User management routes and workflow service
  • Enhanced request enrichment with locale support
  • PostgreSQL schema updates for new features
  • Social text generation endpoint

📱 Sites App Updates

  • Error tracking and reporting infrastructure
  • Toast notification system
  • Loading progress indicators
  • Enhanced validation and sanitization utilities

🧹 Code Quality

  • Removed legacy components (DreizeilenCanvas.legacy, alttext, leichte-sprache)
  • TypeScript migration across multiple modules
  • Improved type safety throughout the codebase
  • Dependency updates and cleanup

🗄️ Database Changes

  • New user profiles schema enhancements
  • Plan mode workflow state management
  • Document metadata improvements

Test Plan

  • Test plan mode workflow on antrag and PR generators
  • Verify PR agent functionality
  • Test image studio with AI history and size selection
  • Verify subtitler TypeScript migration
  • Test custom generator creation
  • Verify auto-save and recent texts features
  • Test error boundaries and toast notifications
  • Verify database migrations

Breaking Changes

None expected - all changes are additive or refactoring improvements.

Related Issues

This PR consolidates work from the expo mobile app feature branch and includes collaborative docs, Docusaurus integration, and numerous UI/UX improvements.

Movm added 2 commits January 10, 2026 14:35
PostgreSQL's pg driver returns JSONB columns as objects, not strings.
The code was attempting to JSON.parse() already-parsed objects, causing
"[object Object] is not valid JSON" errors.

Changes:
- Update DocumentRecord metadata type from string to Record<string, any>
- Add parseMetadata() utility to handle both object and string formats
- Replace manual JSON.parse() calls with safe parseMetadata() utility

This prevents the error and ensures consistent metadata handling across
the document service.
This commit introduces several major features and improvements across the platform:

Backend (API):
- Add plan mode orchestration system with interactive workflow management
- Implement PR agent with LangGraph integration
- Add user management routes and workflow service
- Enhance request enrichment with locale and domain utilities
- Update PostgreSQL schema for new features
- Add social text generation endpoint

Frontend (Web):
- Add comprehensive plan mode UI with step-by-step workflows
- Implement PR agent feature for automated pull requests
- Add recent texts sidebar with auto-save indicator
- Enhance custom generator creation with dynamic field rendering
- Improve image studio with AI history timeline and size selection
- Migrate subtitler hooks from JavaScript to TypeScript
- Refactor text generators (antrag, presse, universal, accessibility)
- Remove deprecated generators (alttext, leichte-sprache)
- Add reusable form utilities and configuration resolver
- Improve export dropdown and help display components

Sites App:
- Add error tracking and reporting utilities
- Implement toast notification system
- Add loading progress indicators
- Enhance validation and sanitization utilities

Infrastructure:
- Remove legacy canvas components
- Clean up TypeScript types and improve type safety
- Update dependencies in pnpm-lock.yaml
- Remove obsolete JavaScript files in favor of TypeScript

This update significantly improves the user experience for text and image generation,
adds powerful workflow capabilities, and enhances code maintainability.
@Movm Movm merged commit 862a175 into test-branch Jan 11, 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