Open
Conversation
Adds "Import Plan" button to /plan list page (top-right corner). Links to /plan/import with a zip file upload form. The uploaded file is accepted but not yet processed (placeholder for next step). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add import_pending state to PlanState enum - Upload stores zip in run_zip_snapshot, creates PlanItem, redirects to plan view - 50 MB upload limit - Purple status chip for import_pending in plan list Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The Python enum change alone isn't enough — PostgreSQL has its own enum type that needs ALTER TYPE ADD VALUE. Added to both frontend_multi_user and worker_plan_database startup migrations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Drop zone covers the main area. Click to browse or drag a .zip file. Upload button appears after file is selected. Page-level dragover prevented so the browser doesn't navigate away on accidental drops. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The gunicorn worker was timing out (60s) during zip upload + DB insert. Bumped to 120s. Also added try/except around the DB commit so import errors show a user-visible message instead of crashing the worker. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Verify zip is valid (rejects corrupt/non-zip files) - Remove ExtraFilenameEnum files (log.txt, track_activity.jsonl, etc.) - Verify all remaining files match FilenameEnum (including templates) - Reject zips with unrecognized files - Store the cleaned zip in run_zip_snapshot Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
macOS resource forks (._*) and other non-PlanExe files are silently dropped. Only FilenameEnum files are kept. Rejects only if zero recognized files remain. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Eliminates "Confirm Form Resubmission" on page reload. The upload is now a JS fetch() to /plan/import/upload (JSON API), and the page navigates via window.location on success. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Test plan
🤖 Generated with Claude Code