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

chore(j-s): extract formatter to apply dative case to court names #17470

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

Conversation

thorhildurt
Copy link
Member

@thorhildurt thorhildurt commented Jan 10, 2025

Fallbeyging dómstóls í tölvupósti

What

  • Fixing dative case to court name in notification type where it was not applied
  • Create a new formatting function to centralise the case for all court names
  • Only using new function to fix mentioned bug and apply it in two other related places. Then we have a follow up to clean this logic up in other files here as well 👌

Why

  • We apply case in emails for court names and it needs to be consistent
  • Instead of applying case directly for every court name, we extract the current logic and use that function to apply the case

Screenshots / Gifs

Attach Screenshots / Gifs to help reviewers understand the scope of the pull request

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Formatting passes locally with my changes
  • I have rebased against main before asking for a review

Summary by CodeRabbit

Release Notes

  • New Features

    • Enhanced court name formatting for notifications.
    • Added support for converting court names to dative case in Icelandic.
  • Improvements

    • Improved error handling in notification services.
    • More robust court name processing in email notifications.
  • Technical Updates

    • Introduced a new utility function for court name transformations.
    • Added comprehensive test cases for court name formatting.

Copy link
Contributor

coderabbitai bot commented Jan 10, 2025

Warning

There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.

🔧 eslint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

warning [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning eslint > @humanwhocodes/[email protected]: Use @eslint/config-array instead
warning eslint > @humanwhocodes/config-array > @humanwhocodes/[email protected]: Use @eslint/object-schema instead
warning eslint > file-entry-cache > flat-cache > [email protected]: Rimraf versions prior to v4 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning jest > @jest/core > jest-config > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > jest-runtime > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/reporters > [email protected]: Glob versions prior to v9 are no longer supported
warning jest > @jest/core > @jest/transform > babel-plugin-istanbul > test-exclude > [email protected]: Glob versions prior to v9 are no longer supported
warning storybook > @storybook/cli > puppeteer-core > [email protected]: Rimraf versions prior to v4 are no longer supported
warning storybook > @storybook/cli > puppeteer-core > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning storybook > @storybook/cli > tempy > del > [email protected]: Rimraf versions prior to v4 are no longer supported
warning storybook > @storybook/cli > jscodeshift > temp > [email protected]: Rimraf versions prior to v4 are no longer supported
warning storybook > @storybook/cli > jscodeshift > temp > rimraf > [email protected]: Glob versions prior to v9 are no longer supported
warning storybook > @storybook/cli > jscodeshift > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning storybook > @storybook/cli > jscodeshift > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning storybook > @storybook/cli > jscodeshift > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native/codegen > [email protected]: Glob versions prior to v9 are no longer supported
warning react-native > @react-native/community-cli-plugin > [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-tools > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning react-native > @react-native/community-cli-plugin > @react-native/dev-middleware > @rnx-kit/chromium-edge-launcher > [email protected]: Rimraf versions prior to v4 are no longer supported
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
warning react-native > @react-native/community-cli-plugin > @react-native/metro-babel-transformer > @react-native/babel-preset > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning next-auth > [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning next-auth > [email protected]: this version is no longer supported
warning next-auth > @next-auth/typeorm-legacy-adapter > typeorm > [email protected]: Glob versions prior to v9 are no longer supported
warning @nx/next > @nx/webpack > stylus > [email protected]: Glob versions prior to v9 are no longer supported
warning @nx/next > @nx/webpack > webpack-dev-server > [email protected]: Rimraf versions prior to v4 are no longer supported
warning @nx/next > @nx/webpack > fork-ts-checker-webpack-plugin > [email protected]: this will be v4
warning @nx/next > @nx/webpack > webpack-dev-server > webpack-dev-middleware > [email protected]: this will be v4
warning workspace-aggregator-2f160507-591a-42ed-9ba5-0177e1983ba1 > [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.

Walkthrough

This pull request introduces a new utility function applyDativeCaseToCourtName in the judicial system's formatters module. The function is designed to transform court names into the Icelandic dative case by replacing 'dómur' with 'dómi'. The changes impact multiple files across the judicial system backend, specifically modifying how court names are processed in notification services for case and indictment notifications. The implementation includes error handling to prevent issues with null or undefined court names.

Changes

File Change Summary
apps/judicial-system/backend/.../caseNotification.service.ts Introduced applyDativeCaseToCourtName for court name formatting in email notifications.
apps/judicial-system/backend/.../indictmentCaseNotification.service.ts Implemented applyDativeCaseToCourtName for formatting court names in verdict info notifications.
libs/judicial-system/formatters/src/lib/formatters.ts Added new applyDativeCaseToCourtName utility function for court name transformation.
libs/judicial-system/formatters/src/lib/formatters.spec.ts Added test cases for the applyDativeCaseToCourtName function to validate its functionality.

Sequence Diagram

sequenceDiagram
    participant Notification Service
    participant Formatters
    participant Court Name

    Notification Service->>Formatters: applyDativeCaseToCourtName()
    Formatters->>Court Name: Transform to dative case
    Formatters-->>Notification Service: Formatted court name
Loading

Possibly related PRs

Suggested labels

automerge

Suggested reviewers

  • unakb
  • oddsson

📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 40786a7 and 66ee40e.

📒 Files selected for processing (2)
  • apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (3 hunks)
  • apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts
  • apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@datadog-island-is
Copy link

datadog-island-is bot commented Jan 10, 2025

Datadog Report

All test runs b36b29e 🔗

5 Total Test Services: 0 Failed, 5 Passed
🔻 Test Sessions change in coverage: 2 decreased, 1 increased (+0.08%), 3 no change

Test Services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Code Coverage Change Test Service View
judicial-system-api 0 0 0 61 0 5.4s 1 no change Link
judicial-system-backend 0 0 0 21135 0 18m 33.85s 1 no change Link
judicial-system-formatters 0 0 0 40 0 4.89s 1 increased (+0.08%) Link
judicial-system-web 0 0 0 343 0 56.77s 1 decreased (-0.01%) Link
judicial-system-xrd-api 0 0 0 6 0 4.8s 1 decreased (-0.19%) Link

🔻 Code Coverage Decreases vs Default Branch (2)

  • judicial-system-xrd-api - jest 74.68% (-0.19%) - Details
  • judicial-system-web - jest 32.44% (-0.01%) - Details

@thorhildurt thorhildurt marked this pull request as ready for review January 13, 2025 12:08
@thorhildurt thorhildurt requested a review from a team as a code owner January 13, 2025 12:08
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🔭 Outside diff range comments (1)
apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (1)

Direct string manipulation of court names is widespread across the codebase

The verification confirms multiple instances of .replace('dómur', 'dómi') in both frontend and backend code:

  • Frontend: In Indictment and CourtRecord components
  • Backend: In formatters.ts, indictmentCaseNotification.service.ts, and caseNotification.service.ts

Replacing all these instances with applyDativeCaseToCourtName would improve code consistency and maintainability.

🔗 Analysis chain

Line range hint 879-921: Consider replacing all direct string manipulations with the new formatter

There are still instances in the code where court names are transformed using direct string replacement (.replace('dómur', 'dómi')). Consider replacing all such occurrences with the new applyDativeCaseToCourtName function to ensure consistent formatting throughout the codebase.

Let's find other instances of direct string manipulation:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for direct string replacements of 'dómur' with 'dómi'
rg "\.replace\('dómur', 'dómi'\)" -A 2

Length of output: 8006

🧹 Nitpick comments (2)
libs/judicial-system/formatters/src/lib/formatters.ts (1)

468-475: Enhance the dative case formatter with validation and documentation

The function would benefit from input validation and documentation explaining the Icelandic grammar transformation.

-// þgf to dómur
-export const applyDativeCaseToCourtName = (courtName: string) => {
+/**
+ * Transforms a court name to its dative case form in Icelandic.
+ * Replaces 'dómur' with 'dómi' in court names.
+ * 
+ * @example
+ * applyDativeCaseToCourtName('Héraðsdómur Reykjavíkur') // returns 'Héraðsdómi Reykjavíkur'
+ * 
+ * @param courtName - The court name to transform
+ * @returns The court name in dative case
+ * @throws {Error} If courtName is null or undefined
+ */
+export const applyDativeCaseToCourtName = (courtName: string): string => {
+  if (!courtName) {
+    throw new Error('Court name cannot be null or undefined')
+  }
   const target = 'dómur'
   if (courtName.includes(target)) {
     return courtName?.replace(target, 'dómi')
   }
   return courtName
 }
libs/judicial-system/formatters/src/lib/formatters.spec.ts (1)

417-439: Add more test cases for comprehensive coverage

The current test suite should be expanded to cover edge cases and error conditions.

 describe('applyDativeCaseToCourtName', () => {
+  test('should throw error for null or undefined input', () => {
+    expect(() => applyDativeCaseToCourtName(undefined as unknown as string)).toThrow()
+    expect(() => applyDativeCaseToCourtName(null as unknown as string)).toThrow()
+  })
+
+  test('should handle empty string', () => {
+    expect(() => applyDativeCaseToCourtName('')).toThrow()
+  })
+
+  test('should handle multiple occurrences of "dómur"', () => {
+    expect(applyDativeCaseToCourtName('Héraðsdómur dómur')).toBe('Héraðsdómi dómi')
+  })
+
   test('should return dative case if court name contains "dómur"', () => {
     // Arrange
     const courtName = 'Héraðsdómur Reykjavíkur'
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between acfeb49 and b6a4cde.

📒 Files selected for processing (4)
  • apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (3 hunks)
  • apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts (2 hunks)
  • libs/judicial-system/formatters/src/lib/formatters.spec.ts (2 hunks)
  • libs/judicial-system/formatters/src/lib/formatters.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
libs/judicial-system/formatters/src/lib/formatters.ts (1)

Pattern libs/**/*: "Confirm that the code adheres to the following:

  • Reusability of components and hooks across different NextJS apps.
  • TypeScript usage for defining props and exporting types.
  • Effective tree-shaking and bundling practices."
apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
libs/judicial-system/formatters/src/lib/formatters.spec.ts (1)

Pattern libs/**/*: "Confirm that the code adheres to the following:

  • Reusability of components and hooks across different NextJS apps.
  • TypeScript usage for defining props and exporting types.
  • Effective tree-shaking and bundling practices."
apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: prepare
🔇 Additional comments (5)
apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts (2)

14-14: LGTM: Clean import addition

The import statement for the new formatter function is properly added.


108-110: LGTM: Robust implementation of court name formatting

The code correctly applies the dative case formatter with proper null checks using optional chaining and provides a fallback to an empty string.

apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (3)

28-28: LGTM: Clean import addition

The formatter function is properly added to the existing imports.


879-881: LGTM: Consistent implementation of court name formatting

The code correctly applies the dative case formatter with proper null checks and empty string fallback, maintaining consistency with other implementations.


919-921: LGTM: Consistent formatting across notification types

The dative case formatting is consistently applied across different notification types, maintaining uniform behavior.

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 35.66%. Comparing base (3849d14) to head (66ee40e).
Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
...vices/caseNotification/caseNotification.service.ts 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #17470      +/-   ##
==========================================
- Coverage   35.66%   35.66%   -0.01%     
==========================================
  Files        6977     6977              
  Lines      149788   149842      +54     
  Branches    42832    42855      +23     
==========================================
+ Hits        53424    53438      +14     
- Misses      96364    96404      +40     
Flag Coverage Δ
judicial-system-api 20.23% <ø> (ø)
judicial-system-backend 55.81% <77.77%> (-0.06%) ⬇️
judicial-system-formatters 78.62% <100.00%> (+0.10%) ⬆️
judicial-system-web 27.84% <20.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...Notification/indictmentCaseNotification.service.ts 93.22% <100.00%> (+0.11%) ⬆️
...s/judicial-system/formatters/src/lib/formatters.ts 71.61% <100.00%> (+0.63%) ⬆️
...vices/caseNotification/caseNotification.service.ts 79.34% <50.00%> (ø)

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3849d14...66ee40e. Read the comment docs.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (1)

Line range hint 879-924: Consider extracting the court name formatting logic.

While the current implementation is correct, there's some duplication in how court names are formatted across different notification types. Consider extracting this into a helper function within the service to maintain DRY principles.

+ private formatCourtNameForNotification(courtName?: string): string {
+   return applyDativeCaseToCourtName(courtName || "")
+ }

  private sendRulingEmailNotificationToProsecutor(
    theCase: Case,
  ): Promise<Recipient> {
    // ...
-            courtName: applyDativeCaseToCourtName(theCase.court?.name || ""),
+            courtName: this.formatCourtNameForNotification(theCase.court?.name),
    // ...
  }

  private async sendRulingEmailNotificationToDefender(
    // ...
-            courtName: applyDativeCaseToCourtName(theCase.court?.name || ""),
+            courtName: this.formatCourtNameForNotification(theCase.court?.name),
    // ...
  }
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d966d19 and 40786a7.

📒 Files selected for processing (2)
  • apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (3 hunks)
  • apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/judicial-system/backend/src/app/modules/notification/services/indictmentCaseNotification/indictmentCaseNotification.service.ts
🧰 Additional context used
📓 Path-based instructions (1)
apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
🔇 Additional comments (2)
apps/judicial-system/backend/src/app/modules/notification/services/caseNotification/caseNotification.service.ts (2)

Line range hint 879-883: LGTM! Consistent use of the dative case formatter.

The implementation correctly uses the new applyDativeCaseToCourtName function with a proper fallback for undefined court names, which aligns with the discussed pattern.


Line range hint 917-924: LGTM! Consistent implementation across notification types.

The same formatting pattern is correctly applied here, maintaining consistency in how court names are handled across different notification contexts.

@thorhildurt thorhildurt added the automerge Merge this PR as soon as all checks pass label Jan 15, 2025
@thorhildurt thorhildurt self-assigned this Jan 15, 2025
@thorhildurt thorhildurt removed the automerge Merge this PR as soon as all checks pass label Jan 15, 2025
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.

3 participants