[dev] [cursor[bot]] cursor/submission-wizard-file-handling-ca3e#2473
[dev] [cursor[bot]] cursor/submission-wizard-file-handling-ca3e#2473github-actions[bot] wants to merge 2 commits intomainfrom
Conversation
Customers could only upload PDFs and images when submitting evidence. Added CSV, XLSX, and XLS support to the file type mapper and evidence form definitions (whistleblower-report, tabletop-exercise). Also added an optional spreadsheet upload field to the RBAC matrix form so users can upload their matrix as a file instead of entering rows manually. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR SummaryMedium Risk Overview For the Refactors the submission wizard’s Reviewed by Cursor Bugbot for commit c6b30e9. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c6b30e9. Configure here.
| ) | ||
| : { 'application/pdf': [], 'image/*': [], 'text/*': [] } | ||
| } | ||
| accept={buildFileAcceptMap(field.accept)} |
There was a problem hiding this comment.
File upload renders above matrix rows, inverting intended order
Medium Severity
For the rbac-matrix form, the matrixFile field (type file) is categorized into extendedFields and the matrixRows field (type matrix) into matrixFields. Since step 2 renders extendedFields before matrixFields, the file uploader appears above the matrix rows. This contradicts the definition order and the matrixFile description text which reads "instead of entering rows above" — there are no rows above it. The primary input (matrix) ends up below the secondary alternative (file upload), creating a confusing UX.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c6b30e9. Configure here.
|
Automatically closed this PR because it was created by Bugbot autofix for #2471, and that PR was closed. |


This is an automated pull request to merge cursor/submission-wizard-file-handling-ca3e into dev.
It was created by the [Auto Pull Request] action.