@geode/opengeodeweb-front 10.25.0-rc.5 → 10.25.0-rc.7

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.
@@ -46,6 +46,7 @@ function close() {
46
46
  </v-btn>
47
47
  <v-btn
48
48
  v-if="actionLabel"
49
+ data-testid="toolPanelActionButton"
49
50
  variant="outlined"
50
51
  size="small"
51
52
  color="white"
@@ -32,6 +32,7 @@ async function handleZScalingClose() {
32
32
 
33
33
  const camera_options = computed(() => [
34
34
  {
35
+ testId: "resetCameraButton",
35
36
  tooltip: "Reset camera",
36
37
  icon: "mdi-cube-scan",
37
38
  action: () => {
@@ -39,6 +40,7 @@ const camera_options = computed(() => [
39
40
  },
40
41
  },
41
42
  {
43
+ testId: "centerOnClickButton",
42
44
  tooltip: "Center on click",
43
45
  icon: "mdi-crosshairs-question",
44
46
  color: hybridViewerStore.is_picking ? "primary" : undefined,
@@ -47,6 +49,7 @@ const camera_options = computed(() => [
47
49
  },
48
50
  },
49
51
  {
52
+ testId: "highlightOnHoverButton",
50
53
  tooltip: "Highlight on hover",
51
54
  icon: "mdi-cursor-default-click",
52
55
  color: hybridViewerStore.is_hover_highlight ? "primary" : undefined,
@@ -92,6 +95,7 @@ const camera_options = computed(() => [
92
95
  ],
93
96
  },
94
97
  {
98
+ testId: "cameraOrientationButton",
95
99
  tooltip: "Camera orientation",
96
100
  icon: "mdi-rotate-3d",
97
101
  action: () => {
@@ -99,6 +103,7 @@ const camera_options = computed(() => [
99
103
  },
100
104
  },
101
105
  {
106
+ testId: "cameraManagerButton",
102
107
  tooltip: "Manage camera positions",
103
108
  icon: CameraBookmarkIcon,
104
109
  iconSize: 34,
@@ -107,6 +112,7 @@ const camera_options = computed(() => [
107
112
  },
108
113
  },
109
114
  {
115
+ testId: "screenshotButton",
110
116
  tooltip: "Take a screenshot",
111
117
  icon: "mdi-camera",
112
118
  action: () => {
@@ -114,6 +120,7 @@ const camera_options = computed(() => [
114
120
  },
115
121
  },
116
122
  {
123
+ testId: "gridScaleButton",
117
124
  tooltip: "Toggle grid scale",
118
125
  icon: "mdi-ruler-square",
119
126
  color: grid_scale.value ? "primary" : undefined,
@@ -135,6 +142,7 @@ const camera_options = computed(() => [
135
142
  },
136
143
  },
137
144
  {
145
+ testId: "zScalingButton",
138
146
  tooltip: "Z Scaling Control",
139
147
  icon: "mdi-sort",
140
148
  action: () => {
@@ -146,7 +154,7 @@ const camera_options = computed(() => [
146
154
 
147
155
  <template>
148
156
  <v-container :class="[$style.floatToolbar, 'pa-0', 'view-toolbar']" width="auto">
149
- <v-row v-for="camera_option in camera_options" :key="camera_option.icon" dense>
157
+ <v-row v-for="camera_option in camera_options" :key="camera_option.testId" dense>
150
158
  <v-col>
151
159
  <v-menu
152
160
  v-if="camera_option.menu && !camera_option.action"
@@ -156,6 +164,7 @@ const camera_options = computed(() => [
156
164
  <template #activator="{ props }">
157
165
  <ActionButton
158
166
  v-bind="props"
167
+ :data-testid="camera_option.testId"
159
168
  :icon="
160
169
  typeof camera_option.icon === 'function' ? camera_option.icon() : camera_option.icon
161
170
  "
@@ -187,6 +196,7 @@ const camera_options = computed(() => [
187
196
  </v-menu>
188
197
  <ActionButton
189
198
  v-else
199
+ :data-testid="camera_option.testId"
190
200
  :icon="camera_option.icon"
191
201
  :tooltip="camera_option.tooltip"
192
202
  :color="camera_option.color"
@@ -71,6 +71,7 @@ function onCenterClick(event) {
71
71
 
72
72
  <template>
73
73
  <v-btn
74
+ data-testid="circularMenuCenterButton"
74
75
  icon
75
76
  variant="outlined"
76
77
  class="central-selector-btn elevation-6"
@@ -29,6 +29,7 @@ function handleUpdate(val) {
29
29
  @update:model-value="handleUpdate"
30
30
  >
31
31
  <GlassCard
32
+ data-testid="overlappingObjectsPicker"
32
33
  variant="panel"
33
34
  padding="pa-0"
34
35
  rounded="lg"
@@ -46,6 +46,7 @@ function apply() {
46
46
  v-model.number="zScale"
47
47
  type="number"
48
48
  label="Z Scale Value"
49
+ data-testid="zScaleInput"
49
50
  variant="outlined"
50
51
  density="compact"
51
52
  hide-details
@@ -38,7 +38,7 @@ function killHttpMicroservice(microservice) {
38
38
  console.log("killHttpMicroservice", { ...microservice });
39
39
  const failMessage = `Failed to kill ${microservice.name}`;
40
40
  async function do_kill() {
41
- await $fetch(microservice.url, {
41
+ await fetch(microservice.url, {
42
42
  method: microservice.method,
43
43
  });
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.25.0-rc.5",
3
+ "version": "10.25.0-rc.7",
4
4
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
6
6
  "bugs": {
@@ -27,8 +27,8 @@ export default defineEventHandler(async (event) => {
27
27
  }
28
28
 
29
29
  await removeExtensionFromConf(projectName, extensionId);
30
- await deleteFolderRecursive(extensionFolderPath(projectFolderPath, extensionId));
31
30
  await killMicroservice(microservice, microservices);
31
+ await deleteFolderRecursive(extensionFolderPath(projectFolderPath, extensionId));
32
32
 
33
33
  return {
34
34
  statusCode: 200,