Merge branch 'develop' of https://dev.azure.com/olympusai/Olympus/_git/hermione-fe into develop
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
<Panel class="mt-6">
|
||||
<template #header>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="font-bold">Hermione Response</span>
|
||||
<span class="font-bold">Workflow Response</span>
|
||||
</div>
|
||||
</template>
|
||||
<template #icons>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<Panel class="mt-6">
|
||||
<template #header>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="font-bold">Hermione response</span>
|
||||
<span class="font-bold">Workflow response</span>
|
||||
</div>
|
||||
</template>
|
||||
<template #icons>
|
||||
@@ -69,30 +69,6 @@
|
||||
</div>
|
||||
</Panel>
|
||||
|
||||
|
||||
<Panel class="mt-6">
|
||||
<template #header>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="font-bold">Response of Execution ID {{execution_id}}</span>
|
||||
</div>
|
||||
</template>
|
||||
<template #icons>
|
||||
<div class="flex justify-end">
|
||||
<Button severity="secondary" rounded @click="openDebug" v-tooltip.left="'View code'">
|
||||
<i class="pi pi-code"></i>
|
||||
</Button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div class="card flex flex-col gap-4 w-full">
|
||||
<div v-if="scenario.outputType == 'ciaOutput'">
|
||||
<ChangeImpactOutputViewer :scenario_output="scenario_output" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<MdPreview class="editor" v-model="scenario_output" language="en-US" />
|
||||
</div>
|
||||
</div>
|
||||
</Panel>
|
||||
<Dialog v-model:visible="debug_modal" maximizable modal :header="scenario.name" :style="{ width: '75%' }" :breakpoints="{ '1199px': '75vw', '575px': '90vw' }">
|
||||
|
||||
<div class="flex">
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<Panel class="mt-6">
|
||||
<template #header>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="font-bold">Hermione Response</span>
|
||||
<span class="font-bold">Workflow Response</span>
|
||||
</div>
|
||||
</template>
|
||||
<template #icons>
|
||||
|
||||
@@ -45,9 +45,10 @@
|
||||
<div class="flex items-center gap-2">
|
||||
{{ slotProps.data.scenario?.name }}
|
||||
<i
|
||||
class="pi pi-info-circle text-blue-500 cursor-pointer"
|
||||
v-tooltip="slotProps.data.scenario.description"
|
||||
class="pi pi-info-circle text-violet-600 cursor-pointer"
|
||||
v-tooltip="slotProps.data?.scenario?.description || 'No description available'"
|
||||
></i>
|
||||
<!-- controllare il tooltip -->
|
||||
</div>
|
||||
</template>
|
||||
<template #filter="{ filterModel, filterCallback }">
|
||||
|
||||
@@ -77,7 +77,8 @@ const login = async () => {
|
||||
</svg>
|
||||
</div>
|
||||
<div class="text-center mb-8">
|
||||
<h1>Welcome to HERMIONE</h1>
|
||||
<h1>Welcome to</h1>
|
||||
<h1>WizardAI - WORKFLOW</h1>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -41,7 +41,7 @@ import { computed, onMounted, ref } from 'vue';
|
||||
const menu = ref();
|
||||
const currentSelection = ref(null);
|
||||
const currentPosition = ref(null);
|
||||
const content = ref('Welcome to Olympus Canvas....');
|
||||
const content = ref('Welcome to WizardAI Canvas....');
|
||||
const scenarios = ref([]);
|
||||
const items = ref([]);
|
||||
const execScenarioDialogVisible = ref(false);
|
||||
@@ -74,7 +74,7 @@ import { computed, onMounted, ref } from 'vue';
|
||||
]
|
||||
}else {
|
||||
items.value=[
|
||||
{ label: 'Ask Hermione', icon: 'pi pi-language', command:()=>openAskDialog() },
|
||||
{ label: 'Ask Workflow', icon: 'pi pi-language', command:()=>openAskDialog() },
|
||||
{ separator: true},
|
||||
{ label: 'Execute Scenario', icon: 'pi pi-volume-up',items: scenarioMenuItems}
|
||||
]
|
||||
@@ -137,7 +137,7 @@ import { computed, onMounted, ref } from 'vue';
|
||||
execHermioneDialogVisible.value = true;
|
||||
askDialog.value = true
|
||||
dataLoaded.value = false
|
||||
modalTitle.value = "Ask Hermione"
|
||||
modalTitle.value = "Ask Workflow"
|
||||
userQuestion.value = ''
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ import 'md-editor-v3/lib/style.css';
|
||||
import { computed, onMounted, ref } from 'vue';
|
||||
|
||||
const menu = ref();
|
||||
const content = ref('# Welcome to Olympus Canvas....');
|
||||
const content = ref('# Welcome to WizardAI Canvas....');
|
||||
const scenarios = ref([]);
|
||||
const items = ref([]);
|
||||
const execScenarioDialogVisible = ref(false);
|
||||
@@ -89,7 +89,7 @@ import { computed, onMounted, ref } from 'vue';
|
||||
]
|
||||
}else {
|
||||
items.value=[
|
||||
{ label: 'Ask Hermione', icon: 'pi pi-language', command:()=>openAskDialog()},
|
||||
{ label: 'Ask Workflow', icon: 'pi pi-language', command:()=>openAskDialog()},
|
||||
{ separator: true},
|
||||
{ label: 'Execute Scenario', icon: 'pi pi-volume-up',items: scenarioMenuItems}
|
||||
]
|
||||
@@ -124,7 +124,7 @@ import { computed, onMounted, ref } from 'vue';
|
||||
execHermioneDialogVisible.value = true;
|
||||
askDialog.value = true
|
||||
dataLoaded.value = false
|
||||
modalTitle.value = "Ask Hermione"
|
||||
modalTitle.value = "Ask Workflow"
|
||||
userQuestion.value = ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user