Jig Workshop โ Design Documentation v1.0
The Workshop supports two selection modes for 3D objects:
| Mode | Visual | What It Selects | Use Case |
|---|---|---|---|
| Sub-Object | ๐ข Green outline | Individual mesh/part | Editing individual pieces (wheel, door, etc.) |
| Whole Object | ๐ต Blue outline (all children) | InnerParent group | Moving/editing entire imported object |
| Mixed | ๐ข + ๐ต Both | Combination of both types | Batch operations on diverse selection |
Selection domains interact with specific rules to maintain consistency:
Focus Step is Always Selected
There is always exactly one "focus step" โ the step currently being viewed. This step tile always appears selected. Multi-selection can add additional steps, but the focus step persists.
Edit Mode = Transition Domain
3D Selection Rules
Step Interactions Never Touch Edit Mode
Step Multi-Select Clears 3D
Within 3D Domain:
The system remembers the user's preferred selection mode:
| Action | Behavior |
|---|---|
Click |
Select single object (clears previous), uses preferred mode |
Shift + Click |
Add/remove from multi-selection (respects current mode) |
Right-click on selected |
Show context menu for current selection |
Right-click on unselected |
B1 Rule: Select it first, then show its menu |
Right-click on empty |
Show canvas menu (keeps current selection) |
TAB |
Toggle Sub-Object โ Whole Object mode |
Rule: Right-clicking on an unselected object ALWAYS selects it first, then shows its context menu.
This ensures the menu always reflects what the user clicked on, eliminating confusion about "which object will this action affect?"
Rule: The context menu is always for what was right-clicked, regardless of other visual selections.
Example: If a 3D object AND a Step both appear selected, right-clicking the Step shows the Step menu, not a combined menu.
Rule: Right-clicking within a multi-selection does NOT change focus.
If the user has 3 objects selected and right-clicks on one of them, all 3 remain selected and the menu shows multi-selection options.
Each entity type defines two menus:
| Menu | When Used | Characteristics |
|---|---|---|
single |
Exactly 1 item selected | Full menu with all applicable actions |
multi |
2+ items of same type selected | Only batch-applicable actions |
The Intersection Rule: When multiple types are selected together, the menu shows only actions that appear in ALL selected types' multi-menus.
Example:
Whole Object multi: [Hide, Duplicate, Snap, Reset, Clear labels, Group, Delete]
Sub Object multi: [Hide, Snap, Reset, Edit labels, Group]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
INTERSECTION: [Hide, Snap, Reset, Group]
This ensures every action in the menu can be applied to ALL selected items.
All menus follow this top-to-bottom ordering:
| # | Group | Intent | Example Actions |
|---|---|---|---|
| 1 | Visibility & Clone | "Can I see it? Copy it? Organize it?" | Hide/Show, Duplicate, Group |
| 2 | Edit | "Change its properties" | Rename, Snap, Pivot, Reset |
| 3 | Enrich | "Add meaning or behavior" | Labels, Actions, Create viewpoint |
| 4 | Collaborate | "Share or connect externally" | Save to library, Replace, Share |
| 5 | Structure | "Change hierarchy" | Revert parenting, Release children |
| 6 | Remove | "Delete it" | Delete, Delete on all steps |
"If you can't do it, don't show it"
Items that don't apply to the current selection should be hidden, not disabled.
| Scenario | Action | Example |
|---|---|---|
| Single-only action + multi-selection | Hide | "Edit pivot" hidden when 3 objects selected |
| Multi-only action + single selection | Hide | "Group" hidden when 1 object selected |
| Action doesn't apply to type | Hide | "Clear labels" hidden for Sub-Objects |
| Mixed selection removes action from intersection | Hide | "Duplicate" hidden when mixing types that don't share it |
| Scenario | Action | Tooltip |
|---|---|---|
| Server timeout (10s) | Show disabled | "Loading failed, please try again" |
| No permission from server | Show disabled | "Requires Editor role" |
Why show disabled for server failures?
The item appeared during loading, so removing it would cause menu resize and confuse users. Keeping it disabled (with explanation) is less jarring.
Some menu items require server permission checks (e.g., "Save to Team library", "Share").
| State | Duration | Visual | Clickable |
|---|---|---|---|
| Loading | 0โ10s | Shimmer animation through text | No |
| Enabled | After success | Normal appearance | Yes |
| No Permission | After denial | Greyed out + tooltip | No |
| Timeout | After 10s | Greyed out + tooltip | No |
In menu definitions, server-dependent items have local: false
{ id: 'saveToLibrary', label: 'Save to Team library', local: false }
Server-dependent items show a shimmer effect while checking permissions:
background-clip: textcalc(100vh - 48px)overflow-y: auto| Key | Context | Action |
|---|---|---|
TAB |
Object selected | Toggle Sub-Object โ Whole Object mode |
TAB |
Menu open | Close menu, then toggle mode |
โA |
Workshop | Select all steps (clears 3D selection) |
โ โ |
Workshop | Navigate prev/next step (clears multi-selections) |
Menu items can display keyboard shortcuts on the right side:
{ id: 'duplicate', label: 'Duplicate', shortcut: 'โD' }
Hide/Show
Duplicate
โโโโโโโโโโโโโ
Snap to floor
Edit pivot origin
Reset aspect
โโโโโโโโโโโโโ
Clear all labels
Add action
โโโโโโโโโโโโโ
Save to Team library
Replace object
โโโโโโโโโโโโโ
Delete on all steps
Hide/Show
Duplicate
Group
โโโโโโโโโโโโโ
Snap to floor
Reset aspect
โโโโโโโโโโโโโ
Clear all labels
โโโโโโโโโโโโโ
Delete on all steps
Hide/Show
โโโโโโโโโโโโโ
Snap to floor
Edit pivot origin
Reset aspect
โโโโโโโโโโโโโ
Edit label
Add action
Hide/Show
Group
โโโโโโโโโโโโโ
Snap to floor
Reset aspects
โโโโโโโโโโโโโ
Edit labels
Hide/Show
Group
โโโโโโโโโโโโโ
Snap to floor
Reset aspect
Result of intersection between Whole Object multi and Sub-Object multi menus.
Duplicate
โโโโโโโโโโโโโ
Create viewpoint
โโโโโโโโโโโโโ
Delete
Create animation
โโโโโโโโโโโโโ
Delete
Select all
Select all in animation
โโโโโโโโโโโโโ
Reset
Select all
โโโโโโโโโโโโโ
Reset
Hide/Show
โโโโโโโโโโโโโ
Rename
โโโโโโโโโโโโโ
Revert parenting changes
Release all children
โโโโโโโโโโโโโ
Delete on all steps
Hide/Show
โโโโโโโโโโโโโ
Delete on all steps
Make a copy
โโโโโโโโโโโโโ
Rename
โโโโโโโโโโโโโ
Share
Manage access...
โโโโโโโโโโโโโ
Delete
Make copies
โโโโโโโโโโโโโ
Delete
Select all objects
Show all objects
Reselect
โโโโโโโโโโโโโ
Preview Jig
Show Jig performance
โโโโโโโโโโโโโ
Change background colour
Replicate...
โโโโโโโโโโโโโ
Reset changes
Complete truth table for every user action and its effect on each selection domain.
| Action | 3D Selection | Edit Mode | Transitions | Step Multi | Focus Step |
|---|---|---|---|---|---|
| Click 3D object | โ Set | ๐ซ Exit | ๐งน Clear | ๐งน Clear | โ Keep |
| Right-click 3D (B1) | โ Set | ๐ซ Exit | ๐งน Clear | ๐งน Clear | โ Keep |
| Right-click 3D (in sel.) | โ Keep | ๐ซ Exit | ๐งน Clear | โ Keep | โ Keep |
| Click Step | โ Keep | โ Keep | ๐งน Clear | ๐งน Clear | โ Set |
| Right-click Step | โ Keep | โ Keep | ๐งน Clear | B1 only | B1 only |
| Shift+Click Step | ๐งน Clear | โ Keep | ๐งน Clear | โ Add | โ Keep |
| Click Transition | ๐งน Clear | โ Enter | โ Set | ๐งน Clear | โ Keep (invisible) |
| Right-click Transition | โ Keep | โ Keep | B1 only | B1 clear | โ Keep (invisible) |
| Right-click Canvas | โ Keep | โ Keep | โ Keep | โ Keep | โ Keep |
| Edit Mode button | Enter: ๐งน Clear | โ Toggle | Exit: ๐งน Clear | โ Keep | โ Keep |
| Prev/Next navigation | โ Keep | โ Keep | ๐งน Clear | ๐งน Clear | โ Move |
Key: โ Set/Enter = actively changes to new value | ๐ซ Exit = forced off | ๐งน Clear = selection emptied | โ Keep = unchanged | B1 = only changes if target is not already selected
Keep (invisible) = the internal value persists (camera stays on that step, viewport doesn't jump) but the step tile loses its visual selected highlight. The user infers their position from the viewport.
Steps and 3D objects have different left-click vs right-click behavior. This is by design โ right-click is non-destructive to current state.
| Action | Exit Edit Mode? | Clear Transitions? | Clear 3D? |
|---|---|---|---|
| Left-click Step | โ No (Keep) | โ Yes (always) | Only on Shift/Cmd |
| Right-click Step | โ No (Keep) | โ Yes (always) | โ No |
| Action | Exit Edit Mode? | Clear Transitions? | Clear Step Multi? |
|---|---|---|---|
| Left-click 3D | โ Yes | โ Yes | โ Yes |
| Right-click 3D (B1) | โ Yes | โ Yes | โ Yes |
| Right-click 3D (in sel.) | โ Yes | โ Yes | โ No (Keep) |
Is it a 3D object?
โโ Yes โ How many types selected?
โ โโ 1 type โ How many items?
โ โ โโ 1 item โ Use single menu
โ โ โโ 2+ items โ Use multi menu
โ โโ 2+ types โ Compute intersection of multi menus
โโ No โ Use single/multi menu for that entity type
Does action apply to this type?
โโ No โ HIDE
โโ Yes โ Does cardinality match?
โโ No โ HIDE
โโ Yes โ Is it server-dependent?
โโ No โ SHOW (enabled)
โโ Yes โ Did server respond?
โโ Loading โ SHOW (loading state)
โโ Allowed โ SHOW (enabled)
โโ Denied โ SHOW (disabled + tooltip)
โโ Timeout โ SHOW (disabled + tooltip)
Jig Workshop Right-Click Menu System Documentation
Last updated: February 2025 โ v1.1