From d852e495a81c26a9273d6f8a72d4ea9fe9a04668 Mon Sep 17 00:00:00 2001 From: Don Date: Wed, 1 Mar 2023 09:23:26 -0500 Subject: [PATCH] feat: Improve text labels based on suggestions from chatGPT (#1118) I asked chatGPT to help me brainstorm improvements to some of the labels and hint text based on the Apple Human Interface Guidelines. I then edited them as human to improve them further. Review and let me know if you think any are worse or weird. --------- Co-authored-by: Mike Bender --- .../src/settings/ColumnSpecificSectionContent.tsx | 5 ++--- .../src/settings/FormattingSectionContent.tsx | 4 ++-- packages/code-studio/src/settings/SettingsMenu.tsx | 4 ++-- .../code-studio/src/settings/ShortcutsSectionContent.tsx | 4 ++-- packages/iris-grid/src/IrisGrid.tsx | 2 +- packages/iris-grid/src/sidebar/AdvancedSettingsMenu.tsx | 4 ++-- packages/iris-grid/src/sidebar/RollupRows.tsx | 4 ++-- packages/iris-grid/src/sidebar/SelectDistinctBuilder.tsx | 9 +++------ 8 files changed, 16 insertions(+), 20 deletions(-) diff --git a/packages/code-studio/src/settings/ColumnSpecificSectionContent.tsx b/packages/code-studio/src/settings/ColumnSpecificSectionContent.tsx index 525af78bf9..802e9e43de 100644 --- a/packages/code-studio/src/settings/ColumnSpecificSectionContent.tsx +++ b/packages/code-studio/src/settings/ColumnSpecificSectionContent.tsx @@ -614,10 +614,9 @@ export class ColumnSpecificSectionContent extends PureComponent< return (
-
Default formatting for matched column names
- Applies a formatting rule to all columns that match a specified name - and type. + Customize the formatting of table columns by applying rules based on + matching both a column name and column type.
-
Default formatting for column types
- Applies a formatting rule to all columns of a set type. + Choose the default formatting rule to apply to all table columns + based on their type.
)} diff --git a/packages/iris-grid/src/sidebar/SelectDistinctBuilder.tsx b/packages/iris-grid/src/sidebar/SelectDistinctBuilder.tsx index ccee5af7f3..69b96081d6 100644 --- a/packages/iris-grid/src/sidebar/SelectDistinctBuilder.tsx +++ b/packages/iris-grid/src/sidebar/SelectDistinctBuilder.tsx @@ -161,12 +161,9 @@ class SelectDistinctBuilder extends Component<
- Modifies a table to show unique value from a column, same as{' '} - - selectDistinct("Column") - - . Filters will be reset and the resulting table will contain only - the selected columns above. + Display only unique values from the selected table columns. Note + that this will reset any filters and display only the selected + columns.