Skip to content

Commit 0218386

Browse files
committed
Remove unused caretDirection from tour types
1 parent 4023c9b commit 0218386

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

apps/code/src/renderer/features/tour/tours/createFirstTaskTour.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ export const createFirstTaskTour: TourDefinition = {
99
{
1010
id: "folder-picker",
1111
target: "folder-picker",
12-
caretDirection: "bottom",
12+
1313
hogSrc: explorerHog,
1414
message: "Pick a repo to work with. This tells me where your code lives!",
1515
advanceOn: { type: "action" },
1616
},
1717
{
1818
id: "task-editor",
1919
target: "task-input-editor",
20-
caretDirection: "bottom",
20+
2121
hogSrc: builderHog,
2222
message:
2323
"Describe what you want to build or fix. Be as specific as you like!",
@@ -26,7 +26,7 @@ export const createFirstTaskTour: TourDefinition = {
2626
{
2727
id: "submit-button",
2828
target: "submit-button",
29-
caretDirection: "left",
29+
3030
hogSrc: happyHog,
3131
message: "Hit send or press Enter to launch your first agent!",
3232
advanceOn: { type: "click" },

apps/code/src/renderer/features/tour/types.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
export type CaretDirection = "top" | "right" | "bottom" | "left";
2-
31
export type TourStepAdvance = { type: "action" } | { type: "click" };
42

53
export interface TourStep {
64
id: string;
75
target: string;
8-
caretDirection: CaretDirection;
96
hogSrc: string;
107
message: string;
118
advanceOn: TourStepAdvance;

0 commit comments

Comments
 (0)