frontend/docs/testing/references/ui-components.md
This document defines the main UI components and their expected behavior in the Rivet Inspector.
┌──────────────┬───────────────────┬──────────────┐
│ Sidebar │ Content │ Details │
│ (Left) │ (Center) │ (Right) │
│ │ │ │
│ - Connect │ - Rivet Actor │ - Selected │
│ Info │ List │ Rivet │
│ - Create │ - Search/Filter │ Actor │
│ Actions │ - Empty State │ Info │
│ - Footer │ │ - Tabs │
│ │ │ - Console │
└──────────────┴───────────────────┴──────────────┘
Responsive Behavior: (if applicable)
When: Inspector is connected to RivetKit server
Displays:
When: Inspector is connected and ready to create Rivet Actors
Displays:
User Actions:
Displays:
When: Connected to RivetKit server
Displays:
States:
User Actions:
Displays:
Functionality:
When: Connected but no Rivet Actors exist
Displays:
Displays (when Rivet Actor selected):
See Actor States Reference for details on what displays for each state.
Running + Connected:
Running + Connecting:
Running + Error:
Sleeping:
Error:
When: Rivet Actor is running and inspector is connected
Tabs:
Behavior:
When: Rivet Actor is running and inspector is connected
Location: Bottom of details panel
Components:
User Actions:
Displays:
Displays:
Information Shown:
Displays:
Features:
Displays:
When: First visit, not connected to RivetKit server
Displays:
When: Not connected to RivetKit server
Components:
Default Values:
http://localhost:6420Validation:
Spinner: For short operations (< 2 seconds) Skeleton Loader: For content loading Progress Bar: For known-duration operations
See Actor States Reference for badge styling.
Format: [●] Status Text
Primary Actions: Highlighted button (e.g., Connect, Create) Destructive Actions: Red/warning styled (e.g., Destroy) Secondary Actions: Subtle styling (e.g., Cancel, Disconnect)