Incorrect page title in Know Your Patient (KYP) page
Overview
Fixes incorrect page title displayed in the Know Your Patient (KYP) page. The UI was showing "Page Title" instead of the expected "Know Your Patient".
What does this MR do and why?
- The issue was caused by an incorrect translation value for
patient:kyp.pageTitle - The UI fallback was not being used because a wrong value existed in the i18n file
- This MR ensures the correct title "Know Your Patient" is displayed
- Improves UI consistency and correctness
Changes Made
- Updated translation value for
patient:kyp.pageTitle - Ensured correct title rendering in KYP page header
- No changes made to logic, API, or functionality
Technical Details
- Root cause: Incorrect value in i18n translation file ("Page Title")
- Fix: Updated translation key value to "Know Your Patient"
- No impact on state management or component logic
Type of Change
-
🐛 Bug fix (non-breaking change that fixes an issue) -
✨ New feature -
💥 Breaking change -
📝 Documentation update -
🎨 UI/UX improvement -
♻ ️ Refactor -
⚡ Performance improvement -
🧪 Test update -
🔧 Configuration change -
🚨 Security fix
Related Issues / References
Closes #256 (closed)
Screenshots or Screen Recordings
Before: Shows "Page Title"
After: Shows "Know Your Patient"

How to Set Up and Validate Locally
- Checkout this branch
- Run:
bun install
bun dev - Navigate to Volunteer Dashboard
- Click on "Know Your Patient"
- Verify the page title displays correctly
Testing Done
-
Manual testing completed -
Unit tests added
Test Cases:
- Open KYP page → Title should be "Know Your Patient" → PASS
- Navigation flow → Other pages unaffected → PASS
Code Quality Checklist
-
Code follows project conventions -
No console.log or debug statements -
No unused code -
No duplicate code -
i18n check passed -
ESLint and Prettier passed
Documentation
-
CHANGELOG.md updated
Additional Notes
- This is a UI-only fix
- No functional or behavioral changes
- Safe and low-risk change
Edited by Damanagari Sathwika