Closed cholly75 closed 1 year ago
Mockups:
For reference - mockup with functionality included in this story and follow up story 9769:
Link to clickable prototype of mockup: https://www.figma.com/proto/DsiP6YBBn3rxCCwFWK8ZjG/USTC-%7C-Reports-%7C-Advanced-Case-Inventory-9723?page-id=93%3A1718&node-id=93%3A3763&viewport=-920%2C-514%2C0.43&scaling=min-zoom&starting-point-node-id=93%3A3763
Figma file, page "Concepts round 6": https://www.figma.com/file/DsiP6YBBn3rxCCwFWK8ZjG/USTC-%7C-Reports-%7C-Advanced-Case-Inventory-9723?node-id=121%3A2462&t=ptGYE0ViSB14lX8g-1
Keeping the UX Needed tag until the outstanding question above has been addressed.
Expected Results:
Expected Results:
Expected Results:
*Repeat this test by inputting other invalid date options (i.e., end date is before start date). You should receive appropriate validation error messages.
Expected Results:
Expected Results:
Expected Results:
Expected Results:
Expected Results:
[x] NEW FUNCTIONALITY - When selecting the Case Status, the picklist for Case Status is organized alphabetically
[x] NEW FUNCTIONALITY - The results list populates with Cases in the appropriate date range, displays cases that were filed both paper and electronically.
[x] NEW FUNCTIONALITY - The results list should only have cases displayed that match the case type you selected from the step above
[x] NEW FUNCTIONALITY - The results list should only have cases displayed that match the Case Status you selected from the step above
[x] NEW FUNCTIONALITY - The criteria used to generate the report is displayed for the user
[x] NEW FUNCTIONALITY - The default sort order should show the earliest creation date of filing first.
[x] NEW FUNCTIONALITY - The total count of results should display on the right side of the screen above the table
[x] NEW FUNCTIONALITY - There should be pagination available.
[x] NEW FUNCTIONALITY - Column data (explained in the expected results from test case 4) is populated correctly
Repeat this test by selecting different case statuses and ensure that the appropriate case statuses display in the results.
Repeat this test by selecting multiple case statuses from the case status picklist - ensure that the appropriate case statuses are displayed in the results
I currently provide a report of "petitions filed - paper vs electronic" each month by running the get-petition-counts
script:
npx ts-node shared/admin-tools/elasticsearch/get-petition-counts.js 2023
Updated UX notes after a convo with Jason and Zach. Changes include adding pagination, re-ordering the optional input fields and keeping the primary btn enabled.
@cholly75 @ttlenard
In order to not allow end dates in the future we will not be adding new validation rules but constraining the picker to disable any dates in the future.
We are aware of and working on a bug where the app crashes when navigating to high-numbered pages. We have identified the cause of the problem and will be fixing it before completing.
Discussion today with Chris, Jim and mob on how to handle ES constraints of displaying more than 20,000 results. Decision is to modify the pagination component to only include the current page and "Previous" and/or "Next". Also need to display the pagination below the table.
This story will require a migration to expose some fields on cases that are not currently queryable.
Implementation of the Consolidated Icon was not included in this story but will be picked up in the next one.
Doing a search w/ 918 results and paging through the results list (search cases from 6/1/2021 - 6/4/2021, no other filters)
Pages 5 and 10 are blank, all other surrounding pages contain expected results:
Additional Info:
Modifying the query to only select paper filings in this range also produces these results, but on different pages (presumably due to the new result count):
Modiying the query in that range for only electronic results does not produce this behavior.
CC: @jasonfu9966 @zRogersFlexion
All other testing passes! Sending this back to In Progress to address/discover root cause of issue mentioned above.
re: the last message with the pagination bug:
we have identified the issue and have solutioned a fix for it, and are working on updating tests before redeploying. great catch!
Fixed the issue which was caused by paginating through results with the exact same date of creation. Fix has been deployed to test.
As a court employee, so that I can understand our case data, I need to be able to run reports on cases in DAWSON using multiple criteria.
There are many situations in which the Court requests data around the case inventory in DAWSON that are ad hoc, one-time requests that cannot be satisfied using the current reports available in DAWSON. To begin facilitating self-service for these users and enable better visibility into Court data, we want to provide users with a way to query DAWSON's case inventory using a variety of criteria associated with the case.
Pre-Conditions
Acceptance Criteria
Feature is accessible to any internal court user regardless of role
User can enter one or more criteria to search DAWSON and return a list of cases that match the criteria selected
Criteria available for selection:
Results list should display a count of total number of results matching criteria input
Results list should indicate what criteria were used to generate the results listed
Results list should be sorted in ascending order by Case creation date as default
Results list should display the following for each result returned:
Notes
Tasks
Add validation for all properties of a getcustomcaseReportRequestRemovevalidateCustomCaseInventorySearchFiltersInteractor
in place of the entity itselfConfirm with UX if end date cannot be in the futureConsolidate our use of validation rules for date range stuff.add better types on shared/src/persistence/elasticsearch/getCasesByFilters.tsremove pagination buttons when only one page of results is displayedadd maxEndDate being today for the DateRangePicker.tsxResetinitialCustomCaseInventoryReportState
state when the user leaves the page.What is the difference betweencreatedAt
andreceivedAt
and what should we be using for the query? (question for court).Test/load cases past 20,000add integration testingadd pa11y testchange onChange behavior so that unfocusing the date fields is not required to click the "run report" buttonQuestions
Test Cases
Story Definition of Ready (Created on 9/26/21)
The following criteria must be met in order for the user story to be picked up by the Flexion development team. The user story must:
Process: Flexion developers and designers will test if the story meets acceptance criteria and test cases in Flexion dev and staging environments (“standard testing”). If additional acceptance criteria or testing scenarios are discovered while the story is in progress, a new story should be created, added to the backlog and prioritized by the product owner.
Definition of Done (Updated 5-19-22)
Product Owner
UX
Engineering
test
environment if prod-like data is required. Otherwise deployed to anyexperimental
environment.staging
environment.