mirror of
https://github.com/stablyai/orca.git
synced 2026-10-15 08:03:08 +00:00
@@ -250,7 +250,7 @@ describe('contextual tour gate', () => {
|
||||
const visibleStepIndexes = getVisibleContextualTourStepIndexes(tour, targetExists)
|
||||
|
||||
expect(tour.steps.map((step) => step.title)).toEqual([
|
||||
'Work side by side',
|
||||
'Split a terminal pane',
|
||||
'Run another task in parallel'
|
||||
])
|
||||
expect(visibleStepIndexes).toEqual([0, 1])
|
||||
|
||||
@@ -341,7 +341,7 @@ export default function TabGroupPanel({
|
||||
terminal-area tip instead of attaching to toolbar chrome. */}
|
||||
{isFocused ? (
|
||||
<div
|
||||
className="pointer-events-none absolute inset-x-0 top-1/3 h-px"
|
||||
className="pointer-events-none absolute inset-x-0 top-1/4 h-px"
|
||||
data-contextual-tour-target="workspace-agent-terminal-tip"
|
||||
/>
|
||||
) : null}
|
||||
|
||||
@@ -46,7 +46,7 @@ describe('contextual tour definitions', () => {
|
||||
// Two steps only: tasks and orchestration education lives in their own
|
||||
// page tours, so the in-app tour ends after the worktree CTA.
|
||||
expect(tour?.steps.map((step) => step.title)).toEqual([
|
||||
'Work side by side',
|
||||
'Split a terminal pane',
|
||||
'Run another task in parallel'
|
||||
])
|
||||
// The opening step teaches the split gesture and offers the convenience button.
|
||||
|
||||
@@ -73,8 +73,8 @@ export const CONTEXTUAL_TOURS = [
|
||||
id: 'workspace-agent-sessions',
|
||||
steps: [
|
||||
{
|
||||
title: 'Work side by side',
|
||||
body: 'Run more than one thread of work at once. Open a second terminal pane with {terminal.splitRight}, or right-click the pane for split options.',
|
||||
title: 'Split a terminal pane',
|
||||
body: 'Open a second terminal pane with {terminal.splitRight}, or right-click the pane for split options.',
|
||||
targetSelector:
|
||||
'[data-contextual-tour-target="terminal-pane-split-target"], [data-contextual-tour-target="workspace-agent-terminal-tip"]',
|
||||
requiredForStart: true,
|
||||
|
||||
Reference in New Issue
Block a user