Repository navigation
feat(webui): calmer, more compact Activity Log - #1024
Merged
Merged
Conversation
…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>
Deploying mcpproxy-docs with
|
| 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 |
Contributor
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 32552020147 --repo smart-mcp-proxy/mcpproxy-go
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owner design feedback on the Activity Log page: too colorful, too much chrome.
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