Skip to content

Commit

Permalink
Add tooltip for nullable checkbox in schema table
Browse files Browse the repository at this point in the history
  • Loading branch information
radhikav1 committed Jun 26, 2024
1 parent e0fa180 commit 74bb598
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import * as React from 'react';
import CheckBox from '@material-ui/core/Checkbox';
import CheckBoxIcon from '@material-ui/icons/CheckBox';
import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';
import T from 'i18n-react';

interface INullableBaseProps {
nullable: boolean;
Expand All @@ -37,6 +38,7 @@ const NullableBase = ({ nullable, onNullable: onChange }: INullableBaseProps) =>
}}
disabled={typeof onChange !== 'function'}
data-testid="schema-field-nullable-checkbox"
title={T.translate('features.SchemaEditor.Tooltips.nullableCheckbox').toString()}
/>
);
};
Expand Down
2 changes: 2 additions & 0 deletions app/cdap/text/text-en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3175,6 +3175,8 @@ features:
Labels:
fieldName: Field name
symbolName: Symbol name
Tooltips:
nullableCheckbox: Select to make the column nullable
ServiceEnableUtility:
serviceNotFound: Cannot find {artifactName} artifact
ServiceAccounts:
Expand Down

0 comments on commit 74bb598

Please sign in to comment.