DRS - Entities UI | Bug Fix
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
- [ ] Create a unique DRS record per filing
Ensure only one DRS record is created per filing. Currently multiple records are being created for some filing types such as Continuation In and Incorporation Application. (use filing id)
- [ ] Conditionally hide document ID component
Hide the Document ID component when a DRS record already exists. Update validation logic accordingly to reflect this behavior.
- [ ] Preserve `documentIdState` on draft filing load
Fix the issue where `documentIdState` becomes `undefined` when loading a draft filing. This affects the logic that checks for the existence of a DRS record
- [ ] When the user clicks the 'X' button to clear the uploaded document, the corresponding DRS record should also be removed.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the DRS Entities UI logic that creates records, controls the Document ID component, and loads documentIdState for draft filings. Trace the filing ID and uploaded-document clear action, then verify that each filing has one DRS record, the component and validation respond to an existing record, documentIdState survives loading, and clearing the document removes the record.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100