Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jamie hide unnecessary run buttons in workflow #1580

Merged
merged 16 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
1b3f539
feat: darker text in content switcher buttons
jamiewaese-uncharted Jul 13, 2023
696ff88
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 14, 2023
3f29442
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 14, 2023
8d271e0
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 14, 2023
9e059d3
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 17, 2023
0733410
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 17, 2023
36bbf01
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 18, 2023
fb88e51
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 19, 2023
6bb287f
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 19, 2023
1cdc024
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 19, 2023
1919fd1
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 20, 2023
dc47094
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 21, 2023
6f52d1e
Merge branch 'main' of https://github.com/DARPA-ASKEM/Terarium
jamiewaese-uncharted Jul 24, 2023
97479e9
jamie dont show disabled workflow run buttons
jamiewaese-uncharted Jul 25, 2023
6783893
using Id instead of derived values
Tom-Szendrey Aug 1, 2023
272d9ab
Merge branch 'main' of https://github.com/DARPA-ASKEM/TERArium into j…
Tom-Szendrey Aug 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div v-if="!disableRunButton">
Tom-Szendrey marked this conversation as resolved.
Show resolved Hide resolved
<Button
size="small"
label="Run"
Expand Down Expand Up @@ -30,7 +30,7 @@
<section v-else class="result-container">
<div class="invalid-block" v-if="node.statusCode === WorkflowStatus.INVALID">
<img class="image" src="@assets/svg/plants.svg" alt="" />
<p>Configure in side panel</p>
<p class="helpMessage">Configure in side panel</p>
</div>
</section>
</section>
Expand Down Expand Up @@ -231,7 +231,10 @@ section {
padding: 10px;
background: var(--surface-overlay);
}

.helpMessage {
color: var(--text-color-subdued);
font-size: var(--font-caption);
}
.result-container {
align-items: center;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
</p>
</section>
<Button
v-if="modelConfigId && datasetId"
class="p-button-sm run-button"
label="Run"
icon="pi pi-play"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
</p>
</section>
<Button
v-if="modelConfigId && datasetId"
class="p-button-sm run-button"
label="Run"
icon="pi pi-play"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div v-if="!disableRunButton">
Tom-Szendrey marked this conversation as resolved.
Show resolved Hide resolved
<Button
size="small"
label="Run"
Expand Down Expand Up @@ -30,7 +30,7 @@
<section v-else class="result-container">
<div class="invalid-block" v-if="node.statusCode === WorkflowStatus.INVALID">
<img class="image" src="@assets/svg/plants.svg" alt="" />
<p>Configure in side panel</p>
<p class="helpMessage">Configure in side panel</p>
</div>
</section>
</section>
Expand Down Expand Up @@ -201,6 +201,10 @@ section {
background: var(--surface-overlay);
}

.helpMessage {
color: var(--text-color-subdued);
font-size: var(--font-caption);
}
.result-container {
align-items: center;
}
Expand Down