Every stage that matters mails the person who sent it
Lint and reload / lint (push) Skipped

The brief, the trial and a custody case tell the submitter when they
arrive and when they are decided; the sender is portal@uhhm.no with
replies to bl@uhhm.no. Built by portal-trainer from plans/uhhm.yaml
with `mails:` on the needs; pins to portal and iris v0.3.44.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-23 21:19:10 +02:00
co-authored by Claude Fable 5.1
parent 8b4e6e053b
commit 77b62afaa2
4 changed files with 99 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ on:
- .gitea/workflows/deploy.yml - .gitea/workflows/deploy.yml
env: env:
PORTAL_RELEASE: v0.3.42 PORTAL_RELEASE: v0.3.44
INSTANCE: uhhm-portal INSTANCE: uhhm-portal
jobs: jobs:
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
# this site runs (PORTAL_RELEASE in deploy.yml). # this site runs (PORTAL_RELEASE in deploy.yml).
- name: Lint questions - name: Lint questions
env: env:
IRIS_RELEASE: v0.3.42 IRIS_RELEASE: v0.3.44
run: | run: |
# The checkout is on a noexec mount for this runner; the cargo # The checkout is on a noexec mount for this runner; the cargo
# target dir is where it may run what it fetched. # target dir is where it may run what it fetched.
+92
View File
@@ -27,12 +27,39 @@ aggregates:
states: states:
declined: declined:
event: declined event: declined
mail:
body: |-
Hello {name},
What you sent about an answer from a custodian, and action where the network keeps something it should not is now declined.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Declined'
to: submitter
in_dialogue: in_dialogue:
event: in_dialogue event: in_dialogue
open: open:
event: received event: received
mail:
body: |-
Hello {name},
We have received what you sent about an answer from a custodian, and action where the network keeps something it should not.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Open'
to: submitter
resolved: resolved:
event: resolved event: resolved
mail:
body: |-
Hello {name},
What you sent about an answer from a custodian, and action where the network keeps something it should not is now resolved.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Resolved'
to: submitter
transitions: transitions:
in_dialogue: in_dialogue:
- resolved - resolved
@@ -73,10 +100,39 @@ aggregates:
states: states:
accepted: accepted:
event: accepted event: accepted
mail:
body: |-
Hello {name},
What you sent about a considered reply to a brief, from people who read the whole thing is now accepted.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Accepted'
to: submitter
declined: declined:
event: declined event: declined
mail:
body: |-
Hello {name},
What you sent about a considered reply to a brief, from people who read the whole thing is now declined.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Declined'
to: submitter
open: open:
event: submitted event: submitted
mail:
body: |-
Hello {name},
We have received what you sent about a considered reply to a brief, from people who read the whole thing.
What you can do next: {site}/decide/commission?chain={chain}&email={email}
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Open'
to: submitter
transitions: transitions:
open: open:
- accepted - accepted
@@ -98,12 +154,48 @@ aggregates:
states: states:
approved: approved:
event: approved event: approved
mail:
body: |-
Hello,
What you sent about a first draft of a site for their own roles, built from their own words and approved by a person first is now approved.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Approved'
to: submitter
declined: declined:
event: declined event: declined
mail:
body: |-
Hello,
What you sent about a first draft of a site for their own roles, built from their own words and approved by a person first is now declined.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Declined'
to: submitter
open: open:
event: received event: received
mail:
body: |-
Hello,
We have received what you sent about a first draft of a site for their own roles, built from their own words and approved by a person first.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Open'
to: submitter
previewed: previewed:
event: previewed event: previewed
mail:
body: |-
Hello,
What you sent about a first draft of a site for their own roles, built from their own words and approved by a person first is now previewed.
Bendik Aagaard Lynghaug at bl@uhhm.no
subject: 'UHHM: Previewed'
to: submitter
transitions: transitions:
approved: approved:
- previewed - previewed
+5
View File
@@ -4,3 +4,8 @@
hero: hero:
kind: module kind: module
module: hero.js module: hero.js
# Who mail from this site comes from (portal 0.3.43+, delivered by gdo).
mail:
from: UHHM <portal@uhhm.no>
reply_to: bl@uhhm.no