From 33ebdd63287043f6bf29f840b57e7d4e5cd9fe10 Mon Sep 17 00:00:00 2001 From: Root At Skic Date: Mon, 19 Oct 2026 21:25:58 +0300 Subject: [PATCH] Model page: title the registry files panel Registries; 0.7.2 --- CHANGELOG.md | 4 ++++ README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/webview/page.ts | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0709251..279bb61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.7.2 — 2026-10-19 + +- Model page: the panel that lists the registry files is titled **Registries**. + ## 0.7.1 — 2026-10-19 - **No generated cards.** The cards 0.7.0 generated under model diagrams from registry descriptions are gone; they repeated the Elements panel. The description now shows as the tooltip of the element's row in the Elements panel. Hand-written `cards:` are unchanged. diff --git a/README.md b/README.md index 401bb6c..e2052e2 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ online-shop/ 0300-components/api.archify ``` -- **The model page.** Click `main.archify` and you get the model's page: its name and description, the overview diagram if the file has one, then two collapsible panels: **Diagrams**, with a collapsible header per folder and a card per diagram (click to open), and **Registry**, one collapsible header per registry file (with an **Open** button for its view) and the file's elements as cards inside, each with the diagrams it is used in. Open or closed is remembered per page. +- **The model page.** Click `main.archify` and you get the model's page: its name and description, the overview diagram if the file has one, then two collapsible panels: **Diagrams**, with a collapsible header per folder and a card per diagram (click to open), and **Registries**, one collapsible header per registry file (with an **Open** button for its view) and the file's elements as cards inside, each with the diagrams it is used in. Open or closed is remembered per page. - **Shared elements.** A registry file defines an element once (`type`, `label`, `sublabel`, `brand`, `description`, …). A diagram draws it with `ref: api` plus `pos` and `size`; it may override `label`, `sublabel` and `tag`, and may still define unshared elements inline. Hover a `ref` for the description, F12 jumps to the registry, completion after `ref:` lists the elements, unknown names appear in Problems. - **Links.** A registry element (or a component) with `diagram: 0300-components/api.archify` points at the diagram that explains it: double-click the node in the 2D view to open it. - **Descriptions.** Under a model diagram, hovering a row of the **Elements** panel shows the registry description of that element. diff --git a/package-lock.json b/package-lock.json index 65f4bc8..b940ae7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "archify-vscode-ext", - "version": "0.7.1", + "version": "0.7.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "archify-vscode-ext", - "version": "0.7.1", + "version": "0.7.2", "license": "MIT", "dependencies": { "three": "^0.186.1", diff --git a/package.json b/package.json index d4326ef..a636a5a 100644 --- a/package.json +++ b/package.json @@ -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, \u2026) and opens rendered Archify HTML.", - "version": "0.7.1", + "version": "0.7.2", "publisher": "root-at-skic", "license": "MIT", "sponsor": { diff --git a/src/webview/page.ts b/src/webview/page.ts index 15624de..233b1e5 100644 --- a/src/webview/page.ts +++ b/src/webview/page.ts @@ -468,7 +468,7 @@ function bridgeScript(options: PageOptions): string { byFile[element.file].push(element); }); files.sort(); - var registryPanel = panel('registry', 'archify-model-registry', 'Registry', files.length + (files.length === 1 ? ' file' : ' files'), true); + var registryPanel = panel('registry', 'archify-model-registry', 'Registries', files.length + (files.length === 1 ? ' file' : ' files'), true); body.appendChild(registryPanel); files.forEach(function (file) { var elements = byFile[file].slice().sort(function (a, b) { return a.line - b.line; });