← Back to Pull requests

ux: apply small perception and cognitive-load improvements #380

Open
unknown opened this pull request with 195 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 22, 2026 20:05 UTC
Author

Summary


  • Show active Browse filters as visible, individually removable chips after the filter dialog closes.

  • Add notification counts to each inbox tab, derived from the exact same matching rules used to render that tab.
  • Design principles applied


  • Recognition over recall: buyers can see which constraints are active without reopening filters.

  • Progressive disclosure and cognitive load: chips appear only when constraints are active and each can be removed independently.

  • Proximity and similarity: applied constraints are grouped in one compact row using consistent chips.

  • Goal clarity: inbox counts make new updates and actionable work visible before opening each tab.
  • Scope


  • Two existing client components only.

  • No API, schema, database, auth, notification-delivery, or routing changes.

  • No change to product or merchant business logic.
  • Validation


    Exact-head CI will run the existing full PR validation and targeted public shop/listing verification.

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    New Features
    Active listing filters now appear as individual chips that clear their corresponding filter.
    Notification tabs display counts, with large counts capped at 99+. Notifications are grouped into tabs according to their status, including archived, completed, scheduled, action-needed, and unread.
    Tab counts are included in accessible labels.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 195 lines (+146 / -49) across 2 files Reviewer: coderabbitai[bot] Review duration: 5m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 195 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.316
    Real PR Conversation Timeline
    1 comments
    "Review active on #380"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36% (MEDIUM) · Higher = larger blast radius
    36%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 19.2% · Safe to merge
    19.2%