GeezerVison is showing github.com — Storybook: case-handover and feedback mails · Issue #864 · OpenResilienceInitiative/ORISO-Frontend
Storybook: case-handover and feedback mails #864Description
Status 2026-09-30 · handover source published; feedback proposal published with a recipient-login merge hold
Handover recipients and matching copy are corrected in UserService #1317, now included in #1319, and Frontend #1592, now included in #1593. The advice seeker receives the consent request; the receiving counsellor receives committed confirmation. Source/local checks and current combined CI pass. Human approval, merge/deployment and actual received mail remain open.
The feedback mail had a historical automatic sender. The basic question whether this mail is intended is answered by that source. Current Matrix posting ignores the old mail-notification intent, and the backend event lookup does not resolve the separate protected supervision room. The proposal now implements active case/supervision authority, explicit feedback intent, retryable per-recipient claims and neutral seven-variant copy in UserService #1320 and Frontend #1594. 49 focused backend tests including seven real MIME variants, exact resource comparison and independent immutable source review pass. UserService #1320 CI is green. The two Frontend corrections are published at16f17070: explicit voice-feedback intent and safe navigation with unsaved settings. Final94 focused tests/types/lint/productionbuild and bounded independent immutable recheck pass. The narrow Du-overlay correction is published atf4e1d52e;8520 full-unit/139focused, completeTS/format/diff and final bounded source recheck PASS. All7 effective variants intact, mail/source/protocol unchanged. Finalf4 Frontend CI is green, including lint/types/tests/build/Docker, actual-app browser regression and Storybook/a11y. Human re-review remains open; prior16f results are historical proof. The old logged-out-only rule requires Frank's answer because Matrix presence does not prove ORISO login; the proposal currently has no login suppression and must not merge until that decision. Keep the tenth occasion in #869; no received Dev feedback mail is claimed.
For developers — feedback archaeology evidence:
Upstream MessageService f1b055f: Messenger88-93/141-157 triggers after successful feedback posting when sendNotification=true.
Upstream UserService be9b1b3: NewFeedbackEmailSupplier82-129/148-171 defines recipient, role, membership, absence, preference and logout checks.
Current FE asideRouting1-51 -> protected side-room; chatTransportService126-185 ignores sendMailNotification.
Current US SessionSupervisorFacade523-575 persists distinct side-room; MatrixEventListenerService704-731 only resolves normal Session.matrixRoomId.
Local candidate branches: US feat/869-feedback-message-email based on frozen1319=304202561; FE feat/869-feedback-mail-source based on frozen1593=4cd6c93f.
Current authority/intent, per-recipient queue and neutral copy are locally implemented. 48 focused backend tests pass.
Published US1320=11bdccdb46116651ba8495b8eb83afae04946071 and final FE1594=f4e1d52e5a74c5b6ce05d5da881a39d22af8bb62.
US49 focused tests/7 real MIME variants and final immutable review PASS;14 resource bytes and catalogue entry match.
FE8509full at6c96634c; final16f17070 has94 focused tests/types/lint/productionbuild+postbuild and bounded immutable review PASS. The old FE verdict is superseded by this final recheck;14 resources/catalogue unchanged.
US1320 all12 named checks green; FE1594 finalf4 currentCI terminalSUCCESS after the2redundant-key correction;8520 full-unit/139focused/types/format/diff and bounded inheritance/source recheck PASS. Bot findings addressed, historical CHANGES_REQUESTED pending human re-review. Voice intent and unsaved-navigation fixes are published and independently source-checked. ORISO logged-in recipient policy, human review/merge, deployment and actual receipt remain open.
Three MailService templates with no design:
reassign-request-notification — a handover has been requested
reassign-confirmation-notification — a handover was confirmed
feedback-message-notification — a feedback / supervision message
All three go to counsellors. Build from the kit, add as Email/Pages/… with all three tone variants.
Handover has a decision attached to it — request and confirmation are two ends of one flow, so their copy should read as a pair. See the case-handover work (ADR-002) for the eligibility-vs-visibility distinction; the mail must not reveal more than the receiving counsellor is allowed to see before accepting.
Part of #828.
Reviewer test plan
- Story exists under
Email/Pages/… and renders in Storybook
- All three tone variants present (Deutsch Sie, Deutsch du, English)
-
text/plain twin present and says the same thing
- Subject and preview line reveal no topic, name or counselling centre
-
npm run emails:build produces the .html and .txt files with placeholders intact
- Request and confirmation read as a matching pair
- Checked at 375px and at 320px (narrow phone)
Current delivery status — 30 September 2026
Working status: In progress; planned for v2.0.10.
Developed: Handover and protected-feedback source candidates exist; the feedback login policy is settled.
Still open: Review/merge and Dev recipient/room/privacy acceptance remain.
Scope: CO_ACCESS is not a takeover; protected asides need explicit feedback intent.
| Relevant change |
Verified GitHub state |
| Frontend #1594 |
Open for review; human review/merge remains. |
| UserService #1320 |
Open for review; integration conflicts remain. |
Next action: Review the integrated feedback/handover stack and exercise both directions on Dev.
Acceptance still needed: Consent and completion mail reach correct roles once; protected feedback excludes seekers and replay duplicates.
The release and lane are planning fields. Existing readiness scores are retained; neither a board move nor a green PR establishes deployment or received mail.
For developers — audit boundary (skip for the progress overview):
Updated: 2026-09-30 11:47 UTC.
Native child of https://github.com/OpenResilienceInitiative/ORISO-Frontend/issues/828; live recursive Epic828 inventory contains58 unique descendants.
PR state/review/check snapshot:2026-09-30T11:29:19UTC. Source notes retain the dated code audit; this pass does not repeat every code or runtime test.
Current source, local verification, CI, human review, merge, deployment and real-mail receipt remain separate gates.
No new account, merge, deployment or acceptance was performed by this description update.
Release and delivery state — correction on 1 October 2026
This implementation is merged and belongs to v2.0.10. It is queued in QA internal for Dev/Stage. Missing agent test evidence or separate follow-up work does not move delivered scope back into development. Frank confirmed that the team performed manual testing.
Delivering PRs: OpenResilienceInitiative/ORISO-UserService#1317, OpenResilienceInitiative/ORISO-UserService#1319, #1592, #1593. Activitycoderabbitai commented on Aug 2, 2026
🔗 Related PRs
#275 - feat: add case handover access gate [merged]
#528 - feat(chat): message redesign per Figma — reactions in action menu, delivery checkmarks, no overflow [merged]
#573 - fix: mobile & desktop chat UI improvements [merged]
#579 - feat(notifications): two-slot sound model + decoupled playback + sound dialog (#576) [merged]
#602 - fix: align focus rings for interactive chat components [merged]
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord! Storypapst commented on Aug 3, 2026 CollaboratorAuthor More actions Built — commit 069f8f05. Email/Pages/{UebergabeAngefragt,UebergabeBestaetigt,Rueckmeldung}.
The handover is deliberately two mails. uebergabe-angefragt states in the footnote that nothing has moved yet, so a counsellor who reads it on a phone and does nothing has not accidentally dropped a case. uebergabe-bestaetigt goes to the counsellor who handed over and says plainly that their access to the conversation ends — a consequence worth reading in the mail rather than discovering in the app.
rueckmeldung covers the protected professional exchange. The content stays encrypted; the footnote states the part counsellors most need to be sure of, that the person seeking advice cannot see this channel.
Verification for all of these: 280 Storybook stories swept headless — no script errors, no empty renders, no horizontal overflow at any width down to 320px — and 266 renders against real Thymeleaf and FreeMarker with 0 differences. Storypapst commented on Aug 25, 2026 CollaboratorAuthor More actions Code verification (no linked PR exists for this issue): All three requested MailService templates (handover requested, handover confirmed, feedback message) exist as Storybook stories under src/emails/stories/ and are built out to Thymeleaf, FreeMarker and plain HTML/TXT variants in all three tone variants (de-du, de-sie, en) under src/emails/dist/ on origin/pre-dev, matching the author's own 'Built — commit 069f8f0' comment on the issue.
Since there is no PR evidence chain, moving to QA internal Dev for an internal check before external review. Storypapst commented on Sep 14, 2026 CollaboratorAuthor More actions Verified 15 September 2026 against ORISO-Frontend origin/dev @ 7ddd5271.
Present: EmailUebergabeAngefragt.stories.tsx, EmailUebergabeBestaetigt.stories.tsx, EmailRueckmeldung.stories.tsx.
Delivered in code, but no live receipt exists: none of the 16 dev test accounts exposes a readable mailbox through the Test Access Hub, so no mail on dev can currently be proven to have arrived. That makes QA external Dev the wrong column — the entry criteria in issue-task-workflow.md require an evidence comment naming the delivering merged PR. Proposal: QA internal Dev until the evidence runner (scripts/email-evidence.mjs, unmerged on ORISO-E2E origin/emails-v2) is available. See #828. Storypapst commented on Sep 22, 2026 CollaboratorAuthor More actions Design delivered on dev. The mails themselves still go out in the old layout, because nothing on dev sends these designs yet.
Evidence (ORISO-Frontend dev @ 1803fd91, re-checked 23 Sep 2026)
Still open
BjoernLudwig commented on Sep 24, 2026 Agreed to work on this as part of 2.0.10 in the release planning on 2026-09-23. Storypapst commented on Oct 1, 2026 CollaboratorAuthor More actions
Short thesis: Source for Storybook: case-handover and feedback mails has reached the published-branch stage.
Problem: A linked source branch or merged source exists. This score does not mean human approval, Dev deployment, a received email, or completion.
Readiness: 10/20. This is the GitHub delivery ladder, not a development percentage.
Next step toward the next level: Run the documented automated review loop, resolve valid findings, and collect the next review evidence.
Related source: PR 1594.
MetadataMetadataStatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|