feat(reports): details page for problems, and ignoring them #49
No reviewers
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter!49
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/45-48-problems"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #45, closes #48
Details page (#45)
/reports/:id(ReportLive, in the authenticatedlive_session): severity, kind, status, title and summary; source, subject, started, last observed, resolved and how long it lasted; what the source saw (cause, resolution, raw facts folded away); the full AI diagnosis with model, queries and Diagnose/Ask; other occurrences of the same problem (same fingerprint). Updates live.Ignore (#48)
report_ignorestable, who ignored it is recorded), so it stays ignored when it resolves and opens again, until un-ignored./api/v1/summary. The API's reports now carryignored.No new env vars, source settings or dependencies. One migration.
Screenshots (example data)
Dashboard list with short summaries
Desktop


390px
Details page
Desktop


390px
Ignored section (expanded)
Desktop


390px
Tests
mix precommitclean: 836 tests. New:report_live_test.exs(details, failed diagnosis, resolved, diagnose, ignore/un-ignore, occurrences, unknown id), ignore inreports_test.exs(list/summary, latest per fingerprint, un-ignore, no auto-diagnosis),triggers_notifications_test.exs(no notifications while ignored, survives resolve + reopen, notifies again once un-ignored), dashboard/history/API tests.