feat: Plan Mode, PR Agent, and Major Platform Improvements#400
Merged
Movm merged 2 commits intotest-branchfrom Jan 11, 2026
Merged
feat: Plan Mode, PR Agent, and Major Platform Improvements#400Movm merged 2 commits intotest-branchfrom
Movm merged 2 commits intotest-branchfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR merges the
feature/expo-mobile-appbranch intotest-branch, bringing comprehensive platform improvements and new features:🎯 Major Features
Plan Mode System
PR Agent
Enhanced Generators
🎨 Image Studio Improvements
🎬 Subtitler Enhancements
🏗️ Backend Improvements
📱 Sites App Updates
🧹 Code Quality
🗄️ Database Changes
Test Plan
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.