feat(notifications): bell alerts for assigned leads and web sign-ups
InvitationWiringTest registers StaffNotifier and asserts it is wired. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
1 parent
66e2e488d9
commit
e3f08bc6cf
12 files changed
+495
-8
No files matched your search
+2
@@ -163,6 +163,7 @@ public class AdminEventLeadService {
|
||||
body.put("nextFollowUpDate", followUp == null ? null : followUp.toString());
|
||||
body.put("notes", trimmed(r.notes()));
|
||||
body.put("doneBy", caller.getUsername());
|
||||
body.put("doneByUserId", caller.getId()); // add-lead-notifications: self-assignment is silent
|
||||
try {
|
||||
return view(restTemplateUtil.postForEntity(url(RestApiCounterServiceConstants.API_REST_COUNTER_EVENT_LEAD_CAPTURE), MAP, body).getBody(),
|
||||
known, new HashMap<>());
|
||||
@@ -281,6 +282,7 @@ public class AdminEventLeadService {
|
||||
body.put("notes", trimmed(r.notes()));
|
||||
body.put("attended", r.attended());
|
||||
body.put("doneBy", caller.getUsername());
|
||||
body.put("doneByUserId", caller.getId()); // add-lead-notifications: self-assignment is silent
|
||||
Map<String, Object> saved = restTemplateUtil.postForEntity(url(RestApiCounterServiceConstants.API_REST_COUNTER_EVENT_LEAD_UPDATE), MAP, body).getBody();
|
||||
// field names only: follow-up values are personal data
|
||||
List<String> changed = new ArrayList<>();
|
||||
|
||||
Reference in new issue
Block a user