Conversation
📝 WalkthroughWalkthroughAdded Macedonian Denar (MKD) to currency datasets and enabled MKD for the North Macedonia region: Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
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 `@data/cleansed/currencies.json`:
- Around line 367-371: The MKD entry was added only to the generated cleansed
file and will be overwritten; instead add the Macedonian Denar object (with
"name":"Macedonian Denar", "iso_4217_3":"MKD", "number_decimals":2) into the
source file data/original/currencies.json so cleanse/cleanse.go (which uses
writeJson()) will include it on the next run; update the original JSON, validate
its syntax, and re-run the cleansing step rather than editing
data/cleansed/currencies.json directly.
In `@data/final/currencies.json`:
- Around line 695-703: The default_locale for the "Macedonian Denar" currency
object is incorrect: it currently uses "sk-MK" (Slovak) instead of the
Macedonian language code; update the default_locale value in the currency object
with "name": "Macedonian Denar" (and the same iso_4217_3 "MKD") from "sk-MK" to
"mk-MK" so formatting uses the correct locale.
🪄 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: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 5b684062-3652-424b-a1ae-922b961c605d
📒 Files selected for processing (2)
data/cleansed/currencies.jsondata/final/currencies.json
|
Should we update regions and countries for North Macedonia? It is still EUR there. |
I missed it there.... |
|
Hi @serguei-semikhatov , question:
Currently set as Thanks |
| ], | ||
| "currencies": [ | ||
| "EUR" | ||
| "EUR", "MKD" |
There was a problem hiding this comment.
@serguei-semikhatov , Do you mean you want me to drop EUR from being available to North Macedonia?
There was a problem hiding this comment.
Yes.
I don't see why would we keep EUR there if the currency for North Macedonia is MKD.
NOTE: MKD currency was already present in some other json file references like in
regionsfile.Summary by CodeRabbit