Skip to content

Commit 3bc2631

Browse files
fix: adjust onboarding items (#734) (#735)
2 parents bdffaee + f73e631 commit 3bc2631

File tree

6 files changed

+28
-26
lines changed

6 files changed

+28
-26
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"tailwindcss": "^3.4.17",
8080
"tailwindcss-animate": "^1.0.7",
8181
"typescript": "^5.8.3",
82-
"vite": "^6.2.5",
82+
"vite": "^6.2.6",
8383
"vite-plugin-bundle-prefetch": "^0.0.4",
8484
"vite-plugin-svgr": "^4.3.0",
8585
"vitest": "^3.1.1"

pnpm-lock.yaml

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/onboarding/Setup/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export function OnboardingSetupList() {
1717
const { getItem } = getOnboardingSetup(onboarding.data, isLocalServer);
1818
const connectStep = getItem("device_verified");
1919
const pipelineStep = getItem("pipeline_run");
20-
const stackStep = getItem("stack_with_remote_orchestrator_created");
21-
const remotePipelineStep = getItem("pipeline_run_with_remote_orchestrator");
20+
const stackStep = getItem("stack_with_remote_artifact_store_created");
21+
const remotePipelineStep = getItem("pipeline_run_with_remote_artifact_store");
2222

2323
return (
2424
<ul className="space-y-5">

src/lib/onboarding.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ describe("returns the correct items based on the deployment type", () => {
88
const items = getSetupItems(isLocal);
99
expect(items).toEqual([
1010
"pipeline_run",
11-
"stack_with_remote_orchestrator_created",
12-
"pipeline_run_with_remote_orchestrator"
11+
"stack_with_remote_artifact_store_created",
12+
"pipeline_run_with_remote_artifact_store"
1313
]);
1414
});
1515

@@ -19,8 +19,8 @@ describe("returns the correct items based on the deployment type", () => {
1919
expect(items).toEqual([
2020
"device_verified",
2121
"pipeline_run",
22-
"stack_with_remote_orchestrator_created",
23-
"pipeline_run_with_remote_orchestrator"
22+
"stack_with_remote_artifact_store_created",
23+
"pipeline_run_with_remote_artifact_store"
2424
]);
2525
});
2626
});
@@ -73,7 +73,7 @@ describe("checks if the item has downstream items", () => {
7373
});
7474

7575
test("only final step is there", () => {
76-
const itemName: OnboardingChecklistItemName = "stack_with_remote_orchestrator_created";
76+
const itemName: OnboardingChecklistItemName = "stack_with_remote_artifact_store_created";
7777
const onboarding_state: OnboardingChecklistItemName[] = ["production_setup_completed"];
7878
const hasDownStreamFinished = checkDownstreamStep(itemName, onboarding_state, false);
7979
expect(hasDownStreamFinished).toBe(true);

src/lib/onboarding.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export function getSetupItems(isLocal: boolean): OnboardingChecklistItemName[] {
44
return [
55
...(isLocal ? [] : ["device_verified" as OnboardingChecklistItemName]),
66
"pipeline_run",
7-
"stack_with_remote_orchestrator_created",
8-
"pipeline_run_with_remote_orchestrator"
7+
"stack_with_remote_artifact_store_created",
8+
"pipeline_run_with_remote_artifact_store"
99
];
1010
}
1111

src/types/onboarding.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ export type OnboardingChecklistItemName =
22
| "device_verified"
33
| "pipeline_run"
44
| "stack_with_remote_orchestrator_created"
5+
| "stack_with_remote_artifact_store_created"
56
| "pipeline_run_with_remote_orchestrator"
7+
| "pipeline_run_with_remote_artifact_store"
68
| "production_setup_completed";
79

810
export type OnboardingResponse = OnboardingChecklistItemName[];

0 commit comments

Comments
 (0)