From a424c6d3c252421d5b8a837b607f959503a00f65 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Thu, 6 Aug 2026 08:53:01 +0200 Subject: [PATCH] Rename buckets, fold inquiry into project, add showcase + org fields Bucket names describe content, not their relation to portal: portal_applicants -> applicants, portal_subscribers -> subscribers, portal_project_inquiries -> projects. ResourceSpec's `bucket:` field becomes `source: {kind: kv, bucket: ...}` to match portal's new generalized ResourceSource schema. The project-inquiry alternative now also shows a live "what we've built" showcase (a gitea_starred resource, jq-shaped) and asks who the work is for (organization/contact fields) - b2b framing. Review desk's "Inquiries" -> "Projects", transitions to accepted/declined instead of a generic "handled". Front page gets a `responsible` contact for the "report this question" mechanism. Co-Authored-By: Claude Sonnet 5 --- questions/index.yaml | 25 ++++++++++++++++++++++--- questions/review.yaml | 20 ++++++++++++++------ questions/subscribed.yaml | 2 +- 3 files changed, 37 insertions(+), 10 deletions(-) diff --git a/questions/index.yaml b/questions/index.yaml index ff29489..aeae70e 100644 --- a/questions/index.yaml +++ b/questions/index.yaml @@ -2,6 +2,9 @@ id: / name: What are you here for? description: > Strategies that address problems — applied in software. +responsible: + name: bl + contact: bl@uhhm.no alternatives: - name: I want something built description: > @@ -9,10 +12,20 @@ alternatives: reads the whole brief before answering. action: /project consequence: [Tell us what you're after] - record_as: portal_project_inquiries + record_as: projects encouragements: - We read every word before breaking ground. features: + - name: What we've built + description: A few things already out in the world. + resource: + source: + kind: gitea_starred + username: bl + public: true + jq: > + .[] | {name: .name, description: .description, url: .html_url, + stars: .stargazers_count} - name: What are you after? description: A few lines are enough to begin a conversation. requirements: @@ -25,6 +38,12 @@ alternatives: label: What do you need built? type: textarea placeholder: Just the shape of it — we'll ask the right questions. + - name: organization + label: Organization + placeholder: Who's this for? + - name: org_contact + label: Best way to reach them, if not you + optional: true - name: Keep me posted description: > @@ -32,7 +51,7 @@ alternatives: there's something worth saying. action: /subscribed consequence: [Subscribe] - record_as: portal_subscribers + record_as: subscribers encouragements: - Consider yourself posted. features: @@ -49,7 +68,7 @@ alternatives: by hand, through a real conversation. action: /applied consequence: [Apply] - record_as: portal_applicants + record_as: applicants encouragements: - Knock — we actually answer. features: diff --git a/questions/review.yaml b/questions/review.yaml index 0aea7cf..5d7dd35 100644 --- a/questions/review.yaml +++ b/questions/review.yaml @@ -11,7 +11,9 @@ alternatives: - name: "" description: "" resource: - bucket: portal_applicants + source: + kind: kv + bucket: applicants requires_group: owners transitions: - to: invited @@ -19,17 +21,21 @@ alternatives: - to: declined label: Decline - - name: Inquiries + - name: Projects description: "" features: - name: "" description: "" resource: - bucket: portal_project_inquiries + source: + kind: kv + bucket: projects requires_group: owners transitions: - - to: handled - label: Mark handled + - to: accepted + label: Accept + - to: declined + label: Decline - name: Subscribers description: "" @@ -39,7 +45,9 @@ alternatives: - name: "" description: "" resource: - bucket: portal_subscribers + source: + kind: kv + bucket: subscribers requires_group: owners - name: Compose newsletter description: > diff --git a/questions/subscribed.yaml b/questions/subscribed.yaml index d85c0a3..4b18b4e 100644 --- a/questions/subscribed.yaml +++ b/questions/subscribed.yaml @@ -18,6 +18,6 @@ alternatives: Using the link from one of our emails? Confirm below and we'll stop writing. self_transition: - bucket: portal_subscribers + bucket: subscribers to: unsubscribed label: Unsubscribe me