Compare commits

..

17 Commits

Author SHA1 Message Date
MokireddySampath
a516d9ec45 Update AddTableEntityPanel.test.tsx.snap 2023-06-06 22:13:02 +05:30
MokireddySampath
61a0433c40 Update QuickstartCarousel.tsx 2023-06-06 22:11:22 +05:30
MokireddySampath
0fd7129d2f Update AddTableEntityPanel.tsx 2023-05-31 14:54:26 +05:30
MokireddySampath
b4c0e29c04 Update RightPaneForm.tsx 2023-05-31 14:53:33 +05:30
MokireddySampath
8e723df3fb Update NewVertexComponent.tsx 2023-05-31 14:51:35 +05:30
MokireddySampath
9e2ab607f7 Update ThroughputInput.test.tsx.snap 2023-05-31 14:49:04 +05:30
MokireddySampath
7108c9b1ba Update ThroughputInput.tsx 2023-05-31 14:46:54 +05:30
MokireddySampath
e3632b734c Update ThroughputInput.less 2023-05-31 14:46:27 +05:30
MokireddySampath
881efd965c Update TableEntity.tsx 2023-05-31 14:46:03 +05:30
MokireddySampath
84b73d5bb6 Update queryBuilder.less 2023-05-31 14:45:33 +05:30
MokireddySampath
9e7beff184 Update fulldatatables.less 2023-05-31 14:45:01 +05:30
MokireddySampath
a0b6d71507 Update SplashScreen.tsx 2023-05-31 14:44:21 +05:30
Sampath
e267b5c1cc screenreader content changed to announce the entire alert 2023-05-31 14:41:19 +05:30
Sampath
85bd63f1a4 arialabel added to the add property button 2023-05-31 13:04:48 +05:30
Sampath
ccd817e432 add property is readout twice while using screenreader 2023-05-30 22:01:36 +05:30
Sampath
34611bdbdf capacity calculator link has been added with underline on focus 2023-05-23 16:48:02 +05:30
Sampath
15388fb03e header text color changed to meet luminosity ratio requirement 2023-05-23 15:38:16 +05:30
5 changed files with 6 additions and 17 deletions

View File

@@ -650,4 +650,4 @@ tr:hover td.nameColumnText {
.context-menu-item.icon-customize-columns {
background-image: url(../../images/Options.svg);
}
}

View File

@@ -1,6 +1,5 @@
import { DatePicker, TextField } from "@fluentui/react";
import React, { FunctionComponent } from "react";
import { attributeValueLabel } from "../Explorer/Panes/Tables/Validators/EntityTableHelper";
export interface TableEntityProps {
entityValueLabel?: string;
@@ -56,13 +55,11 @@ export const EntityValue: FunctionComponent<TableEntityProps> = ({
label={entityValueLabel && entityValueLabel}
className="addEntityTextField"
id="entityValueId"
autoFocus
disabled={isEntityValueDisable}
type={entityValueType}
placeholder={entityValuePlaceholder}
value={typeof entityValue === "string" ? entityValue : ""}
onChange={onEntityValueChange}
ariaLabel={attributeValueLabel}
/>
);
};

View File

@@ -12,7 +12,6 @@ import {
import React, { FunctionComponent } from "react";
import DeleteIcon from "../../images/delete.svg";
import EditIcon from "../../images/Edit_entity.svg";
import { attributeNameLabel, dataTypeLabel } from "../Explorer/Panes/Tables/Validators/EntityTableHelper";
import { CassandraType, TableType } from "../Explorer/Tables/Constants";
import { userContext } from "../UserContext";
import { EntityValue } from "./EntityValue";
@@ -37,7 +36,7 @@ export interface TableEntityProps {
onDeleteEntity?: () => void;
onEditEntity?: () => void;
onEntityPropertyChange: (event: React.FormEvent<HTMLElement>, newInput?: string) => void;
onEntityTypeChange: (event: React.FormEvent<HTMLElement>, selectedParam: IDropdownOption) => void
onEntityTypeChange: (event: React.FormEvent<HTMLElement>, selectedParam: IDropdownOption) => void;
onEntityValueChange: (event: React.FormEvent<HTMLElement>, newInput?: string) => void;
onSelectDate: (date: Date | null | undefined) => void;
onEntityTimeValueChange: (event: React.FormEvent<HTMLElement>, newInput?: string) => void;
@@ -114,7 +113,6 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
value={entityProperty}
onChange={onEntityPropertyChange}
required
ariaLabel={attributeNameLabel}
/>
<Dropdown
label={entityTypeLabel && entityTypeLabel}
@@ -124,7 +122,6 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
disabled={isPropertyTypeDisable}
id="entityTypeId"
styles={dropdownStyles}
ariaLabel={dataTypeLabel}
/>
<EntityValue
entityValueLabel={entityValueLabel}

View File

@@ -32,14 +32,8 @@ export const PanelInfoErrorComponent: React.FunctionComponent<PanelInfoErrorProp
return (
<Stack className="panelInfoErrorContainer" horizontal verticalAlign="center">
{icon}
<span className="panelWarningErrorDetailsLinkContainer">
<Text
role="alert"
aria-live="assertive"
aria-label={message}
className="panelWarningErrorMessage"
variant="small"
>
<span className="panelWarningErrorDetailsLinkContainer" role="alert" aria-live="assertive">
<Text aria-label={message} className="panelWarningErrorMessage" variant="small">
{message}
{link && linkText && (
<Link target="_blank" href={link}>

View File

@@ -135,6 +135,7 @@
"./src/quickstart.ts",
"./src/setupTests.ts",
"./src/userContext.test.ts",
"src/Common/EntityValue.tsx",
"./src/Platform/Hosted/Components/SwitchAccount.tsx",
"./src/Platform/Hosted/Components/SwitchSubscription.tsx"
],
@@ -162,4 +163,4 @@
"src/Terminal/**/*",
"src/Utils/arm/**/*"
]
}
}