Commit 8943178
feat(setup): the datasource list shows the real connect verdict, with the operator-facing reason (framework#3827) (#2926)
The framework's datasource-admin list now reports a four-state `status` from
the retained connect verdict — ok | error | blocked | unvalidated — plus an
operator-facing `statusReason` (framework#3827/#3869), and since framework#3869
the primary `default` datasource appears in the list too. The page rendered
`status` as an undifferentiated text fragment ("· error"), so a dead datasource
read exactly like an untested one and the reason never surfaced.
- Status chip per verdict: connected (emerald) / connect failed (destructive) /
blocked by policy (amber) / not connected (muted). Unknown values fall back
to a muted chip with the raw string, so a future framework state degrades
readably instead of disappearing.
- `statusReason` shows under the row for error/blocked (truncated, full text
via the native title tooltip — the file's existing idiom). This surface is
admin-gated; end users never see these strings (framework#3828).
Claude-Session: https://claude.ai/code/session_01TQVM3A9Yd6N2eZS8ZcdnMk
Co-authored-by: Claude <noreply@anthropic.com>1 parent 53642d4 commit 8943178
1 file changed
Lines changed: 49 additions & 1 deletion
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
73 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
74 | 88 | | |
75 | 89 | | |
76 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
77 | 120 | | |
78 | 121 | | |
79 | 122 | | |
| |||
456 | 499 | | |
457 | 500 | | |
458 | 501 | | |
459 | | - | |
| 502 | + | |
460 | 503 | | |
461 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
462 | 510 | | |
463 | 511 | | |
464 | 512 | | |
| |||
0 commit comments