Timeline Component - UX Specification

This document defines the complete UX rules and specifications for the Jig Step Timeline component.

Table of Contents
  1. Overview
  2. Timeline Modes
  3. Step Tiles
  4. Transition Handles
  5. Animation Groups
  6. Selection Model
  7. Multi-Selection
  8. Autoplay System
  9. Wrap-Around Transition
  10. Options Menu
  11. Autoplay Settings Popup
  12. Validation Rules
  13. Visual Specifications

1. Overview

The timeline is a horizontal strip displaying all steps in a Jig. Users can navigate between steps, configure transitions, and create animation groups.

Key Concepts


2. Timeline Modes

Default Mode

ElementBehavior
Transition handlesHidden
Animation groupsSubtle styling (light blue background, no label)
Step gap8px between steps outside groups
Step gap in groups4px between steps inside animation groups
Step clickNavigates to that step
Edit buttonShows pencil icon

Edit Mode

ElementBehavior
Transition handlesVisible
Animation groupsFull blue wrapper with label below
Step gap8px (handles appear between steps)
Options menuVisible
Autoplay settings buttonVisible
Edit buttonShows checkmark icon

Mode Transitions

Entering Edit Mode:

Exiting Edit Mode:

On Exit - Clear:


3. Step Tiles

Visual States

StateAppearance
DefaultWhite background, subtle shadow
FocusBlue border (full opacity), enhanced shadow
Multi-selectedBlue border (40% opacity)
Focus + Multi-selectedFocus style wins (full opacity)

Click Behaviors

ActionResult
ClickSelect only this step, clear multi-selection, navigate 3D view
Shift+ClickExtend selection from focus to clicked (range)
Cmd/Ctrl+ClickToggle step in multi-selection, move focus to clicked

Focus Rules


4. Transition Handles

Shape Meanings

ShapeTrigger TypeMeaning
CircleManualUser must click to advance
Triangle (pointing right)AutoplayAuto-advances after delay

Visual States

StateAppearance
Idle (manual)Small white circle
Idle (autoplay)Small white triangle
HoverExpands to rounded rectangle with arrow icon
SelectedBlue rounded rectangle with white arrow
FocusLight blue background, blue arrow
Multi-selectedLight blue background (40% opacity)
Wrap-aroundDashed border, lighter background

Click Behaviors (Edit Mode Only)

ActionResult
ClickSelect this transition, show Transition panel
Shift+ClickExtend selection from focus transition to clicked
Cmd/Ctrl+ClickToggle transition in multi-selection

Visibility Rules


5. Animation Groups

Visual Appearance

Default Mode:

Edit Mode:

Labels

TypeIconLabel Text
PlaythroughDouble arrow (→→)"Playthrough"
LoopCircular arrows"Loop"
BoomerangBidirectional arrows (←→)"Boomerang"

Animation Types

TypeBehavior
PlaythroughPlay once from start to end
LoopRepeat N times (start → end, restart)
BoomerangPing-pong N times (start → end → start)

Selection

Internal Transitions

Transitions between steps within a group are always autoplay. Cannot change to manual. Panel shows disabled toggle with message: "Autoplay is controlled by the Animation"

6. Selection Model

Mutual Exclusivity

Only ONE of these can be active at a time:

Selection Priority for Panel Display

  1. Animation selected → Animation panel
  2. Transition selected → Transition panel
  3. Multiple transitions selected → Multi-Transition panel
  4. Multiple steps selected → Step panel (multi-selection mode)
  5. Default → Step panel for focus step

Clearing Rules

When clicking a Step:

When clicking a Transition:

When clicking an Animation:


7. Multi-Selection

Model (Google Sheets Style)

Step Multi-Selection

Shift+Click:

  1. Keep focus unchanged (anchor)
  2. Select all steps from focus to clicked (inclusive)
  3. Navigate to clicked step

Cmd/Ctrl+Click:

  1. If no multi-selection and clicking different step:
  2. If multi-selection exists:
  3. Move focus to clicked step

Regular Click:

Transition Multi-Selection

Same logic as steps.

Creating Animation from Multi-Selection

Requirements:

When valid:


8. Autoplay System

Trigger Types

TriggerBehavior
ManualUser must click Next or a step to advance
AutoplayAutomatically advances after configured delay

Autoplay Flow

Current Step → wait delay → animate to Next Step → check next transition → repeat if autoplay

Wrap-Around

Playback Behavior


9. Wrap-Around Transition

Purpose

Connects the last step back to the first step, enabling continuous playback.

Appearance

Panel Display

Restrictions

Cannot create animation starting from last step. Animation requires at least 2 steps, and last step has no "next" step to include.

10. Options Menu

Dropdown from "Options" button (Edit mode only).

Menu Items

Select all steps

Select all transitions

Reverse timeline

Close Behavior


11. Autoplay Settings Popup

Trigger

Click the fast-forward (>>) button in timeline controls (Edit mode only).

Purpose

Batch-enable autoplay for all transitions not inside animation groups.

Content

Buttons

ButtonAction
CancelClose without changes
Enable autoplayApply to all valid transitions, close

Scope

Only affects transitions NOT inside animation groups. Transitions within animations are controlled by the animation itself.

Close Behavior


12. Validation Rules

Animation Group Overlap

Rule: A step can only belong to ONE animation group.

When creating animation:

When editing animation range:

Animation Creation Restrictions

ConditionCan Create?
Starting from last stepNo
Step already in animationNo
Next step already in animationNo
Non-contiguous selectionNo
Valid contiguous stepsYes

Transition Inside Animation


13. Visual Specifications

Colors

TokenValueUsage
Accent#2F4DE4Primary blue, selections, buttons
Accent Light#e0e7ffHover states, focus backgrounds
Accent Lighter#f0f4ffSubtle highlights
Text Primary#1e293bMain text
Text Secondary#64748bDescriptions, labels
Background#f8fafcPage background

Dimensions

ElementSize
Step tile140px × 112px
Step tile radius20px
Handle (idle)16px × 16px
Handle (expanded)40px × 40px
Timeline gap8px
Animation group padding8px (default) / 10px (edit)
Animation group internal gap4px (default) / 0 (edit)

Animation Timing

PropertyEasing
Bouncy interactionscubic-bezier(0.34, 1.56, 0.64, 1)
Smooth transitionscubic-bezier(0.22, 1, 0.36, 1)

Selection Opacity

StateBorder Opacity
Focus100%
Multi-selected (not focus)40%

Interaction Flow Examples

Navigate to Step 3

  1. User clicks Step 3 tile
  2. Step 3 becomes focus (blue border)
  3. 3D view animates to Step 3
  4. Property panel shows Step 3 properties

Range Select Steps 2-5

  1. User clicks Step 2 (becomes focus)
  2. User Shift+clicks Step 5
  3. Steps 2, 3, 4, 5 all selected
  4. Step 2 shows focus style (full opacity)
  5. Steps 3, 4, 5 show multi-selected style (40% opacity)
  6. Property panel shows multi-selection state

Select Transition

  1. User clicks transition handle between Step 2 and 3
  2. If in Default mode, enters Edit mode
  3. Handle shows selected state (blue)
  4. Step selection cleared
  5. Property panel shows Transition properties

Enable Autoplay for All

  1. User clicks >> button
  2. Popup appears
  3. User sets delay to "1.2 s"
  4. User clicks "Enable autoplay"
  5. All transitions outside animations become autoplay
  6. Handles change from circles to triangles
  7. Popup closes

Create Animation from Selection

  1. User selects Steps 2, 3, 4 (Shift+click or Cmd+click)
  2. "+" button appears (all steps valid)
  3. User clicks "+"
  4. Animation created spanning Steps 2-4
  5. Steps now wrapped in blue container
  6. Animation panel appears

Document version: 2.0 | Last updated: January 2025