bcgov / bcgov/STRR

Application List Search Logic

Open
#1,243 2 comments 0 reactions 0 assignees 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 applications to automatically enter the list when an application submission is paid
So that the queue remains current and only shows unregistered applications

As an Examiner
I want applications to automatically leave the list when an application is accepted
So that the queue remains current and only shows unregistered applications

As an Examiner
I want applications to automatically leave the queue when an application is rejected
So that the queue remains current and only shows unregistered applications

As an Examiner
I want applications to be sorted by Payment Date Ascending by default
So that the application are listed as oldest paid first

### Out of Scope
As an Examiner
I want applications to automatically leave the queue when an application is withdrawn
So that the queue remains current and only shows unregistered applications

### Acceptance Criteria
- [ ] Scenario: Appearance on application payment
- Given an application is in a paid status
- Then the application appears in the queue
- And is placed at the end of the list

- [ ] Scenario: Default Sort
- Given an examiner loads the application table
- Then the list is sorted by Payment Dates ascending

- [ ] Scenario: Auto-removal on registration creation
- Given an application has no registration number and is in the queue
- When an approval decision is completed that creates registration
- Then the application no longer appears in the list

- [ ] Scenario: Auto-removal on application refusal
- Given an application has no registration number and is in the queue
- When a refusal decision is completed that rejects the application
- Then the application no longer appears in the list

- [ ] Scenario: Auto-removal on application refusal
- Given an application has no registration number and is in the queue
- When a refusal decision is completed that rejects the application
- Then the application no longer appears in the list
-
- [ ] Scenario: Search on Applications that do not appear by default
- Given an application is not in the list by default
- When an examiner selects a new state (draft, payment pending, etc)
- Then the application that meets the new search criteria appears in the list

### Out of Scope
- [ ] Scenario: Auto-removal on application withdrawal
- Given an application has no registration number and is in the queue
- When a host decides to withdraw the application
- Then the application no longer appears in the queue

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.