Web product workflows
The Web Admin Console guides an operator from access to a working application and cluster. Feature-oriented pages load state from the Admin Console API, turn that state into focused configuration or operations, and refresh the view after a change. See Web Admin Console for the system view and Web frontend architecture for the shared browser structure.
Operator journey map
The console uses a small set of connected journeys rather than isolated pages. Login establishes the session, application selection sets the scope, and each later action either changes delivery state or helps the operator assess that state.
flowchart TD
A[Sign in] --> B{Application or cluster ready?}
B -->|No application| C[Add license or air-gap assets]
B -->|Cluster needs nodes| D[Manage cluster nodes]
B -->|Ready| E[Select application]
C --> F[Configure application]
D --> F
E --> F
F --> G[Run preflight checks]
G --> H[Deploy release]
H --> I[Observe status and metrics]
I --> J{Needs action?}
J -->|Update or redeploy| K[Review version history]
J -->|Diagnose| L[Collect or analyze support bundle]
J -->|Operate cluster| D
K --> H
Access and initial setup
The access flow protects the console and then sends the operator to the next unfinished setup step. A shared password or identity provider starts the session; application discovery, pending installation data, and cluster readiness decide whether the next page is license upload, air-gap upload, node management, or an application dashboard (web/…/SecureAdminConsole.tsx• L50-89, web/…/AppDetailPage.tsx• L94-109).
The console also treats an empty application list as a meaningful state. It does not show an empty dashboard. It directs the operator to add an application or to wait for the embedded cluster to become ready (web/…/AppDetailPage.tsx• L112-152). A Helm-only installation has its own waiting page, which watches for the first installed application before returning the operator to the application list (web/…/InstallWithHelm.tsx• L5-15).
References: web/…/SecureAdminConsole.tsx• L50-89 web/…/AppDetailPage.tsx• L94-109 web/…/InstallWithHelm.tsx• L5-15
Application configuration
The configuration journey presents the release's configuration groups as an operator form. The page loads the selected sequence, updates dependent fields while the operator edits, and sends the final values for validation and save (web/…/AppConfig.tsx• L228-287, web/…/AppConfig.tsx• L527-620). This lets the UI show problems near the affected group instead of treating the form as an unstructured set of fields.
Configuration is tied to release state. During initial setup the page uses the initial sequence and moves to preflight or the dashboard after a successful save. During normal operation it uses the deployed sequence or a requested sequence and can create a new version when the operator edits the current configuration (web/…/AppConfig.tsx• L289-305, web/…/AppConfig.tsx• L350-445). The application sub-navigation selects the configuration sequence from deployed or pending release state so the form matches the operator's delivery context (web/…/SubNavBar.jsx• L23-35, web/…/subNavConfig.js• L30-36).
References: web/…/AppConfig.tsx• L228-287 web/…/AppConfig.tsx• L289-305 web/…/AppConfig.tsx• L350-445 web/…/AppConfig.tsx• L527-620 web/…/SubNavBar.jsx• L23-35
Release validation and delivery
Preflight checks are the gate between configuration and deployment. A shared preflight data flow serves both installation and upgrade journeys, turns pending checks into progress state, and keeps collection errors visible until a later result clears them (web/…/getPreflightResult.tsx• L3-12, web/…/usePreflightResults.ts• L38-89). Notices appear as warnings without becoming saved analyzer results, while failing strict checks keep deployment blocked. The same page supports rerunning checks and deploying the selected release after the results are available (web/…/PreflightResultPage.tsx• L137-185, web/…/PreflightResultPage.tsx• L187-255).
The preflight flow polls while a run is incomplete or while collection errors may recover. It stops when analyzer results are complete or when a notice-only result is available. The UI exposes separate states for pending work, skipped checks, result errors, RBAC errors, warnings, and deployment blocking (web/…/usePreflightResults.ts• L51-89, web/…/types.ts• L48-75).
The dashboard and version history provide the two main delivery views. The dashboard checks for updates and exposes actions for the current application. Version history lets the operator compare releases, inspect details and logs, deploy a selected release, or redeploy an existing one (web/…/Dashboard.tsx• L480-546, web/…/AppVersionHistory.tsx• L252-260, web/…/AppDetailPage.tsx• L204-288). Air-gapped installations follow the same goal through a bundle upload: upload progress finishes by starting update-status tracking rather than silently changing the displayed release (web/…/Dashboard.tsx• L289-346).
During a cluster update, the upgrade status modal keeps the operator on the progress view while it checks whether the API is reachable. Temporary server errors keep the polling loop active, and recovery resumes upgrade-status polling. An actual unauthorized response ends the session instead of treating the outage as progress (web/…/UpgradeStatusModal.tsx• L19-49, web/…/UpgradeStatusModal.test.tsx• L27-65).
GitOps changes the delivery contract. The operator chooses a provider and repository, completes the setup, and tests repository access. Once enabled, application updates are committed to Git instead of being deployed directly from the console (web/…/SetupProvider.jsx• L88-129, web/…/AppGitops.jsx• L84-129).
References: web/…/getPreflightResult.tsx• L3-12 web/…/usePreflightResults.ts• L38-89 web/…/types.ts• L48-75 web/…/PreflightResultPage.tsx• L137-185 web/…/PreflightResultPage.tsx• L187-255 web/…/Dashboard.tsx• L480-546 web/…/Dashboard.tsx• L289-346 web/…/AppVersionHistory.tsx• L252-260 web/…/UpgradeStatusModal.tsx• L19-49 web/…/UpgradeStatusModal.test.tsx• L27-65 web/…/SetupProvider.jsx• L88-129
Application observation and diagnosis
The application dashboard is the live view of an application's downstream state. It combines release data, license data, update state, resource states, metrics, and application links. Dashboard data refreshes on a short interval so the operator can see progress without leaving the page (web/…/Dashboard.tsx• L491-546). Resource states are grouped and ordered with failed or unavailable resources before healthy resources, which keeps the most urgent state visible first (web/…/Dashboard.tsx• L383-448).
The dashboard license card makes license state part of that live view. It shows expiry, license type, and entitlements. It lets the operator sync a connected license or upload one for an air-gapped application, then refreshes the displayed license and explains whether the resulting version is ready for deployment or has been committed through GitOps (web/…/DashboardLicenseCard.tsx• L164-176, web/…/DashboardLicenseCard.tsx• L202-257, web/…/DashboardLicenseCard.tsx• L379-441).
Troubleshooting extends observation into diagnosis. The troubleshooting area keeps support-bundle collection and analysis in one flow. A generated bundle is polled until it leaves the running state, then the operator can inspect its results or its file contents (web/…/TroubleshootContainer.tsx• L46-98, web/…/Root.tsx• L1075-1123). This separates normal status review from the heavier evidence collection needed for an incident.
Node detail provides a narrower observation scope for embedded clusters. The cluster page lists node readiness, roles, and resource use. A node link then shows the workloads running on that node (web/…/EmbeddedClusterManagement.tsx• L64-135, web/…/EmbeddedClusterViewNode.jsx• L104-130).
References: web/…/Dashboard.tsx• L383-448 web/…/Dashboard.tsx• L491-575 web/…/DashboardLicenseCard.tsx• L164-176 web/…/DashboardLicenseCard.tsx• L202-257 web/…/DashboardLicenseCard.tsx• L379-441 web/…/TroubleshootContainer.tsx• L46-98 web/…/Root.tsx• L1075-1123 web/…/EmbeddedClusterManagement.tsx• L64-135 web/…/EmbeddedClusterViewNode.jsx• L104-130
Cluster administration
Cluster management gives the operator a control plane for the machines that run the application. The console supports separate KURL and embedded-cluster views, while the route is enabled only when the matching cluster capability is present (web/…/Root.tsx• L839-879). Both views turn node operations into a safe sequence: inspect current nodes, choose a node role when needed, obtain a time-limited join command, and then refresh node state.
The embedded-cluster flow supports node roles and displays readiness and resource use. It can generate the commands needed to join a node, and its initial-install continuation sends the operator to configuration, preflight, or the dashboard based on the current release state (web/…/EmbeddedClusterManagement.tsx• L180-230, web/…/EmbeddedClusterManagement.tsx• L378-420, web/…/EmbeddedClusterManagement.tsx• L422-537). The KURL flow adds node deletion and drain actions while polling node status so the page reflects changes made during administration (web/…/KurlClusterManagement.jsx• L35-77, web/…/KurlClusterManagement.jsx• L79-202).
References: web/…/Root.tsx• L839-879 web/…/EmbeddedClusterManagement.tsx• L180-230 web/…/EmbeddedClusterManagement.tsx• L378-420 web/…/EmbeddedClusterManagement.tsx• L422-537 web/…/KurlClusterManagement.jsx• L35-77 web/…/KurlClusterManagement.jsx• L79-202
Administrative settings
Administrative settings extend the application journey beyond release delivery. The console lets an operator manage a license and service-account token for an application, configure registry access for air-gapped work, and manage identity providers and role groups (web/…/AppLicense.tsx• L89-212, web/…/DashboardLicenseCard.tsx• L202-257, web/…/AppRegistrySettings.jsx• L5-17, web/…/IdentityProviders.jsx• L59-108). These settings affect what the application can receive and who can use the console.
Backups and snapshots use a separate top-level journey because they can cover an instance or a selected application. The wrapper chooses the supported application and exposes snapshot listing, settings, details, and restore as related views (web/…/SnapshotsWrapper.jsx• L10-43, web/…/Root.tsx• L897-973). The snapshot list reports progress and routes the operator to settings when the cluster lacks the access needed to make a backup (web/…/Snapshots.jsx• L80-177).
References: web/…/AppLicense.tsx• L89-212 web/…/DashboardLicenseCard.tsx• L202-257 web/…/AppRegistrySettings.jsx• L5-17 web/…/IdentityProviders.jsx• L59-108 web/…/SnapshotsWrapper.jsx• L10-43 web/…/Snapshots.jsx• L80-177
Change checklist
When these files or sections are changed, remember to consider these:
- A new application or cluster state must update the redirect rules, the global navigation, and the next-step route used by initial setup.
- A change to release or configuration selection must keep sub-navigation sequence selection aligned with the configuration and version-history routes.
- A new deployment state must update both the polling or refresh path and the user action that can follow it. Otherwise the screen can show old release or resource data after a successful operation.
- A new cluster capability must update route gating and the navigation visibility rules together. KURL and embedded-cluster paths do not use the same node API contract.
- A new identity, registry, license, or snapshot setting must preserve its scope: global settings and application settings use different API paths and can affect later operator access or delivery.
- A GitOps change must preserve the contract between provider setup, repository access testing, application binding, and the rule that blocks direct deployment.
- A change to preflight response states must keep result unmarshalling, polling decisions, displayed warnings, deployment blocking, and both installation and upgrade query paths aligned.
- A change to upgrade status handling must keep temporary API failures recoverable while preserving logout on unauthorized responses. The progress modal, status refresh, and session behavior must remain aligned.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| The application list is empty after login | The operator cannot use an application dashboard | Route to license or air-gap setup, or to embedded-cluster loading instead of rendering an empty app view (web/…/AppDetailPage.tsx• L98-108) |
| A required configuration item is missing | Save fails and the operator may not see which group needs attention | Mark required items, set group errors, and move the URL to the first affected group (web/…/AppConfig.tsx• L335-347) |
| A preflight run is still pending, returns collection errors, or has a failing strict check | The operator may see incomplete results or may deploy an unsafe release | Poll pending and recoverable error states, show collection and RBAC errors, and block deployment while strict checks fail (web/…/usePreflightResults.ts• L51-89, web/…/types.ts• L63-75, web/…/PreflightResultPage.tsx• L225-253) |
| A GitOps repository connection is not valid | Updates cannot be committed through the selected repository | Test the connection and show a failure result before treating setup as complete (web/…/AppGitops.jsx• L84-129) |
| Node status polling cannot reach the cluster | The operator may act on stale or missing node state | Stop or surface the polling error and require a later refresh (web/…/KurlClusterManagement.jsx• L44-77, web/…/EmbeddedClusterManagement.tsx• L97-135) |
| Snapshot creation lacks required Velero access | A backup cannot start | Send the operator to snapshot settings when the API reports the access requirement (web/…/Snapshots.jsx• L161-177) |
| The upgrade-status API returns a temporary server error | The progress view can falsely report a failed connection or stop tracking a cluster update | Keep the status interval active, retry reachability, and resume status polling after recovery (web/…/UpgradeStatusModal.tsx• L19-49, web/…/UpgradeStatusModal.test.tsx• L39-58) |
| The session expires during an API request | The current operation stops and the console must not continue as an authenticated user | Handle unauthorized responses by clearing the local session and logging out (web/…/SecureAdminConsole.tsx• L109-147, web/…/NavBar.tsx• L50-80, web/…/UpgradeStatusModal.tsx• L26-32) |
Key files
| File | Why to read it |
|---|---|
| web/…/Root.tsx | Shows the route map and the capability gates that connect setup, application, cluster, GitOps, snapshots, and troubleshooting journeys. |
| web/…/AppDetailPage.tsx | Shows application selection, empty-state redirects, refresh behavior, and the deployment actions shared by application pages. |
| web/…/SubNavBar.jsx | Shows how the selected application and release state shape the feature tabs and configuration sequence. |
| web/…/AppConfig.tsx | Shows the configuration form lifecycle from load through live validation, save, and the next setup step. |
| web/…/PreflightResultPage.tsx | Shows the validation gate between configuration and deployment. |
| web/…/getPreflightResult.tsx | Connects installation and upgrade preflight views to the application or release-specific result endpoint. |
| web/…/usePreflightResults.ts | Shows how preflight responses become operator state for progress, polling, warnings, errors, and deployment blocking. |
| web/…/types.ts | Defines the preflight states that distinguish pending work, notices, analyzer results, collection errors, and strict failures. |
| web/…/Dashboard.tsx | Shows the live application status view and update or air-gap progress flow. |
| web/…/DashboardLicenseCard.tsx | Shows how the dashboard exposes license status and connects license sync or upload to the next delivery step. |
| web/…/AppVersionHistory.tsx | Shows the release review, comparison, logs, and deployment journey. |
| web/…/UpgradeStatusModal.tsx | Shows how the console presents cluster update progress, retries temporary API outages, and handles session expiry. |
| web/…/UpgradeStatusModal.test.tsx | Shows the expected recovery behavior for repeated server errors and the logout behavior for an unauthorized response. |
| web/…/context.js | Shows the shared state and service boundary for GitOps provider setup and application binding. |
| web/…/EmbeddedClusterManagement.tsx | Shows embedded-cluster node observation, role selection, join commands, and setup continuation. |
| web/…/KurlClusterManagement.jsx | Shows KURL node polling and node drain, delete, and join operations. |
| web/…/TroubleshootContainer.tsx | Shows how support-bundle generation and analysis share progress state. |
| web/…/SnapshotsWrapper.jsx | Shows the snapshot route family and its application or instance scope. |