Skip to content

When onboarding a new organization from the welcome UI, the welcome UI should wait for for the newly created Org to be ready before allowing to switch to it. #45

@nexus49

Description

@nexus49

Description

Currently the Ui creates the account and returns immediatly.

I think it would be good to display some waiting indicator after submission and then close this waiting indicator once the account is ready.

You can see account readiness by requesting the status.conditions of the accounts and wayt for the condition of type:Ready to have the status:"True".

see an example "ready" account here:

apiVersion: core.platform-mesh.io/v1alpha1
kind: Account
metadata:
  annotations:
    kcp.io/cluster: wonzzids0iy59pfu
  creationTimestamp: "2025-09-23T15:01:41Z"
  finalizers:
  - account.core.platform-mesh.io/finalizer
  - account.core.platform-mesh.io/info
  - account.core.platform-mesh.io/fga
  generation: 1
  name: bastian
  resourceVersion: "2179"
  uid: 96583dd1-b397-4eb8-9eb1-eb90ae8361d1
spec:
  creator: [email protected]
  displayName: ""
  type: org
status:
  conditions:
  - lastTransitionTime: "2025-09-23T15:01:46Z"
    message: The resource is ready
    reason: Complete
    status: "True"
    type: Ready
  - lastTransitionTime: "2025-09-23T15:01:41Z"
    message: The subroutine is complete
    reason: Complete
    status: "True"
    type: WorkspaceSubroutine_Ready
  - lastTransitionTime: "2025-09-23T15:01:46Z"
    message: The subroutine is complete
    reason: Complete
    status: "True"
    type: AccountInfoSubroutine_Ready
  - lastTransitionTime: "2025-09-23T15:01:46Z"
    message: The subroutine is complete
    reason: Complete
    status: "True"
    type: FGASubroutine_Ready

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions