Skip to content

Commit

Permalink
Merge pull request galaxyproject#16507 from ahmedhamidawan/invocation…
Browse files Browse the repository at this point in the history
…_step_clickable

Make it obvious that `WorkflowInvocationStep` is clickable/expandable
  • Loading branch information
dannon authored Aug 2, 2023
2 parents 62df2b0 + d08111b commit 3841b31
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<template>
<div class="d-flex" :data-step="workflowStep.id">
<div class="ui-portlet-section" style="width: 100%">
<div class="portlet-header portlet-title portlet-operations" @click="toggleStep">
<div class="portlet-header portlet-title portlet-operations cursor-pointer" @click="toggleStep">
<i :class="'portlet-title-icon fa mr-1 ' + stepIcon"></i>
<span class="portlet-title-text">
<u class="step-title">{{ stepLabel }}</u>
</span>
<FontAwesomeIcon class="float-right" :icon="expanded ? 'fa-chevron-up' : 'fa-chevron-down'" />
</div>
<div v-if="expanded" class="portlet-content">
<InvocationStepProvider
Expand Down Expand Up @@ -84,6 +85,9 @@
</div>
</template>
<script>
import { library } from "@fortawesome/fontawesome-svg-core";
import { faChevronDown, faChevronUp } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import GenericHistoryItem from "components/History/Content/GenericItem";
import LoadingSpan from "components/LoadingSpan";
import { InvocationStepProvider } from "components/providers";
Expand All @@ -96,9 +100,12 @@ import { mapCacheActions } from "vuex-cache";
import JobStep from "./JobStep";
import ParameterStep from "./ParameterStep";
library.add(faChevronUp, faChevronDown);
export default {
components: {
LoadingSpan,
FontAwesomeIcon,
JobStep,
ParameterStep,
InvocationStepProvider,
Expand Down

0 comments on commit 3841b31

Please sign in to comment.