Introduce detailed progress reporting for PDF layout parsing, exposing phase and page-level updates to clients. Replace legacy parseStatus with a structured parseState field in the database schema, updating all relevant backend and API logic. Add SSE endpoint for real-time parse progress updates. Update client hooks and UI to reflect granular progress and improve user feedback during document parsing. Includes migration scripts and new parse-state utility module.
2 lines
No EOL
123 B
SQL
2 lines
No EOL
123 B
SQL
ALTER TABLE `documents` ADD `parse_state` text;--> statement-breakpoint
|
|
ALTER TABLE `documents` DROP COLUMN `parse_status`; |