@geode/opengeodeweb-front 10.34.0-rc.23 → 10.34.0-rc.24

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.
@@ -18,9 +18,7 @@ function targetExtensionFilePath(projectName, filename) {
18
18
  return path.join(confFolderPath(projectName), safeFilename);
19
19
  }
20
20
  function extensionsConf(projectName) {
21
- const projectConfig = projectConf(projectName);
22
- if (!projectConfig.has("extensions")) projectConfig.set("extensions", {});
23
- return projectConfig.get("extensions");
21
+ return projectConf(projectName).get("extensions", {});
24
22
  }
25
23
  function addExtensionToConf(projectName, { extensionId, extensionPath }) {
26
24
  projectConf(projectName).set(`extensions.${extensionId}.path`, extensionPath);
@@ -128,7 +128,8 @@ export function useAdaptiveStyles(
128
128
  });
129
129
  }
130
130
 
131
- const updateBrightness = useThrottleFn(calculateBrightness, ADAPTIVE_REFRESH_RATE);
131
+ // Trailing call so the last image of a burst is always sampled; otherwise the final opacity depends on image timing
132
+ const updateBrightness = useThrottleFn(calculateBrightness, ADAPTIVE_REFRESH_RATE, true);
132
133
 
133
134
  watch(
134
135
  [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.34.0-rc.23",
3
+ "version": "10.34.0-rc.24",
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": {
@@ -36,11 +36,8 @@ function targetExtensionFilePath(projectName: string, filename: string): string
36
36
 
37
37
  function extensionsConf(projectName: string): ExtensionsConfigSchema["extensions"] {
38
38
  const projectConfig = projectConf(projectName);
39
- if (!projectConfig.has("extensions")) {
40
- projectConfig.set("extensions", {});
41
- }
42
- const extensionsConfig = projectConfig.get("extensions");
43
- return extensionsConfig;
39
+ // Read-only: concurrent app instances share this file and racing writes fail on Windows (EPERM)
40
+ return projectConfig.get("extensions", {});
44
41
  }
45
42
 
46
43
  function addExtensionToConf(