feat(discussions): support camera capture and generic file attachments in composers - #246
Conversation
…ge picking, and enable multi-format file attachments for forum posts.
|
Claude finished @syed-tp's task in 3m 42s —— View job Claude PR ReviewTodo list
PR Review Summary✅ What's good
🔴 CRITICAL — Must fix before merge
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — primarily due to the broken non-image attachment upload path in Forum Post Create (#1 above), which undermines the PR's core stated goal. The accessibility semantics gap should also be addressed before merge per the repo's mandatory |
|
@claude review |
|
Claude finished @syed-tp's task in 2m 28s —— View job Claude PR ReviewTodo list
PR Review SummaryThis is a re-review of the latest state of the branch (3 commits, including the newest ✅ What's good
🔴 CRITICAL — Must fix before merge
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — the client-side upload routing/HTML-embedding fix from the last review is a real improvement, but the underlying |
|
@claude review We confirmed from the backend codebase that /api/v2.3/image_upload/ (handled by S3ImageUploadView) does not validate MIME types or file extensions, so it accepts arbitrary file types (PDF, DOCX, TXT) out of the box. We separated the uploadFile method signature on the client so that if the backend ever splits this endpoint in the future, we only need to update it in HttpDataSource. The lack of AppSemantics wrapping and the small touch targets are pre-existing patterns on the ForumToolbarButton and the image close badge, rather than issues introduced in this PR. Fixing this globally is out of scope for this PR, as introducing semantics here would require adding localized UI labels and modifying existing toolbar layouts across other screens. We will track this accessibility debt as a separate issue so it can be solved uniformly across the entire discussions package. |
|
Claude finished @syed-tp's task in 1m 13s —— View job Claude PR ReviewTodo list
PR Review SummaryThanks for the clarification — responding to both points. ✅ What's good
🔴 CRITICAL — Must fix before merge
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — the upload-endpoint concern is resolved given the backend confirmation (please just add the explanatory comment). The accessibility item is narrowed to a small, scoped fix (remove-badge semantics only) rather than the full toolbar retrofit — reasonable to defer the rest to the tracked follow-up issue. |
…ror handling, and refactor forum providers to support anchor tags for non-image files.
|
@claude review We confirmed from the backend codebase that /api/v2.3/image_upload/ (handled by S3ImageUploadView) does not validate MIME types or file extensions, so it accepts arbitrary file types (PDF, DOCX, TXT) out of the box. We separated the uploadFile method signature on the client so that if the backend ever splits this endpoint in the future, we only need to update it in HttpDataSource. The lack of AppSemantics wrapping and the small touch targets are pre-existing patterns on the ForumToolbarButton and the image close badge, rather than issues introduced in this PR. Fixing this globally is out of scope for this PR, as introducing semantics here would require adding localized UI labels and modifying existing toolbar layouts across other screens. We will track this accessibility debt as a separate issue so it can be solved uniformly across the entire discussions package. |
|
Claude finished @syed-tp's task in 2m 27s —— View job Claude PR ReviewTodo list
PR Review SummaryRe-review after the latest commit ( ✅ What's good
🔴 CRITICAL — Must fix before merge
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED — great progress: 4 of the 5 previously-open warnings are now resolved (duplication, naming, error handling, tasks.md), and the upload-endpoint concern is resolved per your backend confirmation. What's left: the accessibility fix we narrowed down to ( |
…h error handling blocks
…tion in forum post screen
…lity labels to forum attachment remove buttons
|
@claude review |
|
Claude finished @syed-tp's task in 1m 56s —— View job Claude PR ReviewTodo list
PR Review SummaryRe-review after the latest commits ( ✅ What's good
🟡 WARNING — Should fix
🔵 SUGGESTION — Nice to have
VerdictCHANGES REQUESTED (soft) — both previously-outstanding CRITICAL items (accessibility semantics on the remove-badge, and the |
|
These are small no error handling is needed @claude review Approve it |
|
Claude finished @syed-tp's task in 55s —— View job Claude PR ReviewTodo list
PR Review SummaryRe-reviewed at HEAD ( ✅ What's good
🔴 CRITICAL — Must fix before mergeNone outstanding. 🟡 WARNING — Should fixNone outstanding (picker error handling accepted as an intentional, low-risk simplification per above). 🔵 SUGGESTION — Nice to have
VerdictAPPROVED — all previously outstanding CRITICAL items (attachment upload pipeline, accessibility semantics on the remove-badge) are resolved and confirmed stable at HEAD. The remaining picker error-handling WARNING is accepted as an intentional simplification per your explanation. Note: I'm not able to formally approve/merge the PR via GitHub's review API (no PR-approval permissions) — you'll need a human reviewer or repo maintainer to click Approve/Merge. The remaining suggestions above are optional follow-ups, not blockers. |
Why
What