Skip to content

feat(webui): calmer, more compact Activity Log - #1024

Merged
Dumbris merged 2 commits into
mainfrom
fix/webui-activity-compact
Aug 22, 2026
Merged

Dumbris merged 2 commits into
mainfrom
fix/webui-activity-compact

Conversation

@Dumbris

@Dumbris Dumbris commented Aug 22, 2026

Copy link
Copy Markdown
Member

Owner design feedback on the Activity Log page: too colorful, too much chrome.

  • Success is quiet now: plain muted text — pills only where attention is due (red error, amber blocked, ghost rejected). KPI numbers follow (only errors/blocked colored).
  • No more double "code_execution": the Type-cell badge yields when Details already says it; parent rows carry a quiet 🧩 glyph, child "via code_execution" badge restyled ghost.
  • Compact by default: one summary strip ("54 calls · 6 errors · 1 blocked") + a Filters toggle with an active-count badge; stat cards + filter grid render only when expanded (choice persisted in localStorage, guarded). Active filters always visible as dismissable chips.
  • Intent column earns its width: icon-only operation glyph + the intent reason text with ellipsis and hover title — the overflowing colored "read" pill is gone.

New pure helpers (statusPresentation, intent/details presentation) in utils/activity.ts with unit tests: 655 vitest green, vue-tsc clean.

Known follow-up: the Playwright sweep spec 04-activity.spec.ts asserts the KPI card is visible on load — needs a toggle click added (spec lives outside frontend/, left untouched).

🤖 Generated with Claude Code

Dumbris and others added 2 commits August 22, 2026 07:22
…r, real Intent column

The Activity Log spent its loudest signals on its most common outcome. Success
rows carried a green pill, five stat cards plus a permanently open nine-control
filter grid pushed the first row below the fold, "code_execution" was printed
twice on the same line, and the Intent column was a 52px slot holding a coloured
`read` pill whose glyph overflowed it — with the declared REASON hidden in a
tooltip.

Semantic colour is now reserved for states that need attention:

- Status renders through a new pure `statusPresentation(status)` helper —
  success is plain muted text (no pill, no green), error keeps a red pill,
  blocked an amber one, rejected and any other oddity a neutral grey chip.
  Applied to the table column, the detail drawer and ActivityWidget from one
  shared mapping. The Success and Rejected KPI values lost their colour too.
- The `code_execution` marker appears once per row: the Type-column badge is
  dropped when the Details column already prints the same word (a quiet 🧩 glyph
  sits beside that text instead), and the child badge is ghost/muted context
  rather than an accent alert.
- The page opens on ONE compact strip: "54 calls · 6 errors · 1 blocked" (zeros
  omitted, only error/blocked coloured, each segment still driving the Status
  filter per #436), a Filters toggle with an active-filter count badge, Export,
  and the active filters as dismissable chips — visible even collapsed. The stat
  cards and the filter grid render only when expanded; the choice is persisted in
  localStorage behind try/catch and defaults to collapsed.
- Intent is a real column: an operation glyph followed by the reason on one
  line, ellipsised, with the full text in `title`. No colour pill, no clipped
  icon; a muted dash when nothing was declared.

Parent/child navigation, every existing filter and SSE live updates are
unchanged. New pure helpers (`statusPresentation`, `intentPresentation`,
`compactSummaryParts`, `activeFilterChips`, `activityDetailsText`,
`showParentBadgeInTypeColumn`) live in utils/activity.ts, which also absorbed the
type/status/intent maps that Activity.vue and ActivityWidget.vue had been
duplicating locally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…is Detected

Cross-review finding on #1024: filtering applies severity only when the
sensitive-data filter is 'true', but the compact strip chipped and counted a
leftover severity value after sensitive-data was switched off — the collapsed
UI claimed a filter that wasn't narrowing anything.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: b702c10
Status: ✅  Deploy successful!
Preview URL: https://d4e162f7.mcpproxy-docs.pages.dev
Branch Preview URL: https://fix-webui-activity-compact.mcpproxy-docs.pages.dev

View logs

@github-actions

github-actions Bot commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

📦 Build Artifacts

Workflow Run: View Run
Branch: fix/webui-activity-compact

Available Artifacts

  • archive-darwin-amd64 (29 MB)
  • archive-darwin-arm64 (26 MB)
  • archive-linux-amd64 (17 MB)
  • archive-linux-arm64 (15 MB)
  • archive-windows-amd64 (29 MB)
  • archive-windows-arm64 (25 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (23 MB)
  • installer-dmg-darwin-arm64 (20 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 32552020147 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Dumbris
Dumbris merged commit 3ecbf4e into main Aug 22, 2026
38 checks passed
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.

2 participants