Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing currencies #7441

Merged
merged 7 commits into from
Oct 5, 2024
Merged

Conversation

BOHEUS
Copy link
Contributor

@BOHEUS BOHEUS commented Oct 4, 2024

Related to #7038

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This pull request significantly expands the currency support in the application, addressing issue #7038 by adding a comprehensive list of world currencies.

  • Added 153 currency codes to the CurrencyCode enum in packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
  • Expanded SETTINGS_FIELD_CURRENCY_CODES in packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts with new currency codes, labels, and icons
  • Introduced numerous new currency icons in packages/twenty-ui/src/display/icon/components/TablerIcons.ts
  • Corrected existing currency representations, such as updating the Thai Baht code from 'BHT' to 'THB'

3 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

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

Thanks @BOHEUS
I'm back to code review after spending a lot of time on the tests :)

Left a few comments!

@BOHEUS
Copy link
Contributor Author

BOHEUS commented Oct 5, 2024

@charlesBochet I've answered your comments, please take a look in free time

@charlesBochet
Copy link
Member

@BOHEUS TY, I have answered :)

@BOHEUS
Copy link
Contributor Author

BOHEUS commented Oct 5, 2024

@charlesBochet done

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @BOHEUS as always!

@charlesBochet charlesBochet merged commit e55bb3e into twentyhq:main Oct 5, 2024
11 checks passed
Copy link

github-actions bot commented Oct 5, 2024

Thanks @BOHEUS for your contribution!
This marks your 7th PR on the repo. You're top 4% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

@charlesBochet
Copy link
Member

/award 150

Copy link

oss-gg bot commented Oct 5, 2024

Awarding BOHEUS: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/BOHEUS

@BOHEUS BOHEUS deleted the #7038-add-currencies branch October 6, 2024 18:34
harshit078 pushed a commit to harshit078/twenty that referenced this pull request Oct 14, 2024
Related to twentyhq#7038

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants