Skip to content

[hotfix] Clarify moment image upload errors - #6016

Closed
mashbean wants to merge 1 commit into
masterfrom
hotfix/moment-upload-error-feedback
Closed

[hotfix] Clarify moment image upload errors#6016
mashbean wants to merge 1 commit into
masterfrom
hotfix/moment-upload-error-feedback

Conversation

@mashbean

@mashbean mashbean commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Show actionable moment image upload errors instead of always rendering Unknown Error.
  • Display a specific Too Frequent state for ACTION_LIMIT_EXCEEDED, which can happen during repeated image upload attempts because directImageUpload is rate-limited.
  • Add a labeled console error for the background directImageUploadDone mutation so future debugging does not only show #<Object>.

Verification

  • npm run i18n
  • npm run lint:ts
  • npm run format -- --list-different
  • git diff --check
  • commit hook: format, i18n, lint:ts, lint:css

Notes

Follow-up to #6011 and #6013. Production is on the new build, but repeated upload attempts can still surface a generic Unknown Error; this PR makes that state diagnosable and user-readable.

@mashbean
mashbean requested a review from a team as a code owner July 5, 2026 03:50
@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
matters-web Ready Ready Preview Jul 5, 2026 3:54am

Request Review

@mashbean

mashbean commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by another agent's fix.

@mashbean mashbean closed this Jul 6, 2026
@mashbean
mashbean deleted the hotfix/moment-upload-error-feedback branch July 6, 2026 04:07
@mashbean
mashbean restored the hotfix/moment-upload-error-feedback branch July 25, 2026 15:55
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