Compare commits

...

30 Commits

Author SHA1 Message Date
MokireddySampath
902199d9ce Update tsconfig.strict.json 2023-08-02 16:54:11 +05:30
MokireddySampath
fa0a508973 Update tsconfig.strict.json 2023-08-02 16:44:28 +05:30
MokireddySampath
985aa2e9ac Update tsconfig.strict.json 2023-08-02 16:29:18 +05:30
MokireddySampath
2283aa8d94 Update TableEntity.tsx 2023-07-04 09:22:03 +05:30
MokireddySampath
32373a0ead Update TableEntity.tsx 2023-07-04 09:16:57 +05:30
MokireddySampath
36777b5a16 Update TableEntity.tsx 2023-06-27 20:30:52 +05:30
MokireddySampath
1d481d1740 Update TableEntity.tsx 2023-06-26 16:48:23 +05:30
MokireddySampath
f87cdac062 Update TableEntity.tsx 2023-06-26 16:47:16 +05:30
MokireddySampath
dc16ff2dfc Update QueryTablesTab.html 2023-06-08 18:53:05 +05:30
MokireddySampath
9edb5a6bb5 Update DataTableBindingManager.ts 2023-06-08 18:52:00 +05:30
MokireddySampath
0fcb2f9669 Update DataTableBindingManager.ts 2023-06-08 18:50:50 +05:30
MokireddySampath
fdfdc4a3de Update AddCollectionPanel.test.tsx.snap 2023-06-08 15:16:36 +05:30
MokireddySampath
39c55c1607 Update PanelComponent.less 2023-06-08 15:14:57 +05:30
MokireddySampath
db2caf9a81 Update AddCollectionPanel.tsx 2023-06-08 15:14:23 +05:30
MokireddySampath
c858c1042d Update AddCollectionPanel.tsx 2023-06-08 15:11:48 +05:30
MokireddySampath
e243d87310 Update ThroughputInput.less 2023-06-08 15:09:46 +05:30
MokireddySampath
e0123656d7 Update ThroughputInputAutoPilotV3Component.test.tsx.snap 2023-06-08 15:09:24 +05:30
MokireddySampath
6068194d26 Update ThroughputInputAutoPilotV3Component.tsx 2023-06-07 20:30:18 +05:30
MokireddySampath
c6ef6ba02d Update TableEntity.tsx 2023-06-07 20:27:04 +05:30
MokireddySampath
9095e39f94 Update queryBuilder.less 2023-06-07 20:24:38 +05:30
Sampath
437a9835f8 aria labels added to add table row dialog elements appropriately 2023-06-07 20:23:17 +05:30
Sampath
75176550f0 role and alt text has been added to presentation images 2023-06-07 01:23:09 +05:30
Sampath
bbf89eaed8 aria label has been changed for the screen readers to read placeholder text along with label text 2023-06-07 00:50:37 +05:30
Sampath
4cb7c3eb26 Column header is populated with text 2023-06-06 23:32:16 +05:30
Sampath
21e2ecefc1 learn more link under analytical store 2023-06-06 19:42:27 +05:30
Sampath
b48c3d7735 keyboard accessibility added to rows in table entities 2023-06-06 17:22:27 +05:30
Sampath
45b9f6b244 outline for edit entity has been added on focus 2023-06-06 16:20:00 +05:30
MokireddySampath
fe40e77ef8 Update TableEntity.tsx 2023-06-06 16:16:01 +05:30
MokireddySampath
8c062cd5de Update SplashScreen.tsx 2023-05-22 18:10:53 +05:30
MokireddySampath
2bbd63f0b6 Update QuickstartCarousel.tsx 2023-05-22 18:09:28 +05:30
6 changed files with 19 additions and 14 deletions

View File

@@ -230,7 +230,7 @@ input::-webkit-inner-spin-button {
.advanced-options-panel .advanced-options .select .select-options-link {
margin-left: 4px;
cursor: pointer;
padding: 2px;
outline: none;
}
.query-panel .row .column-headers .Field {

View File

@@ -1,5 +1,6 @@
import { DatePicker, TextField } from "@fluentui/react";
import React, { FunctionComponent } from "react";
import { attributeValueLabel } from "../Explorer/Panes/Tables/Validators/EntityTableHelper";
export interface TableEntityProps {
entityValueLabel?: string;
@@ -55,11 +56,13 @@ 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,6 +12,7 @@ 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";
@@ -36,7 +37,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;
@@ -113,6 +114,7 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
value={entityProperty}
onChange={onEntityPropertyChange}
required
ariaLabel={attributeNameLabel}
/>
<Dropdown
label={entityTypeLabel && entityTypeLabel}
@@ -122,6 +124,7 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
disabled={isPropertyTypeDisable}
id="entityTypeId"
styles={dropdownStyles}
ariaLabel={dataTypeLabel}
/>
<EntityValue
entityValueLabel={entityValueLabel}
@@ -143,6 +146,7 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
src={EditIcon}
alt="editEntity"
onClick={onEditEntity}
tabIndex={0}
onKeyPress={handleKeyPress}
/>
</div>

View File

@@ -1,10 +1,10 @@
import { DefaultButton, IconButton, Image, Modal, PrimaryButton, Stack, Text } from "@fluentui/react";
import { Action } from "Shared/Telemetry/TelemetryConstants";
import { traceSuccess } from "Shared/Telemetry/TelemetryProcessor";
import { userContext } from "UserContext";
import { useCarousel } from "hooks/useCarousel";
import React, { useState } from "react";
import Youtube from "react-youtube";
import { Action } from "Shared/Telemetry/TelemetryConstants";
import { traceSuccess } from "Shared/Telemetry/TelemetryProcessor";
import { userContext } from "UserContext";
import Image1 from "../../../images/CarouselImage1.svg";
import Image2 from "../../../images/CarouselImage2.svg";
@@ -25,7 +25,7 @@ export const QuickstartCarousel: React.FC<QuickstartCarouselProps> = ({
<Stack>
<Stack horizontal horizontalAlign="space-between" style={{ padding: 16 }}>
<Text variant="xLarge">{getHeaderText(page)}</Text>
<IconButton iconProps={{ iconName: "Cancel" }} onClick={() => setPage(4)} ariaLabel="Close" />
<IconButton iconProps={{ iconName: "Cancel" }} onClick={() => setPage(4)} />
</Stack>
{getContent(page)}
<Text variant="medium" style={{ padding: "0 16px" }}>

View File

@@ -14,19 +14,19 @@ import {
import { sendMessage } from "Common/MessageHandler";
import { MessageTypes } from "Contracts/ExplorerContracts";
import { TerminalKind } from "Contracts/ViewModels";
import { Action } from "Shared/Telemetry/TelemetryConstants";
import { traceOpen } from "Shared/Telemetry/TelemetryProcessor";
import { useCarousel } from "hooks/useCarousel";
import { usePostgres } from "hooks/usePostgres";
import { ReactTabKind, useTabs } from "hooks/useTabs";
import * as React from "react";
import { Action } from "Shared/Telemetry/TelemetryConstants";
import { traceOpen } from "Shared/Telemetry/TelemetryProcessor";
import ConnectIcon from "../../../images/Connect_color.svg";
import ContainersIcon from "../../../images/Containers.svg";
import LinkIcon from "../../../images/Link_blue.svg";
import NotebookIcon from "../../../images/notebook/Notebook-resource.svg";
import NotebookColorIcon from "../../../images/Notebooks.svg";
import PowerShellIcon from "../../../images/PowerShell.svg";
import QuickStartIcon from "../../../images/Quickstart_Lightning.svg";
import NotebookIcon from "../../../images/notebook/Notebook-resource.svg";
import CollectionIcon from "../../../images/tree-collection.svg";
import * as Constants from "../../Common/Constants";
import { userContext } from "../../UserContext";
@@ -116,9 +116,8 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
<form className="connectExplorerFormContainer">
<div className="splashScreenContainer">
<div className="splashScreen">
<h1
<div
className="title"
role="heading"
aria-label={
userContext.apiType === "Postgres"
? "Welcome to Azure Cosmos DB for PostgreSQL"
@@ -129,7 +128,7 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
? "Welcome to Azure Cosmos DB for PostgreSQL"
: "Welcome to Azure Cosmos DB"}
<FeaturePanelLauncher />
</h1>
</div>
<div className="subtitle">
{userContext.apiType === "Postgres"
? "Get started with our sample datasets, documentation, and additional tools."

View File

@@ -135,7 +135,6 @@
"./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"
],
@@ -163,4 +162,4 @@
"src/Terminal/**/*",
"src/Utils/arm/**/*"
]
}
}