Attach screenshots to mobile issue comments #468

Merged
timmy merged 1 commits from timmy/467-mobile-comment-screenshots into main 2026-08-10 08:57:09 +00:00
Owner

Summary

  • add a thumb-reachable PNG/JPEG/WebP screenshot picker and removable mobile preview to assigned-issue comments
  • validate 2 MB images at both browser and server boundaries, revalidate assignment, and proxy multipart assets to the exact Gitea issue
  • upload before comment submission, preserve text/preview on failure, and include the runtime in the offline app shell

Verification

  • pytest -q tests/test_issue_attachments.py tests/test_issue_attachment_ui.py tests/test_request_boundary.py tests/test_service_worker.py (56 passed)
  • full suite: 928 passed
  • node --check for dashboard, attachment runtime, and service worker
  • Playwright at 390x844: 44px attachment control, 362px preview, no horizontal overflow

Closes #467

## Summary - add a thumb-reachable PNG/JPEG/WebP screenshot picker and removable mobile preview to assigned-issue comments - validate 2 MB images at both browser and server boundaries, revalidate assignment, and proxy multipart assets to the exact Gitea issue - upload before comment submission, preserve text/preview on failure, and include the runtime in the offline app shell ## Verification - `pytest -q tests/test_issue_attachments.py tests/test_issue_attachment_ui.py tests/test_request_boundary.py tests/test_service_worker.py` (56 passed) - full suite: 928 passed - `node --check` for dashboard, attachment runtime, and service worker - Playwright at 390x844: 44px attachment control, 362px preview, no horizontal overflow Closes #467
timmy added 1 commit 2026-08-10 08:55:42 +00:00
feat: attach screenshots to issue comments (#467)
All checks were successful
CI / lint (pull_request) Successful in 53s
CI / build-release (pull_request) Successful in 5s
CI / release-candidate (pull_request) Has been skipped
eefb760169
timmy merged commit 11341ec5d9 into main 2026-08-10 08:57:09 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#468
No description provided.