bcgov / bcgov/entity

BUG/Enhancement - MHR Table - When deleting a draft transfer, do not collapse the Parent row unless its the only child row

Open
#18,195 1 comment 0 reactions 0 assignees View on GitHub
Assets bug enhancement MHR Should Have UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Expanded parent row gets automatically collapsed whenever a draft transfer is deleted.

WHEN there is an MHR in the table that has at least one draft and at least one other child row (another draft or another transaction)
AND you delete a draft
THEN the parent row should not automatically collapse

AND the parent row should only collapse automatically if user is deleting a draft and the draft is the only child row.

This should align the MHR UX with the PPR table UX

![Screen Shot 2023-10-16 at 4 47 58 PM](https://github.com/bcgov/entity/assets/2207887/3ce4e263-da38-4d6e-8ff3-138cad108a1b)

![Screen Shot 2023-10-16 at 4 47 33 PM](https://github.com/bcgov/entity/assets/2207887/cbe0ec52-531b-4c77-bd2e-2109c491d58f)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.