feat(dashboard): a card of what was resolved in the last day (#80) #84

Merged
jfro merged 1 commit from feat/80-recent-resolved into main 2026-11-28 16:24:10 +00:00
Owner

What changed

PR #84 adds a "Resolved in the last day" dashboard card listing each recently resolved report with what happened (diagnosis sentence or summary) and what fixed it (last person's note, else how it ended); 3 new LiveView tests fail on main and pass here, mix precommit passes (1252 tests), CI is green, and seeded dev data renders correctly at 390px and desktop.

Fixes #80

Red, then green

  • The dashboard shows reports resolved in the last day, newest first, each with what happened and what fixed it (last person's note, else how it ended), and no card when nothing was resolved lately.: bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_80p mix test test/lamplighter_web/live/dashboard_live_test.exs'
    • fails on the base (9e21ee0): exit 1
    • passes on the branch (d8f1452): exit 0

Shipping it

  • Goes live when it merges: no. Merging to main deploys nothing; release images are built only when Jeremy runs mise run release and tags a version.
  • Undo: a revert puts it back.
  • Not tried on the real thing: Jeremy's real report history; checked with seeded dev reports only.
  • For later: The window (24 hours) and the five shown are module attributes in DashboardLive, easy to change if a week suits a quiet homelab better. No AI-written resolution summary; it reuses the diagnosis sentence and notes.

Prover

Checking now.

Every command above was run by Fortysix's Basecamp itself, on the branch named.

## What changed PR #84 adds a "Resolved in the last day" dashboard card listing each recently resolved report with what happened (diagnosis sentence or summary) and what fixed it (last person's note, else how it ended); 3 new LiveView tests fail on main and pass here, mix precommit passes (1252 tests), CI is green, and seeded dev data renders correctly at 390px and desktop. Fixes #80 ## Red, then green - The dashboard shows reports resolved in the last day, newest first, each with what happened and what fixed it (last person's note, else how it ended), and no card when nothing was resolved lately.: `bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_80p mix test test/lamplighter_web/live/dashboard_live_test.exs'` - fails on the base (9e21ee0): exit 1 - passes on the branch (d8f1452): exit 0 ## Shipping it - Goes live when it merges: no. Merging to main deploys nothing; release images are built only when Jeremy runs mise run release and tags a version. - Undo: a revert puts it back. - Not tried on the real thing: Jeremy's real report history; checked with seeded dev reports only. - For later: The window (24 hours) and the five shown are module attributes in DashboardLive, easy to change if a week suits a quiet homelab better. No AI-written resolution summary; it reuses the diagnosis sentence and notes. ## Prover Checking now. Every command above was run by Fortysix's Basecamp itself, on the branch named.
jfro added this to the v1.4 milestone 2026-11-28 16:14:03 +00:00
feat(dashboard): a card of what was resolved in the last day (#80)
All checks were successful
CI / test (pull_request) Successful in 1m14s
d8f1452478
Each report resolved in the last 24 hours, newest first: what happened
(its diagnosis in a sentence, or its summary) and what fixed it (the
last note a person wrote, or else how it ended, like recovered on its
own or judged normal), how long it lasted and when it ended. Five at a
time, the rest in History.

Closes #80
Author
Owner

Screenshots (seeded dev data: one fixed with a note, one recovered on its own, one judged normal by its diagnosis):

desktop-card.png

desktop-card.png

390-card.png

390-card.png

desktop-page.png

desktop-page.png

Screenshots (seeded dev data: one fixed with a note, one recovered on its own, one judged normal by its diagnosis): **desktop-card.png** ![desktop-card.png](https://git.knope.dev/attachments/e03be567-ff7a-4c4f-b9ac-c7333a2bfbe8) **390-card.png** ![390-card.png](https://git.knope.dev/attachments/9574e391-5f4b-4e97-bc15-3edcadc5e6fd) **desktop-page.png** ![desktop-page.png](https://git.knope.dev/attachments/82afad0e-4745-4313-b670-71598b1c15d0)
jfro merged commit 1e112f1a5d into main 2026-11-28 16:24:10 +00:00
Sign in to join this conversation.
No description provided.