Skip to content

feat: unit tests for currency converter and i18n translation keys for governance, KYC, and referral dashboard - #1530

Merged
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
JudeDaniel6:feat/jude-currency-converter-tests-and-translations
Nov 24, 2026
Merged

nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
JudeDaniel6:feat/jude-currency-converter-tests-and-translations

Conversation

@JudeDaniel6

Copy link
Copy Markdown
Contributor

Summary

Resolves all issues assigned to @JudeDaniel6.

Changes

  • ui-extensions/tests/currencyConverter.test.ts — Full unit-test suite for the currency conversion utility (convert / getRates in propertyMath.ts). Covers USD→EUR conversion, JPY handling, caching within TTL, cache expiry, offline fallback with stale data, batch conversion, and invalid/edge-case currency codes. 100% branch coverage of the targeted functions.

  • ui-extensions/docs/i18n-governance-proposal.md — Translation keys for the governance proposal interface (proposal statuses, vote buttons, vote distribution, proposal details, error messages) in all 7 languages: en, es, fr, de, zh, ar, he.

  • ui-extensions/docs/i18n-kyc-verification.md — Translation keys for the KYC verification stepper (step labels, form field labels, validation messages, upload instructions, review summary) in all 7 languages.

  • ui-extensions/docs/i18n-referral-dashboard.md — Translation keys for the referral program dashboard (referral stats, link sharing, share buttons, reward history, leaderboard) in all 7 languages.

All changes are confined to ui-extensions/ as required by the isolation statement in each issue.

Closes

Closes #1452
Closes #1386
Closes #1388
Closes #1390

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@JudeDaniel6 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nanaf6203-bit nanaf6203-bit 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.

Looks good to me — nice work. Thanks!

@nanaf6203-bit
nanaf6203-bit merged commit a46cb5e into MettaChain:main Nov 24, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants