Picking a file loads its current content to edit in place
Lint and reload / lint (push) Successful in 2s
Lint and reload / reload (push) Successful in 1s

proposed_yaml binds to the file select: the selected file's content
fetches through Gitea's contents API (base64-decoded by the jq
filter) and lands in the editor. On-site contributions no longer
start from a blank box.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-08-13 13:50:29 +02:00
co-authored by Claude Sonnet 5
parent b2423d64cf
commit 9dbd30655f
2 changed files with 15 additions and 2 deletions
+4 -1
View File
@@ -158,7 +158,10 @@ Question id (doubles as the URL path), name, description,
(Iconify name, e.g. lucide:star), requirements[],
resource
Requirement name, label, type, optional, multiple, placeholder,
accept (file), resource + id_field (select options)
accept (file), resource + id_field (select options),
bind {field, param, resource} (load this field's
value from a resource whenever the named sibling
changes - {param} templates into a url source's path)
ResourceSpec source (kv | gitea_starred | gitea_org_repos | url),
key, public, requires_group, transitions[{from, to, label}],
jq (reshape filter)