feat(service-logcat): status-driven severity, scroll anchoring, per-log copy#331
Merged
Conversation
…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>
Contributor
|
Storybook Preview: https://mirrorstack-ai.github.io/web-ui-kit/pr/331/ |
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.
Three ServiceLogcat UX fixes
Follow-up to #320/#330 (the component + paging), fixing three issues found dogfooding the debug logcat:
infobut carrying an HTTP500(structuredstatus, or a trailing code parsed from the message) now renders aserror, and4xxaswarn. The escalation is threaded throughuseLogcat'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, noinfovariant.overflow-anchor: noneon 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).Also clears the copy-flash timer on unmount.
Bumps
@mirrorstack-ai/web-ui-kit0.6.3 → 0.6.4 (releaselabel).🤖 Generated with Claude Code