From eeecbabd4e70a2f34b86ae899bed9608c3cb04bd Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Fri, 18 Feb 2022 23:32:27 +0100 Subject: [PATCH 01/11] add section for new number format options --- design/specs/number-data-type.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index fae045b9c..fcf309187 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -9,9 +9,11 @@ dateCreated: 2021-07-23T20:02:57.303Z --- # Context + Number data types allow users to add numeric values in different formats. -# Prototype +## Prototype + > This prototype might be outdated due to global component updates. Please refer to the link under 'Setting Options' for an updated version of the shared components. {.is-warning} @@ -20,6 +22,7 @@ Number data types allow users to add numeric values in different formats. # User Experience ## Scenarios + ### User sets number data type options A user can access the data type configuration of a field through the column menu. Depending on which data type is selected, the content of the configuration panel will change. @@ -48,5 +51,19 @@ A user can set the number of groups or the size for each group. If the parameter We want to make sure users of all levels can understand and use the appropriate data types. Because the distinction between database types is sometimes not evident to beginner levels, we want to map them to more familiar categorizations. The design ensures that information will be available but prioritizes the user-friendly types in terms of visibility. ### Number type alignment + Number types should be aligned to the right for easier reading of numbers with decimals. +## Update + +### Currency Format for Number Types + +The number type, when set to decimal, can now be formatted to represent currency values. For this, users can add a currency symbol to the number, and set options like showing thousand separators or change the position of the currency symbol. + +Additionally, the user must be informed that this is a display option and as such lacks some specialized functionality provided by the currency data type. + +#### Format Options + +- Select Symbol +- Symbol position +- Thousand Separator From 9a466370f045f1b820a72c102ef77fddab113adf Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Mon, 21 Feb 2022 18:27:04 +0100 Subject: [PATCH 02/11] update details --- design/specs/number-data-type.md | 43 +++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index fcf309187..2e167218d 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -10,7 +10,7 @@ dateCreated: 2021-07-23T20:02:57.303Z # Context -Number data types allow users to add numeric values in different formats. +Number data types allow users to add numeric values in different formats. ## Prototype @@ -24,46 +24,65 @@ Number data types allow users to add numeric values in different formats. ## Scenarios ### User sets number data type options -A user can access the data type configuration of a field through the column menu. Depending on which data type is selected, the content of the configuration panel will change. + +A user can access the data type configuration of a table field via the column menu. Depending on which data type is selected, the content of the configuration panel will change. #### Setting Options + The following is an interactive representation of the various options that users can set for this type: [Number Type Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=4260%3A37440&node-id=4270%3A39634&viewport=324%2C48%2C0.21&scaling=contain&starting-point-node-id=4270%3A39634&show-proto-sidebar=1) ### User sets different data type formats -When setting a number type, a user can pick from different formats, including decimals, floats, integers. + +When setting a number type, a user can pick from different formats, including decimals, floats, and integers. ### User filters the values of a number data type column + A user can filter the values of a number data type column. The filtering options will vary depending on the type selected. ### User groups records according to numeric values of a column + A user can create groups based on the numeric values of a column. The User can choose to group by unique values or automatic ranges. Range options can be set so that groups are created by size or number of groups. #### User defines range manually -A user can set a min and max value for a range and the increment size + +A user can set a min and max value for a range and the increment size. + #### User defines ranges automatically -A user can set the number of groups or the size for each group. If the parameter for the number of groups is set to 2, the range will be divided into two equal groups. If the group size parameter is set to 5, the values will be divided into ranges with an equal number of unique values. In this case, 5, not all groups will have the same number of equal values, as the total might not be divided into equal parts. +A user can set the number of groups or the size for each group. If the number of groups is set to 2, the range will be divided into two equal groups. If the group size parameter is set to 5, the values will be divided into ranges with an equal number of unique values. In this case, 5, not all groups will have the same number of equal values, as the total might not be divided into equal parts. [Examples of Grouping by Range Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=3458%3A26001&node-id=3469%3A27264&viewport=69%2C76%2C0.7793133854866028&scaling=min-zoom) ## Review Notes + ### 'Friendly' and 'Database' type display + We want to make sure users of all levels can understand and use the appropriate data types. Because the distinction between database types is sometimes not evident to beginner levels, we want to map them to more familiar categorizations. The design ensures that information will be available but prioritizes the user-friendly types in terms of visibility. ### Number type alignment -Number types should be aligned to the right for easier reading of numbers with decimals. +The interface should align number types to the right for easier reading of numbers with decimals. ## Update ### Currency Format for Number Types -The number type, when set to decimal, can now be formatted to represent currency values. For this, users can add a currency symbol to the number, and set options like showing thousand separators or change the position of the currency symbol. +Users can now format the number type to represent currency values when set to decimal. For this, users can add a currency symbol to the number and set options like showing a thousand separators or changing the position of the currency symbol. + +Additionally, the interface must inform the user that this is a display option and lacks specialized functionality provided by the currency data type. + +#### Scenario: A user sets the number type to be displayed in currency format -Additionally, the user must be informed that this is a display option and as such lacks some specialized functionality provided by the currency data type. +- The user sets a column type to `number.` +- The user opens the data type menu and opens the `Display` section. +- The user sets the `Format` option to `Currency` and [additional options](#currency_format_options) are displayed. +- The user can change or leave the default options. +- The user saves the data type changes. -#### Format Options +#### Currency Format Options -- Select Symbol -- Symbol position -- Thousand Separator +- Select Symbol: Users can select the symbol that will be displayed along with the number. The currency symbol is set to $ (US Dollar) by default. +- Symbol position: Users can select the position for the currency symbol. The options are start or end. +- Digit Grouping: Options are '123456789','123,456,789','123456,789' or '12,34,56,789' +- Digit Grouping Symbol: Options are 'none','thin space','.' or ',' +- Decimal Symbol: Options are '.' or ',' From 01dbf0c4d84b71d393126a568549b80c9dfa1c22 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Mon, 21 Feb 2022 18:33:54 +0100 Subject: [PATCH 03/11] add prototype link --- design/specs/number-data-type.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index 2e167218d..0c42353a2 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -71,6 +71,10 @@ Users can now format the number type to represent currency values when set to de Additionally, the interface must inform the user that this is a display option and lacks specialized functionality provided by the currency data type. +#### Updated Prototype + +[Figma Prototype - Updated Number Type Display Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7552%3A83433&viewport=241%2C48%2C0.46&scaling=contain) + #### Scenario: A user sets the number type to be displayed in currency format - The user sets a column type to `number.` From 268aff346ef35e68754f2c2bc259dcaa4b669858 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Mon, 21 Feb 2022 18:56:08 +0100 Subject: [PATCH 04/11] money type updates --- design/specs/money-data-type.md | 19 ++++++++++++++++++- design/specs/number-data-type.md | 4 +++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/design/specs/money-data-type.md b/design/specs/money-data-type.md index 3ddb9083a..7789f6dcc 100644 --- a/design/specs/money-data-type.md +++ b/design/specs/money-data-type.md @@ -9,31 +9,48 @@ dateCreated: 2021-08-05T09:14:25.201Z --- # Context + Money Data Types allow users to manage monetary values, preceded by a currency symbol of their choice. # Prototype + > This prototype might be outdated due to global component updates. Please refer to the link under 'Setting Options' for an updated version of the shared components. {.is-warning} [Figma Prototype for Money Data Type](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=3380%3A23047&node-id=3380%3A23048&viewport=-1070%2C505%2C0.4795173108577728&scaling=contain&starting-point-node-id=3380%3A23048) # User Experience + ## Scenarios ### The user sets the type of a column with existing values to 'Money.' + The user opens the menu for the desired column and selects the 'Data Type Options' menu item. From the list, they can set the type to money. Under advanced options, the user may set the currency and decimal places. #### Setting Options + The following is an interactive representation of the various options that users can set for this type: [Money Type Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=4260%3A37440&node-id=4270%3A40881&viewport=324%2C48%2C0.21&scaling=contain&starting-point-node-id=4270%3A40881&show-proto-sidebar=1) ### The user filters a 'Money' data type column + The user can choose from multiple filter options to filter monetary values. The options will be the same as those used for numeric types. ### The user groups a 'Money' data type column + The user might also choose to group the data based on the values of the 'Money' data type column. # Review Notes + - For the MVP we'll assume the number locale format based on the selected currency. Eventually we can add options so that, for example, US dollars can be displayed with dot separators instead of commas. -- All locales will be included whenever there's a locale related option. +- All locales will be included whenever there's a locale-related option. + +## Update 21 Feb 2022 + +### Remove option to change currency + +The updated version will remove the option to change the currency from the money type. The data type menu will display only the current system locale. The system will inform the user that the selected currency will be updated if the locale settings are changed. + +#### Updated Prototype +[Figma Prototype - Updated Money Type Display Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7590%3A84021&viewport=241%2C48%2C0.46&scaling=contain) \ No newline at end of file diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index 0c42353a2..f94923eb7 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -69,7 +69,9 @@ The interface should align number types to the right for easier reading of numbe Users can now format the number type to represent currency values when set to decimal. For this, users can add a currency symbol to the number and set options like showing a thousand separators or changing the position of the currency symbol. -Additionally, the interface must inform the user that this is a display option and lacks specialized functionality provided by the currency data type. +Additionally, the interface must inform the user that this is a display option and lacks specialized functionality provided by the `Money` data type. + +Changes to the `Money` data type are also required as part of this update. Refer to [Money Data Type Specs](/design/specs/money-data-type) for more information. #### Updated Prototype From 7940bf6da1afd99077dee02d9ff15e1299d227d2 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Mon, 21 Feb 2022 19:02:45 +0100 Subject: [PATCH 05/11] update text --- design/specs/number-data-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index f94923eb7..84dc59328 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -63,7 +63,7 @@ We want to make sure users of all levels can understand and use the appropriate The interface should align number types to the right for easier reading of numbers with decimals. -## Update +## Update 21 Feb 2022 ### Currency Format for Number Types From ab65c6cc16ef80ff54feaaedabe6f5be0780f354 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Wed, 23 Feb 2022 20:00:47 +0100 Subject: [PATCH 06/11] update money type spec --- design/specs/money-data-type.md | 33 +++++++++++++++++++++++++++----- design/specs/number-data-type.md | 30 ----------------------------- 2 files changed, 28 insertions(+), 35 deletions(-) diff --git a/design/specs/money-data-type.md b/design/specs/money-data-type.md index 7789f6dcc..b75a3c4fe 100644 --- a/design/specs/money-data-type.md +++ b/design/specs/money-data-type.md @@ -45,12 +45,35 @@ The user might also choose to group the data based on the values of the 'Money' - For the MVP we'll assume the number locale format based on the selected currency. Eventually we can add options so that, for example, US dollars can be displayed with dot separators instead of commas. - All locales will be included whenever there's a locale-related option. -## Update 21 Feb 2022 +## Update 23 Feb 2022 -### Remove option to change currency +### Compatibility with Postgres Money Type -The updated version will remove the option to change the currency from the money type. The data type menu will display only the current system locale. The system will inform the user that the selected currency will be updated if the locale settings are changed. +Mathesar will allow users to view columns set to Postgres money type as a money type column. However, it will not allow users to set an existing column to Postgres money data type. To change from Postgres money data type to the custom Mathesar money type, the user would have to set the column to Number or other data type and then choose money again. -#### Updated Prototype +#### Postgres Money Type Prototype -[Figma Prototype - Updated Money Type Display Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7590%3A84021&viewport=241%2C48%2C0.46&scaling=contain) \ No newline at end of file +[Figma Prototype - Custom Mathesar Money](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7646%3A84762&viewport=241%2C48%2C0.33&scaling=contain) + +### Support for Multi-Currency through custom Mathesar Money Type + +Mathesar's custom money data type will allow users to set any currency and customize various display options. + +#### Custom Mathesar Money Type Prototype + +[Figma Prototype - Custom Mathesar Money](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7590%3A84021&viewport=241%2C48%2C0.46&scaling=contain) + +#### Scenario: A user sets a field to money data type + +- The user sets a column type to `Money.` +- The user opens the data type menu and goes to the `Display` section. +- The user sees the default currency selected and [additional options](#currency_format_options) are displayed. +- The user can change or leave the default options. + +#### Currency Format Options + +- Select Symbol: Users can set the symbol that will be displayed along with the number. +- Symbol position: Users can select the position for the currency symbol. The options are start or end. +- Digit Grouping: Options are '123456789','123,456,789','123456,789' or '12,34,56,789' +- Digit Grouping Symbol: Options are 'none','thin space','.' or ',' +- Decimal Symbol: Options are '.' or ',' diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index 84dc59328..75f9c5c31 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -62,33 +62,3 @@ We want to make sure users of all levels can understand and use the appropriate ### Number type alignment The interface should align number types to the right for easier reading of numbers with decimals. - -## Update 21 Feb 2022 - -### Currency Format for Number Types - -Users can now format the number type to represent currency values when set to decimal. For this, users can add a currency symbol to the number and set options like showing a thousand separators or changing the position of the currency symbol. - -Additionally, the interface must inform the user that this is a display option and lacks specialized functionality provided by the `Money` data type. - -Changes to the `Money` data type are also required as part of this update. Refer to [Money Data Type Specs](/design/specs/money-data-type) for more information. - -#### Updated Prototype - -[Figma Prototype - Updated Number Type Display Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7552%3A83433&viewport=241%2C48%2C0.46&scaling=contain) - -#### Scenario: A user sets the number type to be displayed in currency format - -- The user sets a column type to `number.` -- The user opens the data type menu and opens the `Display` section. -- The user sets the `Format` option to `Currency` and [additional options](#currency_format_options) are displayed. -- The user can change or leave the default options. -- The user saves the data type changes. - -#### Currency Format Options - -- Select Symbol: Users can select the symbol that will be displayed along with the number. The currency symbol is set to $ (US Dollar) by default. -- Symbol position: Users can select the position for the currency symbol. The options are start or end. -- Digit Grouping: Options are '123456789','123,456,789','123456,789' or '12,34,56,789' -- Digit Grouping Symbol: Options are 'none','thin space','.' or ',' -- Decimal Symbol: Options are '.' or ',' From 7627615b4b7a3129ec7b0e820454405de23a4359 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Wed, 23 Feb 2022 20:06:16 +0100 Subject: [PATCH 07/11] add details --- design/specs/money-data-type.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/design/specs/money-data-type.md b/design/specs/money-data-type.md index b75a3c4fe..057400ba3 100644 --- a/design/specs/money-data-type.md +++ b/design/specs/money-data-type.md @@ -57,7 +57,7 @@ Mathesar will allow users to view columns set to Postgres money type as a money ### Support for Multi-Currency through custom Mathesar Money Type -Mathesar's custom money data type will allow users to set any currency and customize various display options. +Mathesar's custom money data type will allow users to set any currency and customize various display options. The custom money data type will be the only money type option that can be set in Mathesar. With Postgres money type being available only for existing database columns set to this type. #### Custom Mathesar Money Type Prototype @@ -68,7 +68,8 @@ Mathesar's custom money data type will allow users to set any currency and custo - The user sets a column type to `Money.` - The user opens the data type menu and goes to the `Display` section. - The user sees the default currency selected and [additional options](#currency_format_options) are displayed. -- The user can change or leave the default options. +- Changing any of the default options for a currency will set the currency to custom. For example, changing the symbol for US dollar from `$` to `USD`. +- Changing to any other currency will update the values of the formatting options to those corresponding to the currency. #### Currency Format Options From 2774a4a2b20871a35a9a352ae2bfb84e614f9c21 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Wed, 23 Feb 2022 20:08:34 +0100 Subject: [PATCH 08/11] fix prototype link --- design/specs/money-data-type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/design/specs/money-data-type.md b/design/specs/money-data-type.md index 057400ba3..a71190643 100644 --- a/design/specs/money-data-type.md +++ b/design/specs/money-data-type.md @@ -53,7 +53,7 @@ Mathesar will allow users to view columns set to Postgres money type as a money #### Postgres Money Type Prototype -[Figma Prototype - Custom Mathesar Money](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7646%3A84762&viewport=241%2C48%2C0.33&scaling=contain) +[Figma Prototype - Postgres Money Type](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7646%3A84762&viewport=241%2C48%2C0.33&scaling=contain) ### Support for Multi-Currency through custom Mathesar Money Type @@ -61,7 +61,7 @@ Mathesar's custom money data type will allow users to set any currency and custo #### Custom Mathesar Money Type Prototype -[Figma Prototype - Custom Mathesar Money](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7590%3A84021&viewport=241%2C48%2C0.46&scaling=contain) +[Figma Prototype - Custom Mathesar Money Type](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=7552%3A83433&node-id=7590%3A84021&viewport=241%2C48%2C0.46&scaling=contain) #### Scenario: A user sets a field to money data type From 0d543b267f73452ae98de0c51dca9159fb221a7c Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Wed, 23 Feb 2022 20:09:38 +0100 Subject: [PATCH 09/11] restore number type --- design/specs/number-data-type.md | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index 75f9c5c31..0a8737ee8 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -9,11 +9,9 @@ dateCreated: 2021-07-23T20:02:57.303Z --- # Context +Number data types allow users to add numeric values in different formats. -Number data types allow users to add numeric values in different formats. - -## Prototype - +# Prototype > This prototype might be outdated due to global component updates. Please refer to the link under 'Setting Options' for an updated version of the shared components. {.is-warning} @@ -22,43 +20,32 @@ Number data types allow users to add numeric values in different formats. # User Experience ## Scenarios - ### User sets number data type options - -A user can access the data type configuration of a table field via the column menu. Depending on which data type is selected, the content of the configuration panel will change. +A user can access the data type configuration of a field through the column menu. Depending on which data type is selected, the content of the configuration panel will change. #### Setting Options - The following is an interactive representation of the various options that users can set for this type: [Number Type Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=4260%3A37440&node-id=4270%3A39634&viewport=324%2C48%2C0.21&scaling=contain&starting-point-node-id=4270%3A39634&show-proto-sidebar=1) ### User sets different data type formats - -When setting a number type, a user can pick from different formats, including decimals, floats, and integers. +When setting a number type, a user can pick from different formats, including decimals, floats, integers. ### User filters the values of a number data type column - A user can filter the values of a number data type column. The filtering options will vary depending on the type selected. ### User groups records according to numeric values of a column - A user can create groups based on the numeric values of a column. The User can choose to group by unique values or automatic ranges. Range options can be set so that groups are created by size or number of groups. #### User defines range manually - -A user can set a min and max value for a range and the increment size. - +A user can set a min and max value for a range and the increment size #### User defines ranges automatically -A user can set the number of groups or the size for each group. If the number of groups is set to 2, the range will be divided into two equal groups. If the group size parameter is set to 5, the values will be divided into ranges with an equal number of unique values. In this case, 5, not all groups will have the same number of equal values, as the total might not be divided into equal parts. +A user can set the number of groups or the size for each group. If the parameter for the number of groups is set to 2, the range will be divided into two equal groups. If the group size parameter is set to 5, the values will be divided into ranges with an equal number of unique values. In this case, 5, not all groups will have the same number of equal values, as the total might not be divided into equal parts. [Examples of Grouping by Range Options](https://www.figma.com/proto/Uaf1ntcldzK2U41Jhw6vS2/Mathesar-MVP?page-id=3458%3A26001&node-id=3469%3A27264&viewport=69%2C76%2C0.7793133854866028&scaling=min-zoom) ## Review Notes - ### 'Friendly' and 'Database' type display - We want to make sure users of all levels can understand and use the appropriate data types. Because the distinction between database types is sometimes not evident to beginner levels, we want to map them to more familiar categorizations. The design ensures that information will be available but prioritizes the user-friendly types in terms of visibility. ### Number type alignment - -The interface should align number types to the right for easier reading of numbers with decimals. +Number types should be aligned to the right for easier reading of numbers with decimals. \ No newline at end of file From 8060148efb4757f5a9b711eec1ff1fdf275941d8 Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Wed, 23 Feb 2022 20:10:41 +0100 Subject: [PATCH 10/11] restore number type --- design/specs/number-data-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index 0a8737ee8..1712cb94e 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -48,4 +48,4 @@ A user can set the number of groups or the size for each group. If the parameter We want to make sure users of all levels can understand and use the appropriate data types. Because the distinction between database types is sometimes not evident to beginner levels, we want to map them to more familiar categorizations. The design ensures that information will be available but prioritizes the user-friendly types in terms of visibility. ### Number type alignment -Number types should be aligned to the right for easier reading of numbers with decimals. \ No newline at end of file +Number types should be aligned to the right for easier reading of numbers with decimals. From 16196a4e0a35b6e9aaef43eafcc6e24b5ade05fb Mon Sep 17 00:00:00 2001 From: Ghislaine Guerin Date: Fri, 25 Feb 2022 18:05:06 +0100 Subject: [PATCH 11/11] fix options --- design/specs/money-data-type.md | 6 +++--- design/specs/number-data-type.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/design/specs/money-data-type.md b/design/specs/money-data-type.md index a71190643..464c690ed 100644 --- a/design/specs/money-data-type.md +++ b/design/specs/money-data-type.md @@ -73,8 +73,8 @@ Mathesar's custom money data type will allow users to set any currency and custo #### Currency Format Options -- Select Symbol: Users can set the symbol that will be displayed along with the number. -- Symbol position: Users can select the position for the currency symbol. The options are start or end. +- Select Currency Symbol: Users can set the symbol that will be displayed along with the number. +- Symbol Location: Users can select the position for the currency symbol. The options are 'Beginning' or 'End'. +- Decimal Symbol: Options are '.' or ',' - Digit Grouping: Options are '123456789','123,456,789','123456,789' or '12,34,56,789' - Digit Grouping Symbol: Options are 'none','thin space','.' or ',' -- Decimal Symbol: Options are '.' or ',' diff --git a/design/specs/number-data-type.md b/design/specs/number-data-type.md index 1712cb94e..0a8737ee8 100644 --- a/design/specs/number-data-type.md +++ b/design/specs/number-data-type.md @@ -48,4 +48,4 @@ A user can set the number of groups or the size for each group. If the parameter We want to make sure users of all levels can understand and use the appropriate data types. Because the distinction between database types is sometimes not evident to beginner levels, we want to map them to more familiar categorizations. The design ensures that information will be available but prioritizes the user-friendly types in terms of visibility. ### Number type alignment -Number types should be aligned to the right for easier reading of numbers with decimals. +Number types should be aligned to the right for easier reading of numbers with decimals. \ No newline at end of file