@jskit-ai/users-web 0.1.25 → 0.1.26

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,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  packageVersion: 1,
3
3
  packageId: "@jskit-ai/users-web",
4
- version: "0.1.25",
4
+ version: "0.1.26",
5
5
  description: "Users web module: workspace selector shell element plus workspace/profile/members UI elements.",
6
6
  dependsOn: [
7
7
  "@jskit-ai/http-runtime",
@@ -243,9 +243,9 @@ export default Object.freeze({
243
243
  "@uppy/xhr-upload": "^5.1.1",
244
244
  "@jskit-ai/http-runtime": "0.1.15",
245
245
  "@jskit-ai/realtime": "0.1.15",
246
- "@jskit-ai/kernel": "0.1.15",
246
+ "@jskit-ai/kernel": "0.1.16",
247
247
  "@jskit-ai/shell-web": "0.1.15",
248
- "@jskit-ai/users-core": "0.1.20",
248
+ "@jskit-ai/users-core": "0.1.21",
249
249
  "vuetify": "^4.0.0"
250
250
  },
251
251
  dev: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/users-web",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -21,10 +21,10 @@
21
21
  "dependencies": {
22
22
  "@tanstack/vue-query": "5.92.12",
23
23
  "@mdi/js": "^7.4.47",
24
- "@jskit-ai/users-core": "0.1.20",
24
+ "@jskit-ai/users-core": "0.1.21",
25
25
  "@jskit-ai/realtime": "0.1.15",
26
26
  "@jskit-ai/http-runtime": "0.1.15",
27
- "@jskit-ai/kernel": "0.1.15",
27
+ "@jskit-ai/kernel": "0.1.16",
28
28
  "@jskit-ai/shell-web": "0.1.15",
29
29
  "vuetify": "^4.0.0"
30
30
  }
@@ -23,17 +23,6 @@
23
23
  <v-form @submit.prevent="addEdit.submit" novalidate>
24
24
  <v-progress-linear v-if="addEdit.isRefetching" indeterminate class="mb-4" />
25
25
  <v-row>
26
- <v-col cols="12" md="6">
27
- <v-text-field
28
- v-model="workspaceForm.name"
29
- label="Workspace name"
30
- variant="outlined"
31
- density="comfortable"
32
- :readonly="!addEdit.canSave || addEdit.isSaving || addEdit.isRefetching"
33
- :error-messages="addEdit.fieldErrors.name ? [addEdit.fieldErrors.name] : []"
34
- />
35
- </v-col>
36
-
37
26
  <v-col cols="12" md="6">
38
27
  <v-text-field
39
28
  v-model="workspaceForm.avatarUrl"
@@ -228,7 +217,6 @@ import { createWorkspaceRealtimeMatcher } from "../support/realtimeWorkspace.js"
228
217
  import { buildWorkspaceQueryKey } from "../support/workspaceQueryKeys.js";
229
218
 
230
219
  const workspaceForm = reactive({
231
- name: "",
232
220
  lightPrimaryColor: DEFAULT_WORKSPACE_LIGHT_PALETTE.color,
233
221
  lightSecondaryColor: DEFAULT_WORKSPACE_LIGHT_PALETTE.secondaryColor,
234
222
  lightSurfaceColor: DEFAULT_WORKSPACE_LIGHT_PALETTE.surfaceColor,
@@ -347,7 +335,6 @@ const addEdit = useAddEdit({
347
335
  placementSource: "users-web.workspace-settings-view",
348
336
  fallbackLoadError: "Unable to load workspace settings.",
349
337
  fieldErrorKeys: [
350
- "name",
351
338
  "avatarUrl",
352
339
  "lightPrimaryColor",
353
340
  "lightSecondaryColor",
@@ -373,7 +360,6 @@ const addEdit = useAddEdit({
373
360
  const settings = payload?.settings && typeof payload.settings === "object" ? payload.settings : {};
374
361
  const normalizedTheme = resolveWorkspaceThemePalettes(settings);
375
362
 
376
- model.name = String(settings.name || "");
377
363
  model.lightPrimaryColor = normalizedTheme.light.color;
378
364
  model.lightSecondaryColor = normalizedTheme.light.secondaryColor;
379
365
  model.lightSurfaceColor = normalizedTheme.light.surfaceColor;
@@ -387,7 +373,6 @@ const addEdit = useAddEdit({
387
373
  model.invitesAvailable = settings.invitesAvailable !== false;
388
374
  },
389
375
  buildRawPayload: (model) => ({
390
- name: model.name,
391
376
  lightPrimaryColor: model.lightPrimaryColor,
392
377
  lightSecondaryColor: model.lightSecondaryColor,
393
378
  lightSurfaceColor: model.lightSurfaceColor,