diff --git a/images/imgarrowlefticon.svg b/images/imgarrowlefticon.svg index cd886d754..716024607 100644 --- a/images/imgarrowlefticon.svg +++ b/images/imgarrowlefticon.svg @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/src/Common/TableEntity.tsx b/src/Common/TableEntity.tsx index 54c27adf5..b3711fcbc 100644 --- a/src/Common/TableEntity.tsx +++ b/src/Common/TableEntity.tsx @@ -7,7 +7,7 @@ import { IStackTokens, Stack, TextField, - TooltipHost, + TooltipHost } from "@fluentui/react"; import React, { FunctionComponent } from "react"; import DeleteIcon from "../../images/delete.svg"; @@ -136,17 +136,20 @@ export const TableEntity: FunctionComponent = ({ onEntityTimeValueChange={onEntityTimeValueChange} /> {!isEntityValueDisable && ( + +
editEntity +
+ )} {isDeleteOptionVisible && userContext.apiType !== "Cassandra" && ( diff --git a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx index d86b0414f..8b73d9c36 100644 --- a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx +++ b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx @@ -185,6 +185,7 @@ export const ThroughputInput: FunctionComponent = ({ +
= ({ +
{isAutoscaleSelected && ( diff --git a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap index 009eab607..73c39c2d1 100644 --- a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap +++ b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap @@ -347,12 +347,14 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` ariaLabel="Set the throughput — Request Units per second (RU/s) — required for the workload. A read of a 1 KB document uses 1 RU. Select manual if you plan to scale RU/s yourself. Select autoscale to allow the system to scale RU/s based on usage." className="panelInfoIcon" iconName="Info" + role="tooltip" tabIndex={0} >  @@ -654,44 +656,45 @@ exports[`ThroughputInput Pane should render Default properly 1`] = `
- - - - + + + + +
 diff --git a/src/Explorer/Controls/TreeComponent/TreeComponent.tsx b/src/Explorer/Controls/TreeComponent/TreeComponent.tsx index 83b00b362..cd9bf8aa6 100644 --- a/src/Explorer/Controls/TreeComponent/TreeComponent.tsx +++ b/src/Explorer/Controls/TreeComponent/TreeComponent.tsx @@ -10,7 +10,7 @@ import { IButtonStyles, IconButton, IContextualMenuItemProps, - IContextualMenuProps, + IContextualMenuProps } from "@fluentui/react"; import * as React from "react"; import AnimateHeight from "react-animate-height"; @@ -195,7 +195,7 @@ export class TreeNodeComponent extends React.Component {node.children && ( -
+
{TreeNodeComponent.getSortedChildren(node).map((childNode: TreeNode) => ( -
+
- label branch is collapsed - - label - + label branch is collapsed + + label + +
-
- label branch is expanded - - label - +
- + + label + +
+ +
-
- label branch is expanded - - label - -
-
- -
- +
- -
-`; - -exports[`TreeNodeComponent renders sorted children, expanded, leaves and parents separated 1`] = ` -
-
- label branch is expanded - - label - -
- + + label +
+ +
+`; + +exports[`TreeNodeComponent renders sorted children, expanded, leaves and parents separated 1`] = ` +
+
+
+ label branch is expanded + + label + +
+ +
+
+
+
+ +
+ +
-
+
- label branch is expanded - - label - + label branch is expanded + + label + +
{ {/* svg load more icon inlined as-is here: remove the style="fill:#374649;" so we can override it */} {
Graph - {this.props.isTabsContentExpanded - +
diff --git a/src/Explorer/Menus/NotificationConsole/NotificationConsoleComponent.tsx b/src/Explorer/Menus/NotificationConsole/NotificationConsoleComponent.tsx index c7a2cf108..4f8c0b1b3 100644 --- a/src/Explorer/Menus/NotificationConsole/NotificationConsoleComponent.tsx +++ b/src/Explorer/Menus/NotificationConsole/NotificationConsoleComponent.tsx @@ -147,12 +147,10 @@ export class NotificationConsoleComponent extends React.Component<
{ @@ -108,6 +109,7 @@ export class AddCollectionPanel extends React.Component +
Use existing +
{this.state.createNewDatabase && ( @@ -405,6 +412,7 @@ export class AddCollectionPanel extends React.Component @@ -802,6 +810,7 @@ export class AddCollectionPanel extends React.Component +
Off +
{!this.isSynapseLinkEnabled() && ( diff --git a/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap b/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap index 7adf8316f..0601343f8 100644 --- a/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap +++ b/src/Explorer/Panes/__snapshots__/AddCollectionPanel.test.tsx.snap @@ -42,39 +42,43 @@ exports[`AddCollectionPanel should render Default properly 1`] = ` horizontal={true} verticalAlign="center" > - - - Create new - - - - Use existing - + + + Create new + + + + Use existing + +
@@ -342,42 +347,46 @@ exports[`AddCollectionPanel should render Default properly 1`] = ` horizontal={true} verticalAlign="center" > - - - On - - - - Off - + + + On + + + + Off + +
{
-
+
{userContext.apiType === "Postgres" ? "Welcome to Azure Cosmos DB for PostgreSQL" : "Welcome to Azure Cosmos DB"}