vease 1.51.0 → 1.52.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { waitForActionSettled } from "../wait_for_action_settled.js";
|
|
2
2
|
import { moveMouseOutOfTheWay } from "../app_interaction.js";
|
|
3
|
-
import { clickCollapseOrExpandAll, collapseGeodeObjectTypeInTree, collapseTreeGroup, expandGeodeObjectTypeInTree, getTreeRowByTextAndParent } from "./common.js";
|
|
3
|
+
import { clickCollapseOrExpandAll, collapseGeodeObjectTypeInTree, collapseTreeGroup, expandGeodeObjectTypeInTree, getTreeRowByTextAndParent, openObjectTreeContextMenu } from "./common.js";
|
|
4
4
|
import { consola } from "consola";
|
|
5
5
|
//#region tests/e2e/utils/object_trees/main_object_tree.ts
|
|
6
6
|
const HIGHLIGHT_HOVER_ATTEMPTS = 3;
|
|
@@ -57,6 +57,15 @@ async function showObjectInTree(window, objectName) {
|
|
|
57
57
|
await waitForActionSettled(window);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
+
async function openGeodeObjectTypeContextMenu(window, geodeObjectType) {
|
|
61
|
+
await openObjectTreeContextMenu(window, geodeObjectType, getMainObjectTree(window));
|
|
62
|
+
}
|
|
63
|
+
async function openDataContextMenu(window, geodeObjectType, dataName) {
|
|
64
|
+
await expandGeodeObjectType(window, geodeObjectType);
|
|
65
|
+
const mainObjectTree = getMainObjectTree(window);
|
|
66
|
+
await (await getTreeRowByTextAndParent(window, geodeObjectType, dataName, mainObjectTree)).getByTestId("treeItemLabel").first().click({ button: "right" });
|
|
67
|
+
await waitForActionSettled(window);
|
|
68
|
+
}
|
|
60
69
|
async function toggleObjectsTree(window) {
|
|
61
70
|
await window.getByTestId("toggleObjectsButton").click();
|
|
62
71
|
await waitForActionSettled(window);
|
|
@@ -74,4 +83,4 @@ async function openObjectsTree(window) {
|
|
|
74
83
|
}
|
|
75
84
|
}
|
|
76
85
|
//#endregion
|
|
77
|
-
export { closeObjectsTree, collapseGeodeObjectType, collapseMainObjectTree, collapseMainObjectTreeGroup, expandGeodeObjectType, expandMainObjectTree, focusObjectInTree, getMainObjectTree, highlightData, openObjectsTree, showObjectInTree, toggleObjectsTree };
|
|
86
|
+
export { closeObjectsTree, collapseGeodeObjectType, collapseMainObjectTree, collapseMainObjectTreeGroup, expandGeodeObjectType, expandMainObjectTree, focusObjectInTree, getMainObjectTree, highlightData, openDataContextMenu, openGeodeObjectTypeContextMenu, openObjectsTree, showObjectInTree, toggleObjectsTree };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vease",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.0-rc.1",
|
|
4
4
|
"description": "Desktop and cloud software for data visualization",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Desktop",
|
|
@@ -75,8 +75,7 @@
|
|
|
75
75
|
"test:e2e:cloud": "npm run test:e2e -- --project=cloud",
|
|
76
76
|
"test:e2e:desktop": "npm run test:e2e -- --project=desktop",
|
|
77
77
|
"test:e2e:update_snapshots": "npm run test:e2e:browser:chrome -- --update-snapshots",
|
|
78
|
-
"prepare:types": "cross-env MODE=BROWSER nuxi prepare"
|
|
79
|
-
"typecheck": "npm run prepare:types && vue-tsc --noEmit -p tsconfig.json && tsc --noEmit -p .nuxt/tsconfig.server.json --noImplicitAny false && tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tests/e2e/tsconfig.json"
|
|
78
|
+
"prepare:types": "cross-env MODE=BROWSER nuxi prepare"
|
|
80
79
|
},
|
|
81
80
|
"dependencies": {
|
|
82
81
|
"@ai-sdk/gateway": "4.0.75",
|
|
@@ -85,12 +84,12 @@
|
|
|
85
84
|
"@ai-sdk/vue": "4.0.93",
|
|
86
85
|
"@fontsource/michroma": "5.2.6",
|
|
87
86
|
"@fontsource/roboto": "5.2.10",
|
|
88
|
-
"@geode/cloud-api": "
|
|
89
|
-
"@geode/opengeodeweb-back": "
|
|
90
|
-
"@geode/opengeodeweb-front": "
|
|
91
|
-
"@geode/opengeodeweb-viewer": "
|
|
92
|
-
"@geode/vease-back": "
|
|
93
|
-
"@geode/vease-viewer": "
|
|
87
|
+
"@geode/cloud-api": "next",
|
|
88
|
+
"@geode/opengeodeweb-back": "next",
|
|
89
|
+
"@geode/opengeodeweb-front": "next",
|
|
90
|
+
"@geode/opengeodeweb-viewer": "next",
|
|
91
|
+
"@geode/vease-back": "next",
|
|
92
|
+
"@geode/vease-viewer": "next",
|
|
94
93
|
"@nuxtjs/mcp-toolkit": "0.18.1",
|
|
95
94
|
"ai": "7.0.93",
|
|
96
95
|
"bowser": "2.14.1",
|
|
@@ -120,14 +119,14 @@
|
|
|
120
119
|
"electron-playwright-helpers": "1.7.1",
|
|
121
120
|
"happy-dom": "20.0.11",
|
|
122
121
|
"nuxt-electron": "0.7.0",
|
|
122
|
+
"oxlint": "latest",
|
|
123
|
+
"oxlint-tsgolint": "latest",
|
|
123
124
|
"pinia": "4.0.2",
|
|
124
125
|
"playwright": "1.54.1",
|
|
125
126
|
"rolldown": "1.2.8",
|
|
126
127
|
"std-env": "3.9.0",
|
|
127
|
-
"typescript": "5.9.3",
|
|
128
128
|
"vitest": "4.1.10",
|
|
129
129
|
"vitest-environment-nuxt": "2.0.0",
|
|
130
|
-
"vitest-indexeddb": "0.0.1"
|
|
131
|
-
"vue-tsc": "3.3.11"
|
|
130
|
+
"vitest-indexeddb": "0.0.1"
|
|
132
131
|
}
|
|
133
132
|
}
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
collapseTreeGroup,
|
|
6
6
|
expandGeodeObjectTypeInTree,
|
|
7
7
|
getTreeRowByTextAndParent,
|
|
8
|
+
openObjectTreeContextMenu,
|
|
8
9
|
} from "./common";
|
|
9
10
|
import { consola } from "consola";
|
|
10
11
|
import { moveMouseOutOfTheWay } from "@vease_tests/utils/app_interaction";
|
|
@@ -102,6 +103,25 @@ async function showObjectInTree(window: Page, objectName: string): Promise<void>
|
|
|
102
103
|
}
|
|
103
104
|
}
|
|
104
105
|
|
|
106
|
+
async function openGeodeObjectTypeContextMenu(
|
|
107
|
+
window: Page,
|
|
108
|
+
geodeObjectType: string,
|
|
109
|
+
): Promise<void> {
|
|
110
|
+
await openObjectTreeContextMenu(window, geodeObjectType, getMainObjectTree(window));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
async function openDataContextMenu(
|
|
114
|
+
window: Page,
|
|
115
|
+
geodeObjectType: string,
|
|
116
|
+
dataName: string,
|
|
117
|
+
): Promise<void> {
|
|
118
|
+
await expandGeodeObjectType(window, geodeObjectType);
|
|
119
|
+
const mainObjectTree = getMainObjectTree(window);
|
|
120
|
+
const row = await getTreeRowByTextAndParent(window, geodeObjectType, dataName, mainObjectTree);
|
|
121
|
+
await row.getByTestId("treeItemLabel").first().click({ button: "right" });
|
|
122
|
+
await waitForActionSettled(window);
|
|
123
|
+
}
|
|
124
|
+
|
|
105
125
|
async function toggleObjectsTree(window: Page): Promise<void> {
|
|
106
126
|
await window.getByTestId("toggleObjectsButton").click();
|
|
107
127
|
await waitForActionSettled(window);
|
|
@@ -139,6 +159,8 @@ export {
|
|
|
139
159
|
focusObjectInTree,
|
|
140
160
|
getMainObjectTree,
|
|
141
161
|
highlightData,
|
|
162
|
+
openDataContextMenu,
|
|
163
|
+
openGeodeObjectTypeContextMenu,
|
|
142
164
|
openObjectsTree,
|
|
143
165
|
showObjectInTree,
|
|
144
166
|
toggleObjectsTree,
|