bcgov / bcgov/entity

Disable "Edit" button in NameX until the NR has been furnished

Open
#8,785 0 comments 0 reactions 0 assignees View on GitHub
ENTITY - DO NOT USE NameX UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

### Description
Clients are experiencing issues registering in OneStop. Their Name Requests are not working.
The data in the NR is getting messed up when an examiner:
1. Creates a replacement NR for a client
2. Quickly goes to edit the NR before the NR has been furnished
This does not happen often. Usually an examiner only interacts with the NR long after it has been furnished.
When they do this, another row is added to the consent table (totalling 2 rows) which is incorrect and prevents the NR from being used in OneStop.

### Acceptance Criteria
GIVEN I am a staff member in NameX
AND i am looking at an NR that has not been furnished yet
WHEN I click "edit" on that NR
THEN I see an error message (see content below)
AND the NR cannot be edited

![Screen Shot 2021-09-03 at 10.41.12 AM.png](https://images.zenhubusercontent.com/5d49cdec9547713e57d6cd4a/e60f98a4-bb4c-40a9-9058-69e4c9271ea8)

### Content

> The client has not been notified about this NR yet.
> You cannot edit an NR if the client has not been notified.
> The system usually takes about 3 minutes to notify the client.

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.