bcgov / bcgov/STRR

Reinstate Suspended Registration

Open
#1,369 0 comments 0 reactions 1 assignee Claimed by @victorc-bcgov View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

## User Stories
As an Examiner
I want to reinstate a previously suspended Registration
So that the Registration is no longer suspended.

As an Examiner
I want to be challenged with a Confirmation Modal
So that I can confirm that I wish to reinstate the Registration.

As an Examiner
I want to be shown a "Registered" indicator when viewing the Registration details on the Examiner dashboard after the Registration has been reinstated
So that I can confirm that the Registration is active.

As an Examiner
I want an Event to the added to the Registration's History log when it is reinstated
So that I can view the history of changes made to the Registration.

As an Applicant
I want to receive an email when my previously suspended Registration has been reinstated
So that I will know that I am able to resume my short-term rental activities.

As an Applicant
I want to be shown a "Registered" indicator when viewing the Registration details on the Applicant dashboard after the Registration has been reinstated
So that I can confirm that the Registration is active.

## User Experience
[After Suspending, Examiner Dashboard](https://www.figma.com/design/a4H3s0ebAxwv8ZniyNAt4g/STRR-Host-Registration---Redesign?node-id=5159-152230&t=IWYy1l3YkYbJOXAD-1)

## Additional Details
- A suspended Registration that has expired can be reinstated by an Examiner, but because the Registration is no longer in effect, the Property can not be used for short-term rentals unless the Registration is renewed.
- Similarly, a suspended Registration may be renewed if the Registration is within its renewal period, but the Property can not be used for short-term rentals while the Registration is suspended.

## Acceptance Criteria
- [ ] **Scenario: Reinstating a Suspended Registration**
- Given a Registration is in a suspended state
- When an Examiner reinstates the Registration
- Then the Registration should no longer be suspended and its status should be updated accordingly

- [ ] **Scenario: Confirmation Modal before reinstating a Suspended Registration**
- Given an Examiner is attempting to reinstate a Suspended Registration
- When a Confirmation Modal appears, asking the Examiner to confirm their decision
- Then the Examiner must click "Yes, Reinstate" in order to proceed with reinstating the Registration

- [ ] **Scenario: Event added to Registration's History log when reinstated**
- Given a Registration is in a suspended state and then reinstated
- When an Examiner reinstates the Registration
- Then an event should be added to the Registration's History log, indicating that it was reinstated

- [ ] **Scenario: Active indicator shown on Examiner dashboard after reinstatement**
- Given a previously suspended Registration is reinstated
- When the Examiner views the Registration details on their dashboard
- Then a "Registered" indicator should be displayed, confirming that the Registration is active

- [ ] **Scenario: Email notification for Applicant when Registration is reinstated**
- Given a Registration has been reinstated
- When an email is sent to the Applicant
- Then the Applicant should receive an email notifying them that their Registration has been reinstated

- [ ] **Scenario: Active indicator shown on Applicant dashboard after reinstatement**
- Given a previously suspended Registration is reinstated
- When the Applicant views the Registration details on their dashboard
- Then a "Registered" indicator should be displayed, confirming that the Registration is active

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.