freelawproject / courtlistener

A fully-searchable and accessible archive of court data including growing repositories of opinions, oral arguments, judges, judicial financial records, and federal filings.
https://www.courtlistener.com
Other
552 stars 151 forks source link

UX: Add link to initial compaint to all RECAP search results #3798

Closed mlissner closed 3 months ago

mlissner commented 9 months ago

Maybe it's just me, but as I'm doing legal research, I do a query for something and I get back a bunch of cases I know nothing about. Wouldn't it be nice if there was a link to the initial complaint for each of the cases right in the search results?

This could be very easy from a technical side: Just add a link to:

https://cl.com/docket/{id}/1/{slug}/

From a UI perspective, we might want to try a few things. I'm not sure how to integrate this, but some sort of small button should do it.

mlissner commented 9 months ago

Before we build, it'd be great to have a little mock up, if you can, Alberto, but, again, no rush!

albertisfu commented 3 months ago

Ok, here some proposals so we can add the "Initial complaint" button to RECAP search results in the frontend:

Option 1: Screenshot 2024-08-13 at 2 33 37 p m

Option 2: Screenshot 2024-08-13 at 2 25 40 p m

Option 3: Screenshot 2024-08-13 at 2 32 46 p m

Regarding technical details I got some questions:

mlissner commented 3 months ago

Option 1 looks great, thanks.

If we don't have the docket entry, let's just not show anything. If we don't have the PDF, let's put a "Buy Initial Complaint" button instead. (Be careful with your queries not to pull the document text.)

For appellate cases that don't use docket entry numbers, we don't have any tricks, so let's just not show the button. Do we have an easy way to know which appellate courts use regular numbers and which don't?