feat(inbox): Explose signals report data in the detail pane#53685
feat(inbox): Explose signals report data in the detail pane#53685sortafreel merged 3 commits intomasterfrom
Conversation
|
Hey @sortafreel! 👋\nThis pull request seems to contain no description. Please add useful context, rationale, and/or any other information that will help make sense of this change now and in the distant Mars-based future. |
There was a problem hiding this comment.
Pull request overview
This PR extends the Signal Reports API payload to expose additional “judgment” data (actionability + already-addressed) for consumption in the inbox UI.
Changes:
- Prefetch
ACTIONABILITY_JUDGMENTartefacts on the SignalReport queryset to avoid per-report queries. - Extend
SignalReportSerializerwithactionabilityandalready_addressedfields derived from the latest actionability judgement artefact. - Fix
priorityfield help text to reference the priority judgement artefact.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
products/signals/backend/views.py |
Adds a filtered prefetch for actionability judgement artefacts to support new serializer fields efficiently. |
products/signals/backend/serializers.py |
Adds actionability + already_addressed fields and shared parsing logic for the latest actionability judgement artefact; corrects priority help text. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Problem
Changes
How did you test this code?
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Publish to changelog?
Docs update