Rename CenterPanel as CenterFrame for clarity -- this is always an iframe and is too layered

This commit is contained in:
Dannon Baker
2022-08-22 11:05:34 -04:00
parent a4c077150f
commit 2c9fc7751f
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
<template>
<CenterPanel src="welcome" />
<CenterFrame src="welcome" />
</template>
<script>
import CenterPanel from "entry/analysis/modules/CenterPanel";
import CenterFrame from "entry/analysis/modules/CenterFrame";
import { runTour } from "./runTour";
export default {
components: {
CenterPanel,
CenterFrame,
},
props: {
tourId: {
@@ -7,7 +7,7 @@
:current-panel-properties="toolBoxProperties" />
<div id="center">
<div class="center-container">
<CenterPanel v-show="showCenter" id="galaxy_main" @load="onLoad" />
<CenterFrame v-show="showCenter" id="galaxy_main" @load="onLoad" />
<div v-show="!showCenter" class="center-panel" style="display: block">
<router-view :key="$route.fullPath" />
</div>
@@ -21,11 +21,11 @@ import { getGalaxyInstance } from "app";
import HistoryIndex from "components/History/Index";
import ToolBox from "components/Panels/ProviderAwareToolBox";
import SidePanel from "components/Panels/SidePanel";
import CenterPanel from "./CenterPanel";
import CenterFrame from "./CenterFrame";
export default {
components: {
CenterPanel,
CenterFrame,
SidePanel,
},
data() {
@@ -38,7 +38,7 @@ export default {
this.$emit("load");
}
} catch (err) {
console.warn("CenterPanel - onLoad location access forbidden.", ev, location);
console.warn("CenterFrame - onLoad location access forbidden.", ev, location);
}
},
},
+3 -3
View File
@@ -3,19 +3,19 @@
<ToolForm v-if="isTool && !isUpload" v-bind="toolParams" />
<WorkflowRun v-else-if="isWorkflow" v-bind="workflowParams" />
<div v-else-if="isController" :src="controllerParams" />
<CenterPanel v-else src="welcome" />
<CenterFrame v-else src="welcome" />
</div>
</template>
<script>
import decodeUriComponent from "decode-uri-component";
import CenterPanel from "entry/analysis/modules/CenterPanel";
import CenterFrame from "entry/analysis/modules/CenterFrame";
import ToolForm from "components/Tool/ToolForm";
import WorkflowRun from "components/Workflow/Run/WorkflowRun";
export default {
components: {
CenterPanel,
CenterFrame,
ToolForm,
WorkflowRun,
},