@@ -133,14 +124,13 @@ export const DestinationPagesPane = React.memo(function DestinationPagesPane(
rightIcon={IconNames.CARET_DOWN}
/>
{' '}
- {pages.length > 1 && (
-
),
},
diff --git a/web-console/src/views/workbench-view/execution-summary-panel/execution-summary-panel.tsx b/web-console/src/views/workbench-view/execution-summary-panel/execution-summary-panel.tsx
index fa8bdceef018..6cb9c644468f 100644
--- a/web-console/src/views/workbench-view/execution-summary-panel/execution-summary-panel.tsx
+++ b/web-console/src/views/workbench-view/execution-summary-panel/execution-summary-panel.tsx
@@ -16,17 +16,27 @@
* limitations under the License.
*/
-import { Button, ButtonGroup, Menu, MenuItem, Popover, Position } from '@blueprintjs/core';
+import {
+ Button,
+ ButtonGroup,
+ Menu,
+ MenuDivider,
+ MenuItem,
+ Popover,
+ Position,
+} from '@blueprintjs/core';
import { IconNames } from '@blueprintjs/icons';
import type { JSX } from 'react';
import React, { useState } from 'react';
import type { Execution } from '../../../druid-models';
-import type { Format } from '../../../utils';
+import type { FileFormat } from '../../../utils';
import {
copyAndAlert,
copyQueryResultsToClipboard,
downloadQueryResults,
+ FILE_FORMAT_TO_LABEL,
+ FILE_FORMATS,
formatDurationHybrid,
formatInteger,
oneOf,
@@ -78,11 +88,11 @@ export const ExecutionSummaryPanel = React.memo(function ExecutionSummaryPanel(
const warningCount = execution?.stages?.getWarningCount();
- const handleDownload = (format: Format) => {
+ const handleDownload = (format: FileFormat) => {
downloadQueryResults(queryResult, `results-${execution.id}.${format}`, format);
};
- const handleCopy = (format: Format) => {
+ const handleCopy = (format: FileFormat) => {
copyQueryResultsToClipboard(queryResult, format);
};
@@ -110,39 +120,42 @@ export const ExecutionSummaryPanel = React.memo(function ExecutionSummaryPanel(
: `Query ID\n${execution.id}\n(click to copy)`)
}
/>,
- execution?.destination?.type === 'durableStorage' && execution.destinationPages ? (
-