flexion / ef-cms

An Electronic Filing / Case Management System.
24 stars 10 forks source link

Judge/CA/ADC: Generate Response To Status Report #10102

Closed cholly75 closed 3 months ago

cholly75 commented 1 year ago

As a judge, ADC or chambers administrator, so that I can quickly issue orders in response to status reports, I need a mechanism to quickly generate these orders based on a few selections.

One of the most common orders issued by the Court is an order in response to a status report from the parties. Generally, these are orders that set a time frame for parties to submit either a stipulated decision or another status report on where their case is at in terms of progress/discussion of the issues or any directives issued by the Court. As these orders often share a few common elements in the text used, we would like a mechanism to facilitate generation of these types of orders in a fashion similar to that used with stamp disposition to ensure uniformity and provide a quick way to create these.

Pre-Conditions

Acceptance Criteria



Notes

SR_Template.pdf

Tasks

Test Cases

Story Definition of Ready (updated on 12/23/22)

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:

Definition of Done (Updated 5-19-22)

Product Owner

UX

Engineering

katiecissell commented 9 months ago

Pre-refinement questions:

katiecissell commented 8 months ago

UX Notes

Figma file

When a judge, ADC or chambers administrator views a status report they can see an option to "Order Response". Icon is "edit"

image.png

A Status Report Order Response page will appear. Options selected on the left should appear in the PDF preview on the right.

image.png

If it is the lead case in a consolidated group, additional options should appear at the top of the form and the docket numbers in the PDF preview respond according to which option is chosen (if needed). The default is all cases in this group.

image.png

Save draft does not enable until at least one option is chosen. Clear all will clear all selections. (and disable save draft until at least one option is chosen.) Example of options chosen:

image.png

If an order type is chosen and no due date selected, a validation alert should appear.

image.png

If an order type is chosen and the due date is improperly formatted, a validation alert should appear.

image.png

If case is stricken from trial session and no jurisdiction chosen then a validation alert should appear.

image.png

After the order is saved as a draft, it should behave like a typical order:

If the draft is saved, a green alert should appear (just like orders being saved).

image.png
ttlenard commented 8 months ago

Test Cases

1) Judge user previews a Status report from the docket record; New link is available at the top of the document preview pane that displays "Order Report"

Expected Results:

2) Judge user clicks on the Order report link from the Document Preview panel; a new page displays and is titled Status Order Report.

Expected Results:

3) Judge user clicks the Cancel link at the bottom of the left side; User is navigated back to the document preview panel, and they are back to viewing the Status Report document.

Expected Results:

4) Judge user clicks on Order Report link, selects Status Report radio button for Order type; Document preview displays Order text appropriately.

Expected Results:

5) Judge user clicks the Save as Draft button; Receives validation error.

Expected Results:

6) Judge user adds an invalid date in the Due date field, Clicks Save as draft; User receives validation error.

Expected Results:

7) Judge user adds in a valid date in the Due Date field; Clicks Save as Draft; Draft Order is added to the drafts folder.

Expected Results:

8) Judge user clicks the Edit link; User is navigated back to the Status Order Report page; data entered previously remains; User can make necessary edits.

Part 1

Expected Results:

Part 2

Expected Results:

Part 3 - Add in additional text in the Docket entry description text box

Expected Results: - [x] The text at the top of the Document preview next to "Docket entry preview" displays the description text that you just added.

Part 4

Expected Results:

9) Judge user adds a signature and saves the Order, Draft is saved appropriately

Expected Results:

10) Judge user creates an Order Report as in the previous test cases, Does not select Order type, selects Jurisdiction and also add additional Order Text to the order based off of options in the left panel.

Part 1

Expected Results:

Part 2

Expected Results:

Part 3

Expected Results

Part 4 - Add in the "Order title in the Docket entry description" text box

Expected Results: - [x] The text at the top of the Document preview next to "Docket entry preview" displays the description text that you just added.

Part 5

Expected Results:

Part 6

Expected Results:

Part 7

Expected Results:

Part7

Expected Results:

11) Judge user creates an Order Report and selects an Order type; User cannot select a Jurisdiction if the checkbox for Case is stricken from the trial session isn't selected.

Expected Results:

12) Judge user creates an Order Report and selects only additional order text; User is not required to select any radio button in the order type, check the checkbox or add in a jurisdiction.

Part 1

Expected Results

Part 2

Expected Results:

13) Judge user creates an Order Report as in the previous test cases, user can clear all selected/added data.

Expected Results:

14) Judge user creates an Order Report in a lead case in a consolidated group; Additional option is present at the top of the page to select a single case or all cases in the group.

Expected Results:

15) Judge user keeps the default option to issue the order in all cases in the group; Order Report works as per test cases above

Expected Results:

16) Judge user creates an Order Report in a member case in a consolidated group; There is NOT an option present at the top of the page to select a single case or all cases in the group.

Expected Results:

17) Judge user previews a Status report from a message; New link is available at the top of the document preview pane that displays "Order Report"

Expected Results:

18) Judge user can complete the Status Order Report from a message just as in test cases 1-16, but the draft order is also associated with the message attachment.

19) Repeat all of the test cases above as a Chambers user and an ADC user

Expected results:

20) Docket clerk adds an Order Report to the docket record, document is added and served as per normal Order.

Expected Results:

21) Other Regression tests

katiecissell commented 5 months ago

UX Update for preview:

cholly75 commented 5 months ago

Feedback from judges:

1) Formatting of separate clauses should be: indent first line beginning with "ORDERED", following lines should return to left margin as in the example PDF you sent (so, normal paragraph formatting).

2) Dates should have the following format in all cases where they've been generated/selected: "Month DD, YYYY" (essentially, spell out the month).

akuny commented 4 months ago

Notes after having worked through DoD checklist and test cases:

akuny commented 4 months ago

Regarding test case #3

Desired behavior: a user is navigated back to the previous screen - the document preview of the Status Report document - after hitting the "Cancel" button on the Status Report Order Response form.

Current behavior: Upon Editing an Order, when clicking cancel, it will return you to the previous page, but not the previous tab. I'd recommend making this a separate ask on another ticket if this is still desired.

cholly75 commented 4 months ago

UI typo: image.png

Please edit to "stricken" and "session" should be singular. Thanks!

cholly75 commented 4 months ago

Addl. typo to fix:

image.png
Mwindo commented 4 months ago

lease edit to "stricken" and "session" should be singular. Thanks!

Addl. typo to fix:

Just pushed these changes to our PR--thanks for catching these!

cholly75 commented 4 months ago

Feedback from Judge Review:

@pixywn @akuny @Mwindo - overall LOVED it. Especially impressed with the generated PDF! Items for change are listed below - hit me up if you want to talk through any/all.

  1. Change text here to "Order Report" ("Response" is a term of art here that implies different context): image.png

  2. Change page title to "Status Report Order" (same reason as above): image.png

  3. Remove this section entirely to simplify/streamline process: image.png Default title is simply "Order" for all orders generated via this workflow. Docket can customize docket entry description separately at the time of docketing.

  4. A la stamp dispositions - remove Edit link/capability for Docket clerks entirely for these orders, they will not be allowed to edit these orders. Note that the current edit behavior for judge/CA/ADC is exactly as desired (i.e., returning to the original UI).

  5. Request to investigate being able to grey out/make unselectable weekends/federal holidays in the calendar picker. Not a requirement, but a "nice to have" if possible.

Mwindo commented 4 months ago

@cholly75 Just to double-check: is the preferred nomenclature for this report in general then "Status Report Order?" Asking because if so, it would probably be good for us to rename some classes/files/etc. to avoid future developer confusion (e.g., "The title on the page says Status Report Order, but the entity is called statusReportOrderResponse").

cholly75 commented 4 months ago

@Mwindo Yes sir!

ttlenard commented 3 months ago

@akuny @pixiwyn @mwindo

Some preliminary testing feedback.

1 - If you draft up a Status Report Order, and then go back and edit it, the Clear Fields link does not work.

2 - When a Status Report is attached to a message, and the Judge clicks on the link to create the Order Report, after they save it/sign it, the Order report is not attached to the message thread. When they reply to the message, they have to then manually attach it to the message thread. See test case 18. The Order report draft should be attached to the message thread, so the user doesn't have to go find it to attach it (We automatically attach Stamp orders to message threads, this workflow would be a good comparison.)

ttlenard commented 3 months ago

@akuny @pixiwyn @ttlenard

Just spoke with the Judges, and they have a text update if possible:

1 - Remove "in this case" for any Order Report that is not filing in all cases in the group. This would be for the generic Order report, and when "Just this case" is selected from the lead case in a group.

image.png

2 - Re-word the text in the Order when the "all cases in this group" is selected:

image.png