Compare commits

...

16 Commits

Author SHA1 Message Date
MokireddySampath
6a55fedf02 Update DataTableBindingManager.ts 2023-06-06 23:45:04 +05:30
MokireddySampath
54eb320965 Update DataTableBindingManager.ts 2023-06-06 23:43:49 +05:30
MokireddySampath
aefa46c7f4 Update AddCollectionPanel.test.tsx.snap 2023-06-06 23:39:50 +05:30
MokireddySampath
f80927e853 Update PanelComponent.less 2023-06-06 23:39:20 +05:30
MokireddySampath
2911cd8de0 Update AddCollectionPanel.tsx 2023-06-06 23:38:50 +05:30
MokireddySampath
898cb4b79e Update AddCollectionPanel.tsx 2023-06-06 23:36:17 +05:30
MokireddySampath
e17be27186 Update ThroughputInput.less 2023-06-06 23:35:09 +05:30
MokireddySampath
5339b1ddc9 Update TableEntity.tsx 2023-06-06 23:34:38 +05:30
MokireddySampath
745fd3a6e5 Update queryBuilder.less 2023-06-06 23:34:04 +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 18 additions and 18 deletions

View File

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

View File

@@ -143,6 +143,7 @@ export const TableEntity: FunctionComponent<TableEntityProps> = ({
src={EditIcon} src={EditIcon}
alt="editEntity" alt="editEntity"
onClick={onEditEntity} onClick={onEditEntity}
tabIndex={0}
onKeyPress={handleKeyPress} onKeyPress={handleKeyPress}
/> />
</div> </div>

View File

@@ -24,6 +24,8 @@ import { calculateEstimateNumber, usageInGB } from "../../../../../Utils/Pricing
import { Int32 } from "../../../../Panes/Tables/Validators/EntityPropertyValidationCommon"; import { Int32 } from "../../../../Panes/Tables/Validators/EntityPropertyValidationCommon";
import { import {
AutoscaleEstimatedSpendingDisplayProps, AutoscaleEstimatedSpendingDisplayProps,
ManualEstimatedSpendingDisplayProps,
PriceBreakdown,
checkBoxAndInputStackProps, checkBoxAndInputStackProps,
getAutoPilotV3SpendElement, getAutoPilotV3SpendElement,
getChoiceGroupStyles, getChoiceGroupStyles,
@@ -31,16 +33,14 @@ import {
getRuPriceBreakdown, getRuPriceBreakdown,
getTextFieldStyles, getTextFieldStyles,
getToolTipContainer, getToolTipContainer,
ManualEstimatedSpendingDisplayProps,
manualToAutoscaleDisclaimerElement, manualToAutoscaleDisclaimerElement,
messageBarStyles, messageBarStyles,
noLeftPaddingCheckBoxStyle, noLeftPaddingCheckBoxStyle,
PriceBreakdown,
saveThroughputWarningMessage, saveThroughputWarningMessage,
titleAndInputStackProps, titleAndInputStackProps,
transparentDetailsHeaderStyle, transparentDetailsHeaderStyle,
} from "../../SettingsRenderUtils"; } from "../../SettingsRenderUtils";
import { getSanitizedInputValue, IsComponentDirtyResult, isDirty } from "../../SettingsUtils"; import { IsComponentDirtyResult, getSanitizedInputValue, isDirty } from "../../SettingsUtils";
import { ToolTipLabelComponent } from "../ToolTipLabelComponent"; import { ToolTipLabelComponent } from "../ToolTipLabelComponent";
export interface ThroughputInputAutoPilotV3Props { export interface ThroughputInputAutoPilotV3Props {
@@ -218,7 +218,7 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
const estimatedSpendingColumns: IColumn[] = [ const estimatedSpendingColumns: IColumn[] = [
{ {
key: "costType", key: "costType",
name: "", name: "Cost Type",
fieldName: "costType", fieldName: "costType",
minWidth: 100, minWidth: 100,
maxWidth: 200, maxWidth: 200,
@@ -312,7 +312,7 @@ export class ThroughputInputAutoPilotV3Component extends React.Component<
const estimatedSpendingColumns: IColumn[] = [ const estimatedSpendingColumns: IColumn[] = [
{ {
key: "costType", key: "costType",
name: "", name: "Cost type",
fieldName: "costType", fieldName: "costType",
minWidth: 100, minWidth: 100,
maxWidth: 200, maxWidth: 200,

View File

@@ -311,7 +311,7 @@ exports[`ThroughputInputAutoPilotV3Component spendAck checkbox visible 1`] = `
"key": "costType", "key": "costType",
"maxWidth": 200, "maxWidth": 200,
"minWidth": 100, "minWidth": 100,
"name": "", "name": "Cost type",
"styles": Object { "styles": Object {
"root": Object { "root": Object {
"selectors": Object { "selectors": Object {
@@ -586,7 +586,7 @@ exports[`ThroughputInputAutoPilotV3Component throughput input visible 1`] = `
"key": "costType", "key": "costType",
"maxWidth": 200, "maxWidth": 200,
"minWidth": 100, "minWidth": 100,
"name": "", "name": "Cost type",
"styles": Object { "styles": Object {
"root": Object { "root": Object {
"selectors": Object { "selectors": Object {

View File

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

View File

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