diff --git a/questions/develop-proposal.yaml b/questions/develop-proposal.yaml index da79c2d..f78d599 100644 --- a/questions/develop-proposal.yaml +++ b/questions/develop-proposal.yaml @@ -31,11 +31,26 @@ alternatives: type: email optional: true - name: The change - description: "" + description: > + Pick the page you're changing — or name a new file's path if + the proposal creates one. requirements: - name: target_path - label: File path + label: The file to change + type: select + optional: true + id_field: path + resource: + public: true + source: + kind: url + url: https://project.uhhm.no/api/v1/repos/uhhm/questions/contents/questions?ref=main + jq: > + .[] | select(.type == "file") | {path: .path, name: .name} + - name: new_path + label: Or a new file's path placeholder: questions/example.yaml + optional: true - name: rationale label: The rationale type: textarea