fix(editor): Fix loading executions in long execution list (#5843)

* fix(editor): Fix loading executions in long execution list
*  Added max number of attempts before displaying temporary execution card
*  Simplifying temp execution preview logic, handling current execution delete, updating style
* 💄 Renaming `executionWIthGap` -> `temporaryExecution`
This commit is contained in:
Milorad FIlipović
2023-03-31 18:48:30 +02:00
committed by GitHub
parent b29cf9a249
commit 5c9343c7c0
3 changed files with 58 additions and 11 deletions

View File

@@ -6,6 +6,7 @@
[$style.active]: isActive,
[$style[executionUIDetails.name]]: true,
[$style.highlight]: highlight,
[$style.showGap]: showGap,
}"
>
<router-link
@@ -107,6 +108,10 @@ export default mixins(executionHelpers, showMessage, restApi).extend({
type: Boolean,
default: false,
},
showGap: {
type: Boolean,
default: false,
},
},
computed: {
retryExecutionActions(): object[] {
@@ -139,6 +144,7 @@ export default mixins(executionHelpers, showMessage, restApi).extend({
<style module lang="scss">
.executionCard {
display: flex;
flex-direction: column;
padding-right: var(--spacing-m);
&.active {
@@ -252,4 +258,10 @@ export default mixins(executionHelpers, showMessage, restApi).extend({
margin-left: var(--spacing-2xs);
}
}
.showGap {
margin-bottom: var(--spacing-2xs);
.executionLink {
border-bottom: 1px solid var(--color-foreground-dark);
}
}
</style>