twenty icon indicating copy to clipboard operation
twenty copied to clipboard

New object field - Step 2 - New field type: Currency

Open Bonapara opened this issue 2 years ago • 1 comments

Desired behavior

CleanShot 2023-11-02 at 18 21 35@2x

The Unit pick list should enable people to choose between:

  1. United States dollar (USD)
  2. Euro (EUR)
  3. Japanese yen (JPY)
  4. British pound (GBP)
  5. Canadian dollar (CAD)
  6. Swiss franc (CHF)
  7. Chinese yuan (CNY)
  8. Hong Kong dollar (HKD)

Do not implement the uniqueness & required features yet.

If there are any existing records with this field, display the value of the first non-empty field. Otherwise, the preview value should be $2.000. (without space between the $ and the number behind)

Figma

image

https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=13884-61375&mode=design&t=avVSH5fvDzQPdLL9-11

### Tasks
- [ ] https://github.com/twentyhq/twenty/issues/2346
- [ ] https://github.com/twentyhq/twenty/issues/2347

Bonapara avatar Nov 02 '23 17:11 Bonapara

We talked with @Bonapara and we realized that currency unit is at the field level. So design above for setting page is incorrect. And we will need a new design to change the unit at the field level

FelixMalfait avatar Feb 21 '24 15:02 FelixMalfait

Actually we discussed it again and we can keep "unit" but as a defaultValue for the field

FelixMalfait avatar Feb 21 '24 15:02 FelixMalfait

Replaced by https://github.com/twentyhq/twenty/issues/4122

Bonapara avatar Feb 21 '24 16:02 Bonapara