Skip to content

Find filing types within a confirmed existing case - #309

Merged
nonprofittechy merged 7 commits into
mainfrom
ux/06-filing-type-finder
Oct 10, 2026
Merged

nonprofittechy merged 7 commits into
mainfrom
ux/06-filing-type-finder

Conversation

@nonprofittechy

Copy link
Copy Markdown
Member

Change

Existing-case filers can search only the subsequent filing types allowed for their confirmed court/category/type. Each document keeps the ordinary dropdown alongside a dedicated finder, and the post-confirmation checklist links directly to it. The server derives choices from the named draft, checks the case fingerprint, and revalidates each selected type before saving; stale and incompatible selections are rejected.

Part 6 of the core stack for #300. Depends on #308; base: ux/05-massachusetts-inference. Provisional AI suggestions follow in the next PR.

Validation

Focused tests cover verified identity, subsequent-only requests, stale/incompatible rejection, and authoritative labels. All 90 JavaScript tests, the full Python suite, and pre-push checks passed.

nonprofittechy and others added 5 commits October 9, 2026 21:01
An empty choice on an existing case was reported as not available for the
confirmed case instead of naming the document that still needs a type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every Organize save fetched the case's filing types from EFSP while holding
the draft's row lock, so a slow response (up to the 30 second timeout)
blocked other writes to the draft. The fetch now happens first, and the
case fingerprint is checked again under the lock. The filing-types
endpoint no longer returns a fingerprint the page never read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nonprofittechy
nonprofittechy marked this pull request as ready for review October 10, 2026 02:42
Base automatically changed from ux/05-massachusetts-inference to main October 10, 2026 03:17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nonprofittechy
nonprofittechy merged commit f158396 into main Oct 10, 2026
8 of 9 checks passed
@nonprofittechy
nonprofittechy deleted the ux/06-filing-type-finder branch October 10, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant