refactor(ui): replace middle-dot separators with clearer hierarchy (#6087)

* refactor(ui): replace middle-dot separators with clearer hierarchy

* refactor(ui): use layout instead of punctuation separators
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-07 15:19:55 +08:00
1 parent d6ddceed99
commit 7cb396788c
82 files changed
+433 -462

No files matched your search

@@ -107,10 +107,8 @@ export function ChannelValidationProgress({
const status = validation?.status ?? (feature.configured ? "configured" : "needs_setup");
const presentation = channelUiPresentation(feature.name, feature.webui);
const identity = validation?.identity?.name
? validation.identity.workspace
? `${validation.identity.name} · ${validation.identity.workspace}`
: validation.identity.name
: presentation?.displayName ?? feature.display_name;
|| presentation?.displayName || feature.display_name;
const workspace = validation?.identity?.workspace;
return (
<div
@@ -173,7 +171,10 @@ export function ChannelValidationProgress({
)}
>
{channelValidationStatusIcon(status)}
<span className="min-w-0 truncate font-semibold">{identity}</span>
<span className="min-w-0 flex-1">
<span className="block truncate font-semibold">{identity}</span>
{workspace ? <span className="block truncate font-normal">{workspace}</span> : null}
</span>
<span className="lowercase">{channelValidationStatusLabel(status, t)}</span>
</div>
) : null}