From 4ff736734dc1ea35e5fa82487139ca5c4e90941e Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Fri, 30 Oct 2026 22:18:11 +0700 Subject: [PATCH] ui(cordn): show setup progress through the join request --- src/components/crew/CordnNativePanel.tsx | 31 ++++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/src/components/crew/CordnNativePanel.tsx b/src/components/crew/CordnNativePanel.tsx index a987ff4..0595282 100644 --- a/src/components/crew/CordnNativePanel.tsx +++ b/src/components/crew/CordnNativePanel.tsx @@ -875,14 +875,29 @@ export function CordnNativePanel({

    - {steps.map((step, index) => ( -
  1. - - {index + 1} - - {step} -
  2. - ))} + {steps.map((step, index) => { + // Members see the setup move visibly: device key prepared → + // request sent → waiting for an admin. Founders start at step 1. + const stepDone = !canCreate && index === 0 && (awaiting || native.keyPackageReady); + const stepWaiting = !canCreate && index === 1 && awaiting; + return ( +
  3. + + {stepDone ? : stepWaiting ? : index + 1} + + {step} +
  4. + ); + })}