Skip to content

Analytics, logs and lists: clipped cost column, off-screen table columns, and one format for times, counts and status colours #3607

Closed

Description

@integry

Problems

Analytics

  1. Models table: the Cost cells end exactly at the right edge with no padding and the text is cut ("$2,255.8" for $2,255.86) at 1440 and at 390.
  2. On a phone the model names are truncated to identical strings ("Claude Fabl…" twice, "Antigravity …" three times), and the "Agent efficacy by model" table is 659px wide in a 390px scroller: Final score, Score delta, Avg runs to merge and Merge rate are off-screen with nothing to show the table scrolls.
  3. Repository performance shows "In progress" 3,836 and 4,393 for two repositories with "Success" 20.2% and 1.3% in red, while the page header says Success rate 94.1% and Task status says Cancelled 67%. "In progress" appears to count every task that is neither completed nor failed (cancelled, skipped, superseded).
  4. A raw model name <synthetic> appears in the Models list; efficacy sub-rows read "Unknown effort" and "Manual / Untracked"; the quota legend chip truncates ("Claude and GPT · Five H…").

Logs
5. The LLM Log and MCP Log tables are wider than the pane at every desktop width (1443px and 1193px in a ~1200px pane at 1440): the last columns are cut ("TIM…", "D…") and only reachable by scrolling inside the pane.
6. "Showing 1-20 of 165297 entries" has no thousands separator while Tasks says "4,402 tasks"; the "All Repos 32,696" badge on Tasks sits unexplained next to "4,402 tasks".

Across the app
7. Relative and absolute times come in many formats: "2 hrs ago" (Tasks), "6 hours ago" (Plans), "18h ago" (Repositories), "5m ago" (Inbox), "46h ago" then "2d ago" (automation runs), "Nov 17, 12:02:32 AM" (MCP Log), "11/2/2026, 10:12:47 AM" (goal, Access, Maintenance), and a raw ISO value in a goal preview caption ("Original retained until 2027-01-31T10:11:29.284Z").
8. Completed is grey in the Tasks and Goals lists (as the guidelines ask) but green on the task detail header, the Automations list and the runs table.
9. A repository is shown three ways: plain mono text without owner (Tasks, Plans), an owner/name chip that truncates (Goals), a short chip (Dashboard).
10. Page headings differ: large bold on Tasks, Plans, Goals, Inbox and the logs; small on Automations and Repositories; very large with an icon on Access and goal detail. Access, the Extensions box and the automation template cards are cards on a grey page where the app uses panes.

Expected / acceptance criteria

  • 1: the cost column has the standard cell padding and is never clipped at 1440, 1280, 1024, 390, 320.
  • 2: on a phone the model name wraps or middle-truncates so different models stay distinguishable; wide tables either reflow to stacked rows (as the lists do below lg) or show an evident horizontal-scroll affordance with the first column pinned.
  • 3: "In progress" counts only queued and running tasks; cancelled and other terminal states are shown under their own heading or left out; the per-repository success rate uses the same definition as the page header. State the definition in the PR.
  • 4: internal model names are labelled ("Synthetic" or hidden where they carry no cost); "Effort not recorded"; "Manual or untracked"; the legend chip does not truncate at 1440.
  • 5: both log tables fit the pane at 1440 and 1280 without an inner horizontal scroll (truncate long cells with tooltips, drop to stacked rows below lg).
  • 6: all counts use the locale thousands separator; the repository filter badge is either the number of tasks in that scope (matching the list total) or removed.
  • 7: one shared formatter: relative for the last 7 days ("5m ago", "2h ago", "3d ago"), then a date ("Nov 2, 2026"), with the full local date and time in the tooltip; no raw ISO strings and no locale-default toLocaleString() output anywhere in the UI.
  • 8: completed/merged is neutral grey everywhere, per the guidelines.
  • 9: one repository chip component (short name, owner in the tooltip) used in lists and details.
  • 10: one page heading style; Access and the automation templates use panes and divider lines like the rest of the app.
  • A lint rule or unit test fails on new direct uses of toLocaleString()/toLocaleDateString() for timestamps outside the shared formatter. Browser screenshots of Analytics, LLM Log and MCP Log at 1440 and 390.

Implementation

propr-ui/src/pages/AnalyticsPage.tsx, propr-ui/src/components/Analytics/*, the LLM/MCP log pages, the shared date helpers under propr-ui/src/utils (create one formatter and replace call sites), status badge components, the repository chip. The "In progress" figure comes from the stats API (packages/api/routes stats); fix it where it is computed.

Notes

ProPR runs on SQLite only: do not add code or tests for other databases. This issue touches many files for the formatter; keep each replacement mechanical.

Activity

  1. propr-dev commented on Nov 17, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3607/claude-opus-5-5-analytics-logs-and-lists--20261117-0515-c9v
    • Base Branch: 3602-epic-0-9-o23
    • Worktree: issue-3607-20261117-0515-claude-opus-5-5-c9v

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions