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

feat(district): Clears docketNumber from localStorage #413

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ERosendo
Copy link
Contributor

@ERosendo ERosendo commented Feb 26, 2025

This PR fixes freelawproject/recap#392: docketNumber values causing errors after viewing district court reports. Unlike appellate court reports, district court reports lack a consistent source for docket numbers, making extraction unreliable. Therefore, this commit clears the docketNumber from localStorage when a district court report is loaded, ensuring clean state and preventing unintended use of outdated data.

This commit ensures that the docketNumber stored in localStorage is cleared when a user loads a district court report. This prevents potential issues where a stale docketNumber might be used on other pages or during subsequent validations.

This commit address  freelawproject/recap#392.
@ERosendo ERosendo added the no changelog Override Check Changelog Action. label Feb 26, 2025
@ERosendo ERosendo removed the no changelog Override Check Changelog Action. label Feb 26, 2025
@ERosendo ERosendo requested a review from mlissner February 26, 2025 22:51
Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh. Seems like a simple enough fix. Let's have Elisa give it a second look too.

@mlissner mlissner requested a review from elisa-a-v February 26, 2025 23:41
@mlissner mlissner assigned elisa-a-v and unassigned mlissner Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

Successfully merging this pull request may close these issues.

Extension using district case id when sending appellate docket report
3 participants