Skip to content

JASPER-548: Additional updates to Document Categories#492

Merged
ronaldo-macapobre merged 5 commits intomasterfrom
feature/JASPER-548
Sep 8, 2025
Merged

JASPER-548: Additional updates to Document Categories#492
ronaldo-macapobre merged 5 commits intomasterfrom
feature/JASPER-548

Conversation

@ronaldo-macapobre
Copy link
Contributor

Pull Request for JIRA Ticket: JASPER-548

Issue ticket number and link

https://jira.justice.gov.bc.ca/browse/JASPER-548

Description

  1. Rename CSR to Court Summary in the frontend (in real time) because there are other components that relies on CRS string. So changing it in the backend may present weird behaviors.
  2. Add Scheduled category for those documents that have nextAppearanceDt.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Local

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screen Shots

JASPER-548-Categories-Dropdown JASPER-548-Scheduled-Docs

Ronaldo Macapobre added 4 commits September 4, 2025 15:53
…ypes

- Update category names to start with capital letter and remaining characters in lower case
- Show Document Type in Scheduled Documents under Court List page
- Use issueDsc instead of issueTypeDesc to show the more appropriate value
- Fix bug when deleting documents from binder
- Programatically rename CSR to Court Summary
@ronaldo-macapobre ronaldo-macapobre self-assigned this Sep 8, 2025
@ronaldo-macapobre ronaldo-macapobre added enhancement New feature or request javascript Pull requests that update Javascript code labels Sep 8, 2025
: props.documents.filter((doc) => doc.category === category).length;

const categoryTitle = (category: string): string =>
category === CSR_CATEGORY ? CSR_CATEGORY_DESC : category;
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to force lowercase here as well for the comparison?

Copy link
Contributor Author

@ronaldo-macapobre ronaldo-macapobre Sep 8, 2025

Choose a reason for hiding this comment

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

Yes, I think it is necessary to be safe and consistent. I will push a quick fix on this.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 8, 2025

@ronaldo-macapobre ronaldo-macapobre merged commit 9ff3a65 into master Sep 8, 2025
8 checks passed
@ronaldo-macapobre ronaldo-macapobre deleted the feature/JASPER-548 branch December 3, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants