bcgov / bcgov/entity

DRS - Entities UI | Bug Fix

Open
#28,969 0 comments 0 reactions 0 assignees View on GitHub
Assets DRS Corps
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.