fix(qq): clarify QR binding states and setup actions (#6340)

* fix(qq): clarify QR binding states and setup actions

* fix(qq): confirm rebinding instead of showing a persistent warning

* fix(qq): make rebind credential warning conditional

* docs(qq): align rebind guide with conditional warning
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 01:55:20 +08:00
1 parent 51a0fc83a2
commit 130f4edefe
27 files changed
+634 -168

No files matched your search

@@ -121,7 +121,7 @@ export function ChannelSetupPanel({
const header = (
<div className="flex min-w-0 items-center gap-3">
<ChannelLogo feature={feature} showBrandLogos={showBrandLogos} />
<h3 className="sr-only">{displayName}</h3>
<h3 className="text-ui-heading">{displayName}</h3>
{missingSupport && feature.install_supported ? (
<Button
type="button"
@@ -508,7 +508,8 @@ function ChannelSetupSurface({
connectFlow={mode === "connect" && ConnectFlow ? <Suspense fallback={<ChannelPluginLoading compact />}>
<ConnectFlow token={token} feature={feature}
idleLabel={setup.primaryActionLabel ?? tx("settings.channels.connect", "Connect")}
connectRequestId={connectRequestId} onFeaturesUpdate={onFeaturesUpdate} />
connectRequestId={connectRequestId} onOpenAdvanced={() => setAdvancedOpen(true)}
onFeaturesUpdate={onFeaturesUpdate} />
</Suspense> : undefined}
/>;
}