Skip to content

feat(service-logcat,segmented-button): initialQuery seed, i18n labels, option badge#328

Merged
I-am-nothing merged 2 commits into
feat/logcat-load-olderfrom
feat/service-logcat-i18n-badge
Jul 3, 2026
Merged

feat(service-logcat,segmented-button): initialQuery seed, i18n labels, option badge#328
I-am-nothing merged 2 commits into
feat/logcat-load-olderfrom
feat/service-logcat-i18n-badge

Conversation

@I-am-nothing

Copy link
Copy Markdown
Contributor

Summary

  • ServiceLogcat gains initialQuery (seed the text filter on mount — e.g. landing pre-filtered to a module slug from a deep link) and a full labels prop covering every string it renders, so callers can localize it (defaults preserve the current English copy).
  • SegmentedButton options gain an optional badge (small count pill anchored to the option's corner).

Stacked on #326 (this branch's base) since it was built against that unmerged pagination work — retarget to main once #326 merges.

Test plan

  • pnpm typecheck clean
  • pnpm lint clean (touched files; 2 pre-existing unrelated failures noted, not touched by this change)
  • Verified live in a consuming app (web-applications debug page) via a patched local build

🤖 Generated with Claude Code

…, option badge

ServiceLogcat gains initialQuery (seed the text filter on mount, e.g. a deep
link) and an optional labels prop covering every string it renders, so
callers outside English can localize it. SegmentedButton options gain an
optional badge (small count pill anchored to the option's corner).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

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

github-actions Bot added a commit that referenced this pull request Jul 3, 2026
…labels, badge

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
github-actions Bot added a commit that referenced this pull request Jul 3, 2026
@I-am-nothing I-am-nothing merged commit 05c3ed1 into feat/logcat-load-older Jul 3, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in MirrorStack Platform Jul 3, 2026
github-actions Bot added a commit that referenced this pull request Jul 3, 2026
I-am-nothing added a commit that referenced this pull request Jul 4, 2026
…ry/i18n labels/badge (#330)

Recreates the payload of #326/#328 as one clean PR based on current main
(those were tangled by a stacked-PR merge that landed #328 into #326's
branch instead of main, and #326 had since drifted into merge conflict).

- ServiceLogcat: load-older paging affordance (auto-fires near the old end,
  stable seq/occurrence-keyed rows), initialQuery (seed the text filter on
  mount), and a full labels prop covering every string it renders.
- SegmentedButton: per-option badge (small count pill anchored to the
  option's corner).

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@I-am-nothing I-am-nothing deleted the feat/service-logcat-i18n-badge branch July 4, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant