Open pmclaren19 opened 4 months ago
Thanks for the ping, @pmclaren19! I would definitely like to test this when we implement it.
Reviewed and added some updates to tasks during eng refinement.
Running into some issues implementing this code. Talking with platform design and created several bug tickets ...
This ticket is blocked by the following platform design tickets:
Still awaiting updates from Platform.
It looks the bugs Peri filed and linked to above are Closed. So is this ticket unblocked now? I added the latest design mock to the Design section.
I also want to highlight a bug I noticed while looking at this in staging:
Repro:
I assume this would get fixed when we remove that gray box and replace it with the pattern from the design system. But wanted to document this just to be safe.
https://github.com/user-attachments/assets/84ea42fb-a6fb-4d07-888c-2c7709bfe8b0
slack comments- https://dsva.slack.com/archives/C01DBGX4P45/p1722966284369869 Both bug tickets have been worked. We need to attempt to implement again and see if the slot can be conditional.
I also want to highlight a bug I noticed while looking at this in staging:
Repro:
- User uploads a file (File 1)
- Gray "attached" box (which we will be removing as part of this ticket) shows up, confirming that File 1 has been uploaded
- User clicks "Change file" to replace File 1
- User replaces File 1 with File 2
- The gray "attached" boxes show up for both File 1 and File 2, even though File 1 is no longer attached.
I assume this would get fixed when we remove that gray box and replace it with the pattern from the design system. But wanted to document this just to be safe.
Screen.Recording.2024-10-25.at.10.55.00.AM.mov
@skylerschain for the time being while we try to fix this please file a separate ticket to fix the issue witht he current implementation.
Background Context
Initially created a bug ticket here for the Platform Design team to update the va-file-input component to allow for multiple files. They took this ticket and created three new tickets to cover this work:
This work has now been completed and we can update the file upload component that we are using in the CST on the Doc Request Page and Files Tab to use this new component va-file-input-multiple
Originally had created this ticket for us to do this work but that was with the intent that the platform design team would update the current component
va-file-input
. They have decided instead to create a whole new component calledva-file-input-multiple
.New Feature
Update the AddFilesForm component that allows users to upload files to now instead us the component va-file-input-multiple . This component is used on the Files Tab and Document Request Form
Design
FIGMA
Current:
va-file-input-multiple component:
Enablement team (if needed)
@davidakennedy ?
Engineering
AddFileForms
to use https://design.va.gov/storybook/?path=/docs/uswds-va-file-input-multiple--docs#additional-form-inputsOut of scope
Open questions
Tasks
Definition of Done
Acceptance Criteria