bcgov / bcgov/entity

Filings UI - remove workaround to provide draft registration in to do list

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

Description

A special case is currently implemented in the UI to handle an IA (ie, an entity with a temporary registration number), depending on its status -- in Draft or Pending it displays in the Todo list; in Completed or Paid it displays in the Filings History list. This is more business intelligence than should be in the UI, and it's sensitive to schema changes.

Ideally, the API would provide the IA in the correct list/endpoint (tasks or filings) depending on its state. The UI will need a bit of cleanup (ie, remove current workaround code) after this.

The API ticket is [8692](https://app.zenhub.com/workspaces/entities-team-space-6143567664fb320019b81f39/issues/bcgov/entity/8692), which must be done first.

### TO DO
- [ ] remove workaround code
- [ ] ensure this fix applies to registrations as well

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing API ticket 8692, which must be completed first, then locate the UI code that branches IA records between the Todo and Filings History lists based on status. Remove that workaround once the API supplies the correct list or endpoint, and verify the same cleanup covers registrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.