bcgov / bcgov/entity

Create UI: fix upload size labels (10 MB should be 30 MB)

Open
#11,281 0 comments 0 reactions 0 assignees View on GitHub
bug ENTITY - DO NOT USE Priority2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

In Create UI, there are 3 components that allow the upload of a file. The max file size was recently updated (from 10 MB to 30 MB), but the guidance text was not and is now incorrect, eg:

![image.png](https://images.zenhubusercontent.com/5d0a7edda4644173e93bf808/b16bd8f3-23bf-4f2f-ac1c-396b307ecdd9)

The following components need to be updated:
- [ ] Affidavit.vue
- [ ] UploadMemorandum.vue
- [ ] UploadRules.vue
- [ ] unit tests?

I recommend changing the hard-coded guidance text to a string computed using the MAX_FILE_SIZE variable in document-mixin.ts.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate Affidavit.vue, UploadMemorandum.vue, UploadRules.vue, and document-mixin.ts. Start by checking MAX_FILE_SIZE and the three upload guidance labels, then inspect the related unit tests if present. Done means all three components display guidance matching the 30 MB limit and the tests pass or are updated accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.