Skip to content

feat(service-logcat): status-driven severity, scroll anchoring, per-log copy#331

Merged
I-am-nothing merged 1 commit into
mainfrom
feat/logcat-ux-fixes
Jul 6, 2026
Merged

feat(service-logcat): status-driven severity, scroll anchoring, per-log copy#331
I-am-nothing merged 1 commit into
mainfrom
feat/logcat-ux-fixes

Conversation

@I-am-nothing

Copy link
Copy Markdown
Contributor

Three ServiceLogcat UX fixes

Follow-up to #320/#330 (the component + paging), fixing three issues found dogfooding the debug logcat:

  1. Status-driven severity — a request logged at info but carrying an HTTP 500 (structured status, or a trailing code parsed from the message) now renders as error, and 4xx as warn. The escalation is threaded through useLogcat's severity-floor filter, so an escalated entry isn't hidden when you filter by the "Errors" floor. Uses the existing severity tokens — no raw hex, no info variant.
  2. Scroll anchoringoverflow-anchor: none on the scroll pane so a scrolled-away viewport holds its read position as new lines prepend (coexists with feat(service-logcat,segmented-button): load-older paging + initialQuery/i18n labels/badge #330's load-older paging, which appends at the bottom).
  3. Per-log copy — a copy button in the expanded row detail copies just that entry (ts + effective level + msg + request/response), alongside the existing copy-all. Both copy paths share one header format.

Also clears the copy-flash timer on unmount.

Bumps @mirrorstack-ai/web-ui-kit 0.6.3 → 0.6.4 (release label).

🤖 Generated with Claude Code

…og copy

Escalate the badge + row color by HTTP status (>=500 error, 4xx warn), threaded through useLogcat's severity-floor filter so escalated entries aren't hidden when filtering by level. Add overflow-anchor:none so a scrolled-away view holds position as new lines prepend. Add a per-log copy button in the expanded row detail alongside copy-all. Bumps the kit 0.6.3 -> 0.6.4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@I-am-nothing I-am-nothing added the release Trigger a version bump on merge label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Storybook Preview: https://mirrorstack-ai.github.io/web-ui-kit/pr/331/

github-actions Bot added a commit that referenced this pull request Jul 6, 2026
@I-am-nothing I-am-nothing merged commit 942c614 into main Jul 6, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in MirrorStack Platform Jul 6, 2026
github-actions Bot added a commit that referenced this pull request Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Trigger a version bump on merge

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant