Skip to content

Update image upload limit from 500KB to 1MB#194

Merged
realproject7 merged 1 commit into
mainfrom
task/193-upload-limit-1mb
May 15, 2026
Merged

Update image upload limit from 500KB to 1MB#194
realproject7 merged 1 commit into
mainfrom
task/193-upload-limit-1mb

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Update route validation (upload-cover, upload-plot-image) from 500KB to 1MB
  • Update all UI guidance text in PreviewPanel from "max 500KB" to "max 1MB"
  • Update generated CLAUDE.md and AGENTS.md references to match
  • Bump version to 1.0.33

Fixes #193
Refs: plotlink#1202

Test plan

  • Upload a cover image between 500KB–1MB → should succeed
  • Upload a plot illustration between 500KB–1MB → should succeed
  • Upload an image over 1MB → should be rejected with "1MB limit" message
  • UI shows "max 1MB" in all guidance text (cover upload, illustration upload)
  • Restart app → ~/.plotlink-ows/CLAUDE.md regenerates with 1MB references

🤖 Generated with Claude Code

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES

Summary

The requested upload limit updates are present in the route validation, UI copy, and generated agent docs. The PR is not merge-ready because the branch is currently conflicting with main, and the package version bump leaves the npm lockfile stale.

Findings

  • [blocking] GitHub reports this PR branch as merge-conflicting with main, so it cannot be merged or reliably validated as-is.

    • File: PR #194 branch metadata
    • Suggestion: Rebase or merge current main, resolve conflicts, and push the updated branch.
  • [medium] package.json is bumped to 1.0.33, but package-lock.json is not updated in the PR. This leaves the committed npm metadata inconsistent after the version change.

    • File: package.json:3
    • Suggestion: Either update package-lock.json with the same root version or remove the package version bump if it is not part of this issue.

Decision

REQUEST CHANGES until the branch conflict is resolved and the lockfile/version metadata is made consistent. No checks are reported for the PR branch, so I could not rely on CI for validation.

Match plotlink#1202 server-side change: route validation,
UI guidance text, and generated CLAUDE.md all reference 1MB.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@realproject7 realproject7 force-pushed the task/193-upload-limit-1mb branch from a08e845 to 637860f Compare May 15, 2026 00:43
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR now matches issue #193: upload-cover and upload-plot-image validation accept up to 1MB, UI guidance text says max 1MB, and generated agent docs reference the 1MB limit. The prior merge conflict is resolved and package-lock metadata is now consistent.

Findings

  • None.

Decision

APPROVE. Branch is mergeable and the lint-and-typecheck check passed.

@realproject7 realproject7 merged commit cb80ab4 into main May 15, 2026
1 check passed
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.

Update image upload limit from 500KB to 1MB + guidance text

2 participants