Gallery upload accept list excludes BMP that the Help page claims is supported (.pes,.dst,.png,.jpg,.jpeg,.svg — no .bmp); Workspace accepts BMP but Gallery doesn't #148
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
The Gallery's Upload Design file picker accepts only 6 file extensions (
.pes,.dst,.png,.jpg,.jpeg,.svg). The Help page's Compatibility FAQ atsrc/pages/Help.tsx:122claims:BMP is missing from the Gallery's accept list. A user following the Help page's instruction to upload a BMP file will be unable to select one in the file picker (most browsers honor the
acceptattribute as a filter). The picker only allows the 6 types listed above; BMP is silently excluded.The Workspace's upload area (CanvasArea) DOES include BMP in its accept attribute (
accept="image/png,image/jpeg,image/svg+xml,image/bmp"). So the user can upload a BMP to the Workspace for digitizing, but cannot upload one to the Gallery for archival.Where
src/pages/Gallery.tsx:493—accept=".pes,.dst,.png,.jpg,.jpeg,.svg"src/pages/Help.tsx:122src/components/workspace/CanvasArea.tsx:333—accept="image/png,image/jpeg,image/svg+xml,image/bmp"Suggested fix shape
Add
.bmpto the Gallery's accept list:Verify the resulting accept string passes validation in the file picker; modern browsers honor
.bmpas a valid extension hint. Also: confirm thatdesignFromFileandparseDesignFile(the post-upload pipeline) handle BMP without errors — if either crashes, the upload silently fails even though the picker now shows BMP files.Severity
Medium. The Help page makes a product claim the Gallery picker can't honor. A user trying to follow the instructions is left confused.
Discovered by
Gap analysis (2026-10-02) of upload affordances.
Related
Fixed in commit
c2beef8(rebased toc2beef8on origin/main): added.bmpto the Gallery's Upload Design picker accept list atsrc/pages/Gallery.tsx:496. Help page claim now matches the picker. Post-upload pipeline (designFromFile→parseDesignFile) already documented BMP as a supported image type (parseDesignFile.ts:8), so the picker now correctly offers what the rest of the system already accepts. Lint clean, 52/52 Gallery + Help + gallery-component tests pass.