Skip to content

Commit ecb5060

Browse files
committed
Merge 'upstream/master' into graph-group-collapse
2 parents c0f3143 + 3dcb322 commit ecb5060

File tree

24 files changed

+2030
-1352
lines changed

24 files changed

+2030
-1352
lines changed

.yarn/releases/yarn-4.9.1.cjs renamed to .yarn/releases/yarn-4.9.2.cjs

Lines changed: 273 additions & 279 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ networkSettings:
1010

1111
nodeLinker: node-modules
1212

13-
yarnPath: .yarn/releases/yarn-4.9.1.cjs
13+
yarnPath: .yarn/releases/yarn-4.9.2.cjs

changes.d/2163.fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed sorting controls appearing in wrong tab when multiple analysis view tabs are open.

changes.d/2174.fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed spurious error when running a command on multiple workflows.

eslintrc-dist.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ module.exports = {
3333
},
3434
noInlineConfig: true,
3535
reportUnusedDisableDirectives: false, // doesn't seem to work
36+
settings: {
37+
polyfills: [
38+
// Used by GraphiQL, shouldn't be a problem:
39+
'navigator.userAgentData',
40+
],
41+
},
3642
}

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,42 +25,43 @@
2525
},
2626
"dependencies": {
2727
"@apollo/client": "3.13.8",
28-
"@hpcc-js/wasm": "2.22.4",
28+
"@hpcc-js/wasm": "2.23.0",
2929
"@lumino/default-theme": "2.1.10",
3030
"@lumino/widgets": "2.7.1",
3131
"@mdi/js": "7.4.47",
32-
"@vueuse/core": "13.1.0",
32+
"@vueuse/core": "13.3.0",
3333
"apexcharts": "3.54.1",
3434
"axios": "1.9.0",
3535
"dedent": "1.6.0",
3636
"enumify": "2.0.0",
37-
"graphiql": "3.8.3",
37+
"graphiql": "4.1.1",
3838
"graphql": "16.11.0",
3939
"graphql-tag": "2.12.6",
4040
"lodash-es": "4.17.21",
4141
"markdown-it": "14.1.0",
4242
"mitt": "3.0.1",
4343
"nprogress": "1.0.0-1",
44-
"preact": "10.26.5",
45-
"simple-icons": "2.19.0",
44+
"preact": "10.26.8",
45+
"simple-icons": "15.1.0",
4646
"subscriptions-transport-ws": "0.11.0",
4747
"svg-pan-zoom": "3.6.2",
48-
"vue": "3.5.14",
48+
"vue": "3.5.16",
4949
"vue-i18n": "11.1.3",
5050
"vue-router": "4.5.1",
5151
"vue-the-mask": "0.11.1",
5252
"vue3-apexcharts": "1.8.0",
53-
"vuetify": "3.8.4",
53+
"vuetify": "3.8.8",
5454
"vuex": "4.1.0"
5555
},
5656
"devDependencies": {
57-
"@cypress/code-coverage": "3.14.1",
57+
"@cypress/code-coverage": "3.14.4",
58+
"@vitejs/plugin-react": "4.5.1",
5859
"@vitejs/plugin-vue": "5.2.4",
59-
"@vitest/coverage-istanbul": "3.1.3",
60+
"@vitest/coverage-istanbul": "3.2.2",
6061
"@vue/test-utils": "2.4.6",
6162
"concurrently": "9.1.2",
6263
"cross-fetch": "4.1.0",
63-
"cypress": "14.3.3",
64+
"cypress": "14.4.1",
6465
"cypress-vite": "1.6.0",
6566
"eslint": "8.57.1",
6667
"eslint-config-standard": "17.1.0",
@@ -79,14 +80,14 @@
7980
"json-server": "0.17.4",
8081
"nodemon": "3.1.10",
8182
"nyc": "17.1.0",
82-
"sass-embedded": "1.87.0",
83+
"sass-embedded": "1.89.0",
8384
"sinon": "20.0.0",
8485
"standard": "17.1.2",
8586
"vite": "6.3.5",
8687
"vite-plugin-eslint": "1.8.1",
8788
"vite-plugin-istanbul": "7.0.0",
8889
"vite-plugin-vuetify": "2.1.1",
89-
"vitest": "3.1.3"
90+
"vitest": "3.2.2"
9091
},
9192
"peerDependenciesMeta": {
9293
"react": {
@@ -99,5 +100,5 @@
99100
"bugs": {
100101
"url": "https://github.com/cylc/cylc-ui/issues"
101102
},
102-
"packageManager": "[email protected].1"
103+
"packageManager": "[email protected].2"
103104
}

src/components/core/Alert.vue

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,40 +27,35 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2727
>
2828
<template v-slot:actions>
2929
<v-btn
30-
icon
30+
:icon="mdiClose"
3131
@click="closeAlert"
3232
data-cy="snack-close"
33-
>
34-
<v-icon>{{ $options.icons.mdiClose }}</v-icon>
35-
</v-btn>
33+
/>
3634
</template>
37-
{{ alert.text }}
35+
<p>
36+
{{ alert.text }}
37+
</p>
38+
<p
39+
v-if="alert.detail"
40+
class="mt-2 opacity-80"
41+
>
42+
{{ alert.detail }}
43+
</p>
3844
</v-snackbar>
3945
</template>
4046

41-
<script>
47+
<script setup>
48+
import { computed } from 'vue'
49+
import { useStore } from 'vuex'
4250
import { mdiClose } from '@mdi/js'
43-
import { mapActions, mapState } from 'vuex'
4451
45-
export default {
46-
name: 'Alert',
52+
const store = useStore()
53+
const alert = computed(() => store.state.alert)
4754
48-
computed: {
49-
...mapState(['alert'])
50-
},
51-
52-
methods: {
53-
...mapActions(['setAlert']),
54-
/**
55-
* Dismisses the alert from the UI, also removing it from the Vuex store.
56-
*/
57-
closeAlert () {
58-
this.setAlert(null)
59-
}
60-
},
61-
62-
icons: {
63-
mdiClose
64-
}
55+
/**
56+
* Dismisses the alert from the UI, also removing it from the Vuex store.
57+
*/
58+
function closeAlert () {
59+
store.dispatch('setAlert', null)
6560
}
6661
</script>

src/components/cylc/analysis/BoxPlot.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
<template>
1919
<Teleport
2020
v-if="sortInputTeleportTarget"
21-
:to="`#${sortInputTeleportTarget}`"
21+
:to="sortInputTeleportTarget"
2222
>
2323
<div class="d-flex flex-grow-1 col-gap-1">
2424
<v-select
@@ -102,7 +102,7 @@ export default {
102102
},
103103
/** ID of element to teleport the sorting input (or don't render if null) */
104104
sortInputTeleportTarget: {
105-
type: String,
105+
type: HTMLElement,
106106
default: null,
107107
},
108108
},

src/components/cylc/analysis/TimeSeries.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
<template>
1919
<Teleport
2020
v-if="sortInputTeleportTarget"
21-
:to="`#${sortInputTeleportTarget}`"
21+
:to="sortInputTeleportTarget"
2222
>
2323
<div class="d-flex flex-grow-1 col-gap-1">
2424
<v-autocomplete
@@ -200,7 +200,7 @@ export default {
200200
},
201201
/** Where to teleport the sorting input (or don't render if null) */
202202
sortInputTeleportTarget: {
203-
type: String,
203+
type: HTMLElement,
204204
default: null,
205205
},
206206
},

src/components/cylc/commandMenu/Menu.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ export default {
226226
ret += ''
227227
if (this.node.type === 'workflow') {
228228
ret += upperFirst(this.node.node.statusMsg || this.node.node.status || 'state unknown')
229+
if (this.node.node.cylcVersion) {
230+
ret += ` • Cylc ${this.node.node.cylcVersion}`
231+
}
229232
} else {
230233
ret += upperFirst(this.node.node.state || 'state unknown')
231234
if (this.node.node.isHeld) {

0 commit comments

Comments
 (0)