Include issue identifier in all activity log details for notifications

Activity log events for issue.created and issue.updated were missing
the identifier field in their details, causing toast notifications to
fall back to showing a truncated UUID hash instead of the shortname
(e.g. PAP-47). Also includes checkout lock adoption and activity
query improvements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Forgotten
2026-02-21 08:23:44 -06:00
parent 57f88f6f6a
commit fe63c10d69
4 changed files with 177 additions and 19 deletions

View File

@@ -82,7 +82,7 @@ export function activityRoutes(db: Db) {
return;
}
assertCompanyAccess(req, issue.companyId);
const result = await svc.runsForIssue(id);
const result = await svc.runsForIssue(issue.companyId, id);
res.json(result);
});