Skip to content

WEB-902 Page title for loan accounts displays generic general instead of loan account details - #3465

Merged
IOhacker merged 1 commit into
openMF:devfrom
JaySoni1:WEB-902-page-title-for-loan-accounts-displays-generic-general-instead-of-loan-account-details
Apr 6, 2026
Merged

WEB-902 Page title for loan accounts displays generic general instead of loan account details#3465
IOhacker merged 1 commit into
openMF:devfrom
JaySoni1:WEB-902-page-title-for-loan-accounts-displays-generic-general-instead-of-loan-account-details

Conversation

@JaySoni1

@JaySoni1 JaySoni1 commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Changes Made :-

-Updates the route configuration in loans-routing.module.ts for the general tab, changing the title data property from 'General' to 'Loan Account Details'.
-Injects the new translation mapping for "Loan Account Details" into en-US.json and all 12 supported non-English locale JSON files.

WEB-902

Before :-
image

After :-
image

Summary by CodeRabbit

  • New Features

    • Updated loan account tab label to "Loan Account Details".
  • Documentation

    • Added translations for the new label across 13 supported languages (Czech, German, English, Chilean Spanish, Mexican Spanish, French, Italian, Korean, Lithuanian, Latvian, Nepali, Portuguese, Swahili).

@coderabbitai

coderabbitai Bot commented Apr 5, 2026

Copy link
Copy Markdown

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'pre_merge_checks'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1e55915e-a3c6-4361-b072-464f0840d28d

📥 Commits

Reviewing files that changed from the base of the PR and between 53e36ba and d590461.

📒 Files selected for processing (14)
  • src/app/loans/loans-routing.module.ts
  • src/assets/translations/cs-CS.json
  • src/assets/translations/de-DE.json
  • src/assets/translations/en-US.json
  • src/assets/translations/es-CL.json
  • src/assets/translations/es-MX.json
  • src/assets/translations/fr-FR.json
  • src/assets/translations/it-IT.json
  • src/assets/translations/ko-KO.json
  • src/assets/translations/lt-LT.json
  • src/assets/translations/lv-LV.json
  • src/assets/translations/ne-NE.json
  • src/assets/translations/pt-PT.json
  • src/assets/translations/sw-SW.json
✅ Files skipped from review due to trivial changes (13)
  • src/app/loans/loans-routing.module.ts
  • src/assets/translations/es-CL.json
  • src/assets/translations/ne-NE.json
  • src/assets/translations/pt-PT.json
  • src/assets/translations/it-IT.json
  • src/assets/translations/es-MX.json
  • src/assets/translations/de-DE.json
  • src/assets/translations/sw-SW.json
  • src/assets/translations/en-US.json
  • src/assets/translations/lv-LV.json
  • src/assets/translations/lt-LT.json
  • src/assets/translations/fr-FR.json
  • src/assets/translations/cs-CS.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/assets/translations/ko-KO.json

Walkthrough

Route metadata changed: the general child route under :loanId now has data.title set to "Loan Account Details". Added corresponding translation entries for that label across multiple locale JSON files.

Changes

Cohort / File(s) Summary
Routing Module Update
src/app/loans/loans-routing.module.ts
Updated child route :loanId -> general data.title from "General" to "Loan Account Details"; breadcrumb and routeParamBreadcrumb unchanged.
Translation Files
src/assets/translations/cs-CS.json, src/assets/translations/de-DE.json, src/assets/translations/en-US.json, src/assets/translations/es-CL.json, src/assets/translations/es-MX.json, src/assets/translations/fr-FR.json, src/assets/translations/it-IT.json, src/assets/translations/ko-KO.json, src/assets/translations/lt-LT.json, src/assets/translations/lv-LV.json, src/assets/translations/ne-NE.json, src/assets/translations/pt-PT.json, src/assets/translations/sw-SW.json
Added translation key "Loan Account Details" with localized values in each file; no other keys modified.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • IOhacker
  • alberto-art3ch
  • gkbishnoi07
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: updating the loan account page title from a generic 'General' to 'Loan Account Details' across routing and all supported locales.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/assets/translations/es-CL.json`:
- Line 3406: Update the translation value for the key "Loan Account Details" to
use the project-consistent Spanish term "Crédito" instead of "préstamo" (e.g.,
change "Detalles de la cuenta de préstamo" to "Detalles de la cuenta de Crédito"
or to the established casing used elsewhere) so the UI wording matches other
translations that use "Crédito".

In `@src/assets/translations/it-IT.json`:
- Line 3403: Replace the value for the translation key "Loan Account Details" so
it uses the standard Italian phrasing used elsewhere ("conto di prestito");
update the JSON entry for the "Loan Account Details" key from "Dettagli del
conto prestito" to "Dettagli del conto di prestito" to match existing locale
terminology and keep UI copy consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f81db5b1-f495-497f-b289-200cf5b147c8

📥 Commits

Reviewing files that changed from the base of the PR and between aad6742 and 53e36ba.

📒 Files selected for processing (14)
  • src/app/loans/loans-routing.module.ts
  • src/assets/translations/cs-CS.json
  • src/assets/translations/de-DE.json
  • src/assets/translations/en-US.json
  • src/assets/translations/es-CL.json
  • src/assets/translations/es-MX.json
  • src/assets/translations/fr-FR.json
  • src/assets/translations/it-IT.json
  • src/assets/translations/ko-KO.json
  • src/assets/translations/lt-LT.json
  • src/assets/translations/lv-LV.json
  • src/assets/translations/ne-NE.json
  • src/assets/translations/pt-PT.json
  • src/assets/translations/sw-SW.json

Comment thread src/assets/translations/es-CL.json Outdated
Comment thread src/assets/translations/it-IT.json Outdated
@JaySoni1
JaySoni1 force-pushed the WEB-902-page-title-for-loan-accounts-displays-generic-general-instead-of-loan-account-details branch from 53e36ba to d590461 Compare April 5, 2026 01:11
path: 'general',
component: GeneralTabComponent,
data: { title: 'General', breadcrumb: 'General', routeParamBreadcrumb: false },
data: { title: 'Loan Account Details', breadcrumb: 'General', routeParamBreadcrumb: false },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

while the page title is now updated, will the breadcrumb still display 'General'?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@devvaansh On the Client page, the breadcrumb will display “General,” while on the Loan Account page, the browser tab will show “Loan Account Details.”

@devvaansh devvaansh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great work on the translations and title update. One quick observation

@IOhacker IOhacker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@IOhacker
IOhacker merged commit d0ae847 into openMF:dev Apr 6, 2026
6 checks passed
@JaySoni1

JaySoni1 commented Apr 6, 2026

Copy link
Copy Markdown
Contributor Author

@IOhacker Thank You for the review

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