diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 870297716dbb..7ecb36a06b64 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -23193,11 +23193,6 @@ export interface components { specs?: { [key: string]: unknown; } | null; - /** - * Target - * @description The target of the plugin. - */ - target: string; /** * Title * @description The title of the plugin. diff --git a/client/src/bundleEntries.js b/client/src/bundleEntries.js index 39756c85a2ed..f69bd0f8d23b 100644 --- a/client/src/bundleEntries.js +++ b/client/src/bundleEntries.js @@ -1,23 +1,9 @@ /** - * The list of horrible globals we expose on window.bundleEntries. - * - * Everything that is exposed on this global variable is something that the python templates - * require for their hardcoded initializations. These objects are going to have to continue - * to exist until such time as we replace the overall application with a Vue component which - * will handle initializations for components individually. - * + * The list of globals we expose on window.bundleEntries. */ -import { replaceChildrenWithComponent } from "utils/mountVueComponent"; - -import TabularChunkedView from "components/Visualizations/Tabular/TabularChunkedView.vue"; // legacy/grid_base.mako export { default as LegacyGridView } from "legacy/grid/grid-view"; // webapps/reports/run_stats.mako export { create_chart, create_histogram } from "reports/run_stats"; - -// webapps/galaxy/dataset/{ display | tabular_chunked }.mako -export const createTabularDatasetChunkedView = (options) => { - return replaceChildrenWithComponent(options.parent_elt, TabularChunkedView, { options }); -}; diff --git a/client/src/components/Dataset/DatasetDisplay.vue b/client/src/components/Dataset/DatasetDisplay.vue new file mode 100644 index 000000000000..6e28bf808d1d --- /dev/null +++ b/client/src/components/Dataset/DatasetDisplay.vue @@ -0,0 +1,101 @@ + + + diff --git a/client/src/components/Dataset/DatasetView.vue b/client/src/components/Dataset/DatasetView.vue index f4c62c415b42..8e329227e00c 100644 --- a/client/src/components/Dataset/DatasetView.vue +++ b/client/src/components/Dataset/DatasetView.vue @@ -14,13 +14,13 @@ import { bytesToString } from "@/utils/utils"; import DatasetError from "../DatasetInformation/DatasetError.vue"; import LoadingSpan from "../LoadingSpan.vue"; import DatasetAsImage from "./DatasetAsImage/DatasetAsImage.vue"; +import DatasetDisplay from "./DatasetDisplay.vue"; import DatasetState from "./DatasetState.vue"; import Heading from "@/components/Common/Heading.vue"; import DatasetAttributes from "@/components/DatasetInformation/DatasetAttributes.vue"; import DatasetDetails from "@/components/DatasetInformation/DatasetDetails.vue"; import VisualizationsList from "@/components/Visualizations/Index.vue"; -import VisualizationFrame from "@/components/Visualizations/VisualizationFrame.vue"; -import CenterFrame from "@/entry/analysis/modules/CenterFrame.vue"; +import VisualizationDisplay from "@/components/Visualizations/VisualizationDisplay.vue"; const datasetStore = useDatasetStore(); const datatypeStore = useDatatypeStore(); @@ -61,6 +61,13 @@ const downloadUrl = computed(() => withPrefix(`/datasets/${props.datasetId}/disp const preferredVisualization = computed( () => dataset.value && datatypeStore.getPreferredVisualization(dataset.value.file_ext), ); +const isBinaryDataset = computed(() => { + if (!dataset.value?.file_ext || !datatypesMapperStore.datatypesMapper) { + return false; + } + return datatypesMapperStore.datatypesMapper.isSubTypeOfAny(dataset.value.file_ext, ["galaxy.datatypes.binary"]); +}); + const isImageDataset = computed(() => { if (!dataset.value?.file_ext || !datatypesMapperStore.datatypesMapper) { return false; @@ -93,7 +100,7 @@ watch(