bcgov / bcgov/entity

UI - Highlight Parent row in green when a new MH Registration is added to the table via 'Retrieve an existing registration to add to your table' search

Open
#14,852 0 comments 0 reactions 0 assignees View on GitHub
Assets bug
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

## AC

IF I am a qualified supplier and have parent MHR 150359 added to my MHR registrations table
AND I hit the blue expand arrow to show the child registration row
THEN I remove parent MHR 150359 from my table (with the child row expanded)
AND THEN I add the parent MHR 150359 back into my table via the "Retrieve an existing..." search box
THEN the parent row should appear added in the table in it's collapsed state with the parent row highlighted in green. (Currently when it is added, it is appearing in its expanded state with the child row highlighted in green).

When adding a parent MHR to the table, it should always appear in its collapsed state with the parent row highlighted in green.

![Screen Shot 2023-01-04 at 11.55.29 AM.png](https://images.zenhubusercontent.com/5e1cd2cd5d67f0528e482520/146b0693-42dc-49a1-bbf9-97c5a268834f)

Then only time an MHR registration would get added in the expanded parent/child row view state is if a user was adding a child document registration number to the table (the child row would be highlighted in green) - which is a functionality we don't yet have for the Retrieving search field.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the UI component handling the MHR registrations table, the blue expand control, and the “Retrieve an existing registration” search. Reproduce the parent-removal and re-add flow with MHR 150359, then verify that the parent is collapsed and highlighted green while child-registration additions retain their specified behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.