Skip to content

Commit 04c5c0b

Browse files
authored
Merge pull request #21144 from ahmedhamidawan/change_invocation_step_state_display_selector
Change invocation step state display selector to fix styling
2 parents 79e3440 + e650c35 commit 04c5c0b

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

client/src/components/Workflow/Invocation/Graph/InvocationGraph.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ function stepClicked(nodeId: number | null) {
204204
@mouseover="showSideOverlay = true"
205205
@mouseleave="showSideOverlay = false">
206206
<BCard no-body>
207-
<div v-if="activeNodeId !== null && showSideOverlay" class="overlay overlay-left" />
207+
<div
208+
v-if="activeNodeId !== null && showSideOverlay"
209+
class="graph-scroll-overlay overlay-left" />
208210
<WorkflowGraph
209211
ref="workflowGraph"
210212
class="invocation-graph"
@@ -218,7 +220,9 @@ function stepClicked(nodeId: number | null) {
218220
is-invocation
219221
readonly
220222
@stepClicked="stepClicked" />
221-
<div v-if="activeNodeId !== null && showSideOverlay" class="overlay overlay-right" />
223+
<div
224+
v-if="activeNodeId !== null && showSideOverlay"
225+
class="graph-scroll-overlay overlay-right" />
222226
</BCard>
223227
</div>
224228
</div>
@@ -289,11 +293,13 @@ function stepClicked(nodeId: number | null) {
289293
}
290294
}
291295
292-
.overlay {
296+
.graph-scroll-overlay {
293297
bottom: 0;
294298
width: 1.5rem;
295299
background: $gray-200;
296300
opacity: 0.5;
301+
position: absolute;
302+
height: 100%;
297303
&.overlay-left {
298304
z-index: 1;
299305
}

client/src/components/WorkflowInvocationState/InvocationStepStateDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const props = defineProps<{
1414
<span
1515
class="d-flex align-items-center"
1616
data-description="invocation step state counter"
17-
:data-state="state"
17+
:data-step-state="state"
1818
:data-count="jobCount">
1919
<FontAwesomeIcon
2020
v-if="iconClasses[props.state]"

client/src/utils/navigation/navigation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ invocations:
10521052
selector: '//span[contains(@class, "content-title name")][text()="${element_identifier}"]'
10531053
step_output_collection_element_datatype: '[data-step="${order_index}"] .invocation-step-output-collection-details .not-loading .datatype .value'
10541054
step_job_details: '[data-step="${order_index}"] .invocation-step-job-details'
1055-
step_job_details_state_counter: '[data-description="invocation step state counter"][data-state="${state}"]'
1055+
step_job_details_state_counter: '[data-description="invocation step state counter"][data-step-state="${state}"]'
10561056
step_job_information: '[data-step="${order_index}"] .invocation-step-job-details .info_data_table'
10571057
step_job_information_tool_id: '[data-step="${order_index}"] .invocation-step-job-details .info_data_table #galaxy-tool-id'
10581058
export_tab: '.invocation-export-tab'

0 commit comments

Comments
 (0)