Make the GitHub rate/budget status badge in the status bar clickable. Clicking it should open a panel or modal showing a log of recent API call traces, so the user can see exactly what middleman is doing with their GitHub API budget.
Context: after adding transport-level budget tracking (budgetTransport), the status bar now shows accurate budget_spent/budget_limit. But there's no way to inspect which calls are being made. An API call log would help users understand budget consumption and debug unexpected usage.
Rough scope:
- Record recent API calls (method, URL path, status code, timestamp) in a ring buffer
- Expose via an API endpoint (e.g.
GET /api/v1/api-log)
- Make the status bar GitHub section clickable to open a trace viewer
- Consider grouping by sync cycle for readability
Make the GitHub rate/budget status badge in the status bar clickable. Clicking it should open a panel or modal showing a log of recent API call traces, so the user can see exactly what middleman is doing with their GitHub API budget.
Context: after adding transport-level budget tracking (
budgetTransport), the status bar now shows accuratebudget_spent/budget_limit. But there's no way to inspect which calls are being made. An API call log would help users understand budget consumption and debug unexpected usage.Rough scope:
GET /api/v1/api-log)