← Back to Pull requests

fix(console): align managed and custom domain views #2765

Closed
unknown closed this pull request without merging on Nov 17, 2026 06:38 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 02:59 UTC
Author

TL;DR

Separate managed and custom domain views and align their tables.

Design: BUI-1122.
Documentation: Domains.

How it works

List responses expose persisted kind. Managed domain filters platform entries before search, counting and empty-state selection; both views use underline tabs.

With one platform and one custom hostname, Managed domain shows one row. Both tables display Domain, Target type, Associated with, Port and Actions.

Select a custom hostname to view DNS/HTTPS status, verify configuration, retry failed HTTPS setup or delete it. Binding controls are removed from these dialogs; binding and unbinding remain available through the CLI or SDK.

Deploy the API returning kind before the dashboard.

Before / after

Local simulations use identical mock data, a dark theme and a 1440 × 900 viewport. Before: b81a1a6b2 (the branch's base commit on main); after: 7da5dc2f0. DNS and HTTPS states are simulated.

| View | Before | After |
| --- | --- | --- |
| All domains → Managed domain | !Before: all domains, including custom domains | !After: managed domains only, with underline tabs |
| Custom domain list | !Before: custom domain status row | !After: custom domain table with matching five columns |
| Custom domain configuration | !Before: configuration dialog with binding controls | !After: DNS and HTTPS configuration without binding controls |

Verification

Focused dashboard and API tests, dashboard build and API compatibility checks pass. The original managed-domain regression assertions fail before the fix.

Browser checks covered matching columns, themes, narrow layouts, keyboard navigation and custom-domain setup/deletion. Database integration tests were not run.

Diff: 300 lines (+225 / -75) across 3 files Reviewer: DorianZheng Review duration: 219m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 300 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
56%
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.341
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2765"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 56.8% 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: 40.1% (MEDIUM) · Higher = larger blast radius
40.1%
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: 56.8% · Lower = rushed or shallow review
56.8%
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: 17.3% · Safe to merge
17.3%