cds-snc / cds-snc/platform-forms-client

Show file type and file size accepted in the hint text

Open
#5,769 6 comments 0 reactions 0 assignees View on GitHub
bug needs design testing
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 10h
Merged PRs (30d)
82

Description

# File upload QA v2

Severe:
- If there is a custom file type associated to the form element, you will only know by realizing you can't find it on your device.
- Theres an opportunity to remove the input field in the More modal, and replace the hint text with the file type selection
- Even if there is no file type customization, we could still have a default description of the file types accepted at this time (no mp4 tehe)
- Related to card #5768

Testing:
- Tablet, Edge, EN

image.png

Contributor guide

Open the contributing guide

Research direction

Start by locating the file-upload form element and its More modal in the platform-forms-client frontend. Review how custom and default accepted file types are determined, then update the hint to show the accepted file type and file size while removing the redundant input if appropriate. Verify the result on tablet Edge in English, including the no-mp4 case.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.