0.10.1: Archify Sync in the status bar, server address as a setting

In workspaces with Archify files, Archify Sync sits in the status bar and
opens a menu: sign in, share, join, server address, settings. The new
archify.sync.server setting (empty by default) is used without asking,
and in workspace settings gives a project one server.
archify.sync.statusBar hides the entry.
This commit is contained in:
root-at-skic committed 2026-11-06 23:21:56 +02:00
1 parent d02c331155
commit 9ccd67b2dd
7 files changed
+135 -19

No files matched your search

+19 -5
View File
@@ -2,7 +2,7 @@
"name": "archify-vscode-ext",
"displayName": "Archify Diagram Viewer",
"description": "Archify diagrams in VS Code. Write diagrams as .archify files in YAML: they open as the interactive diagram, with live updates, validation, templates and completion. Also previews Archify's own JSON files (*.architecture.json, …) and opens rendered Archify HTML.",
"version": "0.10.0",
"version": "0.10.1",
"publisher": "root-at-skic",
"license": "MIT",
"sponsor": {
@@ -164,6 +164,11 @@
"command": "archify.sync.menu",
"title": "Archify | Sync…",
"icon": "$(broadcast)"
},
{
"command": "archify.sync.setServer",
"title": "Archify | Set Sync Server Address…",
"icon": "$(server)"
}
],
"menus": {
@@ -223,10 +228,6 @@
{
"command": "archify.sync.stop",
"when": "archify.sync.active"
},
{
"command": "archify.sync.menu",
"when": "archify.sync.active"
}
],
"editor/title": [
@@ -513,6 +514,19 @@
"type": "string",
"default": "",
"description": "Node.js executable (18 or newer) used to run the renderer. Empty means the runtime bundled with VS Code."
},
"archify.sync.server": {
"type": "string",
"default": "",
"scope": "window",
"pattern": "^$|^https?://",
"patternErrorMessage": "An address such as https://archify.example.com",
"markdownDescription": "Address of your Archify Sync server, for example `https://archify.example.com`. *Sign in*, *Share Model* and the status bar use it without asking. Set it in the workspace settings so everyone in the project uses the same server. Empty: asked once and remembered. Archify Sync is optional; see the README."
},
"archify.sync.statusBar": {
"type": "boolean",
"default": true,
"markdownDescription": "Show **Archify Sync** in the status bar in workspaces with Archify files. Clicking it offers sign in, share, join and the server address. Shared models always show their state there."
}
}
},