Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10419 story intermediate branch to test 1739392455 #5770

Draft
wants to merge 170 commits into
base: test
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
950dfec
10419: begin stubbing out state for minute sheet form
akuny Nov 22, 2024
e236547
10419: WIP form state typing cont'd
En-8 Nov 22, 2024
a0c55ad
10419: WIP form state typing cont'd
En-8 Nov 25, 2024
0fef3c3
10419: WIP separate form state type from initial state
En-8 Nov 25, 2024
5367ac6
10419: round out minute sheet form state types
En-8 Nov 25, 2024
2304fab
10419: Wire up new front end route + page, stub out form sections
En-8 Nov 25, 2024
6d754fa
10419: WIP working on session metadata of form, wiring state
En-8 Nov 26, 2024
1c97425
10419: Finish wiring up TrialSessionMetadata form section to form state
En-8 Nov 26, 2024
566dda8
10419: WIP start on case metadata form section
En-8 Nov 26, 2024
828303a
10419: first-pass layout of case metadata fieldset
En-8 Nov 27, 2024
9d9ba81
10419: styling tweaks
En-8 Dec 2, 2024
f8f8d4a
10419-story: WIP on case metadata form
akuny Dec 2, 2024
58eb4ba
10419: wire up caseMetada form fieldset
En-8 Dec 2, 2024
b1f5c18
10419: WIP skeleton of petitioners and respondents fieldsets
En-8 Dec 2, 2024
5b7b96f
DevEx: add fix for docker compose invocation
JayFlexy Nov 29, 2024
f946d1c
10419: WIP Petitioners section add rows
En-8 Dec 3, 2024
839f811
Merge branch '10419-story' of github.com:flexion/ef-cms into 10419-story
En-8 Dec 3, 2024
3a43fa2
10419: WIP build out petitioners section
akuny Dec 3, 2024
8e2095b
10419: add role input el for petitioner(s) section of the minute shee…
akuny Dec 4, 2024
cd19d84
10419: work on generic means of adding and removing rows from section…
akuny Dec 4, 2024
ee47303
10419: Rework multi-row data structures, generify actions & sequences…
akuny Dec 5, 2024
d2303e4
10419: Derive generic handler types, work on naming conventions
akuny Dec 5, 2024
28ca60a
10419: make proof-of-concept component to dynamically render the appr…
akuny Dec 5, 2024
fa95bac
10419: Establish pattern for brief type subform selection
akuny Dec 6, 2024
39fd066
10419: build out second brief details fieldset component and wire up …
akuny Dec 6, 2024
6cade4e
10419: create and hook up additional brief forms
akuny Dec 6, 2024
39fd92b
10419: jurisdiction retained fieldset
En-8 Dec 9, 2024
eaa2400
Merge branch '10419-story-brief-details' into 10419-story
akuny Dec 9, 2024
85be096
10419: refine styling of buttons on minute sheet form
En-8 Dec 9, 2024
6630ad2
10419: Orders fieldset
En-8 Dec 9, 2024
1dfb919
10419: add inputs to trial brief section
akuny Dec 9, 2024
c58ffd5
10419: first pass at petitioner witness section
akuny Dec 10, 2024
2166b35
10419: factor out generic WitnessFieldset component
akuny Dec 10, 2024
baa2109
10419: add exhibits section of minute sheet form
akuny Dec 10, 2024
1778482
10419: tweak label for brief type dropdown
akuny Dec 10, 2024
362de65
10419: adjust styling of brief details section
akuny Dec 10, 2024
f61d87c
10293: adjust formatting of SeriatimFieldset component
akuny Dec 10, 2024
5001ac0
10419: motions fieldset
En-8 Dec 10, 2024
d642797
10419: continue toadjust formatting
akuny Dec 10, 2024
2a3d65a
10419: actionsAndFilings section
En-8 Dec 10, 2024
5009ccf
10419: Merge branch '10419-form-expansion' into 10419-story
akuny Dec 11, 2024
43dc862
10419: prepopulate party rows with names
akuny Dec 11, 2024
bdc44f4
10419: Properly prepopulate petitioner role based on contact type and…
akuny Dec 11, 2024
7286a95
10419: prepopulate actions and filingd with pending items on the minu…
En-8 Dec 12, 2024
71c750d
10419: correctly display actions and filings that are on docket record
En-8 Dec 12, 2024
55357c9
10419: add logic to show minutes sheet form link for open cases on tr…
akuny Dec 13, 2024
338ddb7
10419: fix row leak
akuny Dec 13, 2024
1b94bee
Merge remote-tracking branch 'USTC/staging' into 10419-story
akuny Dec 16, 2024
28bd89d
10419: WIP: begin work on PDF generation of minutes sheet
akuny Dec 16, 2024
f7198b6
10419: continue setting up pdf button
akuny Dec 16, 2024
3042fa0
10419: MinutesSheet to MinuteSheet
En-8 Dec 17, 2024
9e9bcd1
10419: Standardize on '...Section' naming convention for form sections
En-8 Dec 17, 2024
15b4e35
10419: Section miss
En-8 Dec 17, 2024
c0ede32
10419: WIP: stub out fetch from persistence
En-8 Dec 17, 2024
a12de8c
10419: starting on autosave when there are changes
En-8 Dec 17, 2024
cef5f27
10419: work out autosave logic
akuny Dec 17, 2024
9ff2831
10419: WIP: continue setting up minute sheet persistence
akuny Dec 17, 2024
bd38900
10419: WIP: persistence wiring
akuny Dec 18, 2024
bc84b8e
10419: WIP continue building out basic persistence
En-8 Dec 18, 2024
dc74ed9
10419: Change multi-date inputs to plain text for now
En-8 Dec 20, 2024
0eb810f
10419: update DateSelector component to format dates on demand
En-8 Dec 20, 2024
0cb9eb7
10419: styling adjustments to text date inputs
En-8 Dec 20, 2024
0a844f4
10419-story: WIP: PDF formatting
akuny Dec 23, 2024
49dad57
Merge branch '10419-story' of https://github.com/flexion/ef-cms into …
akuny Dec 23, 2024
736496f
10419: WIP additional data in PDF
En-8 Dec 23, 2024
d72eaec
10419: WIP: continue with populating and formatting PDF data
En-8 Dec 24, 2024
706f825
10419: populate remainder of PDF data, no style
En-8 Jan 2, 2025
d869f8c
10419: Apply consistent formatting patterns.
En-8 Jan 3, 2025
c88462e
wip: some visual polish for pdf
JayFlexy Jan 7, 2025
462d25a
10419: continue styling printed minute sheet pdf
En-8 Jan 7, 2025
546d8cc
10419: adjust formatting of todos for easier reference
akuny Jan 8, 2025
166a43c
10419: wip case creation automation
JayFlexy Jan 8, 2025
563ee71
10419: bring back response sanitization
En-8 Jan 9, 2025
c3d4205
Merge branch '10419-story' of github.com:flexion/ef-cms into 10419-story
En-8 Jan 9, 2025
00e9fc8
10419: pdf polish
En-8 Jan 9, 2025
2e0f900
10419: More PDF polish
En-8 Jan 9, 2025
64ee2b5
10419: factor out PDF formatting functions and add unit test coverage
En-8 Jan 10, 2025
9fefc35
10419: fix type issues in PDF formatting and UI state
En-8 Jan 10, 2025
4babb21
10419: Additional formatting factoring and unit tests
En-8 Jan 13, 2025
b34842b
wip: troubleshooting loginAsDocketClerk1 causing
JayFlexy Jan 13, 2025
ad445e5
10419: some PDF style tweaks and cleanup
En-8 Jan 14, 2025
13de9cc
10419: add authorization checks
En-8 Jan 14, 2025
ec9f762
10419 track TODO for PDF styling
En-8 Jan 14, 2025
bed1086
bug-fix: use absolute paths for podmon-compose
JayFlexy Jan 14, 2025
d7ca26c
10419: set up basic postgres persistence of minute sheet
En-8 Jan 14, 2025
4342e96
Merge branch '10419-story' of github.com:flexion/ef-cms into 10419-story
En-8 Jan 15, 2025
53dfc7f
10419: fix 'undefined' showing up in PDF for petitioner and responden…
En-8 Jan 15, 2025
39b7c01
10419: attach minutes to case as draft document on generation
En-8 Jan 16, 2025
84bd026
10419: clear all minute sheet form state before loading a new minute …
En-8 Jan 16, 2025
c64ab8b
10419: Add trial clerk filter on button visibility
JayFlexy Jan 17, 2025
06bb1d3
Merge branch 'add-trialclerk-filter-on-button-visibility' into 10419-…
JayFlexy Jan 17, 2025
fc97fdf
10419: rm outdated comment
JayFlexy Jan 20, 2025
3af35b8
10419: fix calls to getFormattedTrialSessionDetails to include new ar…
akuny Jan 22, 2025
1798e80
10419: add judgeFullName to judge text input
akuny Jan 22, 2025
fb4fb94
10419: fix brief details section
En-8 Jan 23, 2025
792c4f4
10419: various user feedback items, todo list
En-8 Jan 24, 2025
00919f3
10419: add objection field to motions section
En-8 Jan 24, 2025
631f1a7
10419: add oral motion and objection to motion actions and filings
akuny Jan 24, 2025
a2c816b
10419: make judge a dropdown and display title as field label on pdf
En-8 Jan 24, 2025
84e6804
10419: separate continued into its own
JayFlexy Jan 24, 2025
000bbca
10419: switch role input to dropdown
akuny Jan 27, 2025
2a9f90e
Merge branch '10419-story-role-dropdown' into 10419-story
akuny Jan 27, 2025
86b96e4
10419: ensure oralMotion and objection are cleared when documentType …
akuny Jan 27, 2025
b48855a
10419: default docType order to court
akuny Jan 27, 2025
f8cbda8
10419-story: tweak formatting of checkboxes WIP
akuny Jan 27, 2025
300a1f3
10419-story: continue formatting of checkboxes
JayFlexy Jan 27, 2025
e15861a
10419: rearrange sort order of properties in constants
JayFlexy Jan 27, 2025
eb95e3b
10419: add min width to called section
JayFlexy Jan 27, 2025
34aebe6
10419: add select search filter for respondents (wip)
JayFlexy Jan 27, 2025
8d3c3a4
10419: allow user entry beyond option set for respondent search
En-8 Jan 28, 2025
b2c4b29
10419 track TODO for prefilling pending items
En-8 Jan 28, 2025
58121d0
10419-story: layout and labeling changes
akuny Jan 28, 2025
b75fd2a
10419: brute force min width
akuny Jan 28, 2025
a7f4618
10419 enhance test coverage of PDF generation formatting functions
En-8 Jan 28, 2025
b01b081
Merge branch '10419-story' of github.com:flexion/ef-cms into 10419-story
En-8 Jan 28, 2025
b66b0c3
10419: remove unneeded files
En-8 Jan 28, 2025
055ceda
10419: add low hanging fruit Action tests
En-8 Jan 29, 2025
05bdc57
10419: add tests for initializeTrialSessionMinuteSheetFormAction
En-8 Jan 29, 2025
8112dc3
10419: remove no-longer-used file
akuny Jan 29, 2025
fdf20f1
10419: remove console.log statements
akuny Jan 29, 2025
04bb812
10419: fix add row orde use json type in db
JayFlexy Jan 29, 2025
8709ad9
10419 additional Action test coverage
En-8 Jan 30, 2025
d01d7d1
10419: cleanup class order
akuny Jan 30, 2025
ba001ad
Merge branch '10419-story' of https://github.com/flexion/ef-cms into …
akuny Jan 30, 2025
3f3b527
10419: style finetuning
akuny Jan 30, 2025
c7b88bc
10419: start using entity constants
JayFlexy Jan 31, 2025
e4d9f1e
10419 overhaul prepopulation of actions and filings
En-8 Jan 31, 2025
c3f06f6
10419 Case link opens in new tab
En-8 Jan 31, 2025
9da114e
Merge branch 'staging' into 10419-story
En-8 Jan 31, 2025
88414a6
10419: type errors
En-8 Feb 3, 2025
ed10438
10419: add back application context, for now.
En-8 Feb 3, 2025
9b14b82
10419: add unit tests for getFormattedTrialSessionDetails
En-8 Feb 4, 2025
4510bd8
10419: AutoSaveHandler type definition and tests/rename for get judge…
akuny Feb 4, 2025
9b7e479
10419: remove logResults where it's not needed
akuny Feb 4, 2025
fd28693
10419: add comment explaining use of dangerouslySetInnerHTML
akuny Feb 4, 2025
6f16bac
Merge branch 'staging' into 10419-story
En-8 Feb 5, 2025
7a4f37c
10419: sanitize minute sheet form input
En-8 Feb 5, 2025
f2c0c5c
10419: add loading indicator to PDF generation
En-8 Feb 6, 2025
c6d1a6f
10419: more pre-test cleanup
En-8 Feb 6, 2025
7947fbd
10419: TODO
En-8 Feb 6, 2025
b0270bd
10419: cleanup naming for autosave action; remove renderkey reference…
En-8 Feb 7, 2025
518cf78
10419: WIP: promote minute sheet to entity
En-8 Feb 7, 2025
96ecc1e
10419: WIP: progress on MinuteSheet entity use
akuny Feb 7, 2025
62b4f74
10419: WIP: continue working on MinuteSheet entity transition
akuny Feb 7, 2025
2335b52
10419: finish adding MinuteSheet entity
akuny Feb 7, 2025
39e3173
10419: fix label styling for petitioners and respondents and remove '…
En-8 Feb 10, 2025
a4002c8
10419: WIP: consolidate logic for determining minute sheet eligibility
En-8 Feb 11, 2025
0710821
10419: use constant in updateTrialSessionMinutesFormAction
En-8 Feb 11, 2025
d61ab56
10419: test coverage
En-8 Feb 11, 2025
55e2c12
10419: add isNotice tests and misc cleanup
En-8 Feb 11, 2025
83b3c9d
10419: additional unit test coverage
En-8 Feb 11, 2025
b996ad3
10419: minute sheet pdf test
En-8 Feb 12, 2025
6f25aaf
10419: update TODO
En-8 Feb 12, 2025
52f5402
10419: accessibility tests and associated violation remediation
En-8 Feb 12, 2025
154da1b
Merge branch 'staging' into 10419-story
En-8 Feb 12, 2025
a12119c
Merge branch 'test' of https://github.com/ustaxcourt/ef-cms into 1041…
En-8 Feb 12, 2025
957b43d
10419: fix formatMinuteSheet unit tests
En-8 Feb 12, 2025
8dd58df
10419: fix more unit tests
En-8 Feb 13, 2025
a4663d2
10419: unit test autosaveTrialSessionMinuteSheet
En-8 Feb 13, 2025
8de67fa
10419: wip integration
JayFlexy Feb 7, 2025
a5879d9
10419: add clearEmptyRecalledRowsAction
JayFlexy Feb 7, 2025
d485006
10419: wip continue adding cypress tests for minute sheet
JayFlexy Feb 11, 2025
ad96228
10419: integration tests wip
JayFlexy Feb 12, 2025
1e4c0ac
10419: wip adding more integration tests
JayFlexy Feb 13, 2025
c8c1ec7
10419: add more tests, can now pick nested selectors
JayFlexy Feb 13, 2025
8f0f61e
10419: merge updates
JayFlexy Feb 13, 2025
0071da6
10419: working minute sheet cypress test
En-8 Feb 14, 2025
a97e328
10419: additional cypress test coverage
En-8 Feb 14, 2025
2d9d544
10419: update setExistingMinuteSheetFormAction test
akuny Feb 14, 2025
5fd4063
10419: type errors
En-8 Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions _10419.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 10419

## Remaining items
- DELETE THIS FILE
- Nate's review comments (basically done, just need to rename the migration file when ready)
- check all TODOs

- prose -> proSe in REPRESENTATIVE_TYPES


TODOs TOMaybes?
- (formatMinuteSheet.ts, line 253) 10419 TODO ask UX about whether or not to show a motion on the PDF if no type is selected

Questions:
- What is a "joint" filed by?

Do we test interactors?

---

Showing the minutes link

1. Trial session must be "calendared" (i.e. status !== new) --> this is currently an assumption
2. case must be open OR inactive, but was made so after trials session start date
3. Cases inactive prior to start date get no minutes link.
4. For consolidated groups, must be lead case
5. only show on 'Open' and 'Inactive' tabs -- never on 'All' (trial session details)
6. Case status must not be 'closed'

---


http://localhost:1234/trial-session-detail/959c4338-0fac-42eb-b0eb-d53b8d0195cc/case/101-20/minutes
5 changes: 5 additions & 0 deletions cypress/helpers/authentication/login-as-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ export function loginAsIrsSuperUser() {
cy.get('[data-testid="advanced-search-link"]').should('exist');
}

export function loginAsTrialClerk() {
login({ email: 'trialClerk1@example.com' });
cy.get('[data-testid="trial-session-link"]').should('exist');
}

// We created this new login function because our current login function was too generically
// waiting for the account menu button, resulting in visiting a route before the page was fully loaded.
// We need to deprecate usage of cy.login and have all tests login through helper functions so we properly await
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { checkA11y } from '../../../support/generalCommands/checkA11y';
import { loginAsTrialClerk } from '../../../../helpers/authentication/login-as-helpers';

describe('Trial Sessions Page - Petitions Clerk Accessibility', () => {
beforeEach(() => {
Cypress.session.clearCurrentSessionData();
});

it('should be free of a11y issues', () => {
loginAsTrialClerk();
cy.visit(
'/trial-session-detail/959c4338-0fac-42eb-b0eb-d53b8d0195cc/case/101-20/minutes',
);
cy.get('[data-testid="trial-session-minutes-page"]').should('exist');

checkA11y();
});
});
Loading
Loading