Repository navigation
feat: unit tests for currency converter and i18n translation keys for governance, KYC, and referral dashboard - #1530
Merged
nanaf6203-bit merged 1 commit intoNov 24, 2026
Conversation
… governance, KYC, and referral dashboard Closes MettaChain#1452 Closes MettaChain#1386 Closes MettaChain#1388 Closes MettaChain#1390
|
@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! 🚀 |
nanaf6203-bit
approved these changes
Nov 24, 2026
nanaf6203-bit
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me — nice work. Thanks!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves all issues assigned to @JudeDaniel6.
Changes
ui-extensions/tests/currencyConverter.test.ts— Full unit-test suite for the currency conversion utility (convert/getRatesinpropertyMath.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