From d09ec47be686c867f3273916f9b0de1230e9a4c5 Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Sun, 20 Sep 2026 11:29:49 +0200 Subject: [PATCH] Let a skill binding's content be viewed from the node editor Skills were selectable only by bare id, with no way to see the instructions a SKILL.md actually carries. Adds a "view content" button next to each skill row, backed by the already-existing /retriever/Skills/definitions/{id} endpoint and the previewOnly dialog mode, so no backend change or new dialog infrastructure was needed. Co-Authored-By: Claude Sonnet 5 --- .../nodes/generic-node/generic-node.html | 10 +++ .../nodes/generic-node/generic-node.spec.ts | 90 +++++++++++++++++++ .../shared/nodes/generic-node/generic-node.ts | 41 ++++++++- 3 files changed, 139 insertions(+), 2 deletions(-) diff --git a/src/app/shared/nodes/generic-node/generic-node.html b/src/app/shared/nodes/generic-node/generic-node.html index 7bb5905..7cf540c 100644 --- a/src/app/shared/nodes/generic-node/generic-node.html +++ b/src/app/shared/nodes/generic-node/generic-node.html @@ -392,6 +392,16 @@
{{ entry.summary }}
+ @if (entry.skillId; as skillId) { + + } @if (!isReadonly) {