← Back to Pull requests

feat(ui): move the webapp to the redesigned ui-kit pages and update Cypress PLAT-2005 #6242

Open
unknown opened this pull request with 321 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 01, 2026 13:43 UTC
Author

What this PR does / why we need it:


<!--
Please add a meaningful description for future maintainers on what this change does and why we need it.
-->
Moves the webapp to the redesigned ui-kit pages, and updates the Cypress suite to match them.

Draft: it can't build yet. It needs a ui-kit release with plat-1546-refactor-moving-to-shadcn, which now includes the input names the tests use (odigos-io/ui-kit#1523). package.json and yarn.lock are left out for that reason: locally they point at a yalc build. The release bump also needs:

| Package | Version |
|---|---|
| react, react-dom | 19.3.1 |
| styled-components | 6.6.0 |
| @apollo/client | ^4.3.5 |

Host

  • Pages use the new containers (OverviewNext, SamplingRulesNext, SettingsNext and so on), with NavbarNext, ToastListNext and AppHeader.

  • Adds the /profiling page, and the menu groups its items under Observe and Pipeline.

  • Adds the operations the new pages use: live-traffic learning, disabling source profiling, and the profiling cache.

  • This includes the host side of #6006.
  • Cypress

  • Drawers: [data-slot=sheet-content] replaces [data-id=drawer], and Edit and Delete are header buttons, not a dropdown.

  • Tests wait for the drawer to leave edit mode before closing it, and for the settings toast before ending. Without that wait, the page teardown can cancel the save.

  • Updated selectors for the source's service name, the PII chips, system-drawer, the settings dropdowns and the settings reset menu.

  • The Highly Relevant rule is now a Duration rule. An Error rule on the whole cluster reads as the "Keep All Error Traces" preset and isn't listed.
  • How it was tested
    The full suite passed 67 of 67 locally, on a clean kind cluster (Odigos v1.39.0, community tier) with the OSS backend and this webapp. It used a local build of ui-kit's plat-1546-refactor-moving-to-shadcn at 246de399, which includes the input names (#1523) and the read-only changes (#1531).

    Changelog entry: Does this PR introduce a user-facing bug fix, feature, dependency update, or breaking change??


    <!--
    This section will go in the release notes for this version. Is this something users should be able to find easily?
    If no, just write "NONE" in the release-note block below.
    If yes, please add a release note in the block below describing this in 1-2 sentences for our changelog.
    -->

    ``release-note
    The Odigos UI moves to a new design, with a grouped side menu and a dedicated Profiling page.
    ``

    🤖 Generated with Claude Code

    Diff: 321 lines (+240 / -81) across 4 files Reviewer: BenElferink Review duration: 2473m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.42) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 321 lines diff across 4 files
    0.42
    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
    Diff Size diff_size
    0.345
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #6242"
    general weight: 0.35
    Reviewers
    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: 41.9% (MEDIUM) · Higher = larger blast radius
    41.9%
    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: 22.4% · Safe to merge
    22.4%