Skip to content

feat(accounts): Break out API jobs in dashboard breakdown#1244

Merged
srtab merged 1 commit into
mainfrom
feat/dashboard-api-segment
May 20, 2026
Merged

feat(accounts): Break out API jobs in dashboard breakdown#1244
srtab merged 1 commit into
mainfrom
feat/dashboard-api-segment

Conversation

@srtab
Copy link
Copy Markdown
Owner

@srtab srtab commented May 20, 2026

Summary

  • Add a dedicated API segment (emerald) to the dashboard outcome breakdown bar so TriggerType.API_JOB runs are no longer hidden in the "Other" catchall.
  • Segment links to the activity list filtered by ?trigger=api_job, matching the existing trigger-keyed segments.
  • "Other" now only catches UI runs and any future trigger types without a dedicated segment; comment updated accordingly.

Test plan

  • uv run pytest tests/unit_tests/accounts/ — 163 passed
  • uv run ruff check daiv/accounts/views.py — clean
  • Manual: load /dashboard, confirm new emerald API chip appears when API jobs exist and clicks through to ?trigger=api_job

@srtab srtab merged commit e3d3218 into main May 20, 2026
6 checks passed
@srtab srtab deleted the feat/dashboard-api-segment branch May 20, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant