From a7d007e0ddb94fcb144d4c8f4ceb94d8901f94d7 Mon Sep 17 00:00:00 2001 From: Dmitry Shilov Date: Mon, 23 Jun 2025 17:18:09 +0200 Subject: [PATCH] fix: Partition Keys block for fabric (#2174) * fix: Partition Keys block for fabric - Show Partition Keys block for fabric - Adjust layout and visibility of separators in AddCollectionPanel --- .../AddCollectionPanel/AddCollectionPanel.tsx | 11 +++--- .../AddCollectionPanel.test.tsx.snap | 36 +++++++++---------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx b/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx index 3455176a6..7db7546e4 100644 --- a/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx +++ b/src/Explorer/Panes/AddCollectionPanel/AddCollectionPanel.tsx @@ -406,9 +406,9 @@ export class AddCollectionPanel extends React.Component )} + )} - @@ -448,8 +448,9 @@ export class AddCollectionPanel extends React.Component + - + {this.shouldShowIndexingOptionsForFreeTierAccount() && ( @@ -644,7 +645,7 @@ export class AddCollectionPanel extends React.Component ); })} - {!isFabricNative() && userContext.apiType === "SQL" && ( + {userContext.apiType === "SQL" && ( )} - + {!isFabricNative() && userContext.apiType === "SQL" && ( + + )} {shouldShowAnalyticalStoreOptions() && ( diff --git a/src/Explorer/Panes/AddCollectionPanel/__snapshots__/AddCollectionPanel.test.tsx.snap b/src/Explorer/Panes/AddCollectionPanel/__snapshots__/AddCollectionPanel.test.tsx.snap index 39bb1bccd..c4cfa4afa 100644 --- a/src/Explorer/Panes/AddCollectionPanel/__snapshots__/AddCollectionPanel.test.tsx.snap +++ b/src/Explorer/Panes/AddCollectionPanel/__snapshots__/AddCollectionPanel.test.tsx.snap @@ -142,16 +142,16 @@ exports[`AddCollectionPanel should render Default properly 1`] = ` - - + /> + - - + /> +