Skip to content

5.4 GUI authoring coverage

This is the current source inventory for gui/web/, the React application that gui/scripts/build.mjs assembles for both browser and Tauri desktop use. GUI app and design describes the current screen and workflow contract. The inventory identifies implementations and tests; a merge still needs review and passing CI (Working on Tempo).

Current surfaces

SurfaceCurrent behaviorSource and focused tests
HomePaths and Autos together or on separate navigation tabs; search, creation, rename/delete, and path/auto foldersfeatures/home/HomeScreen.tsx, HomeScreen.test.tsx, HomeScreen.tabs.test.tsx, features/home/homePreview.ts, homePreview.test.ts, useHomePreviewPlans.test.tsx
PlanningWasmWorkerBackend on browser and desktop; routed previewplanner/createPlanner.ts, WasmWorkerBackend.test.ts
Editor layoutShared outline, canvas, inspector, and optional transport; persistent panel toggles; keyboard and header undo target the active documentapp/EditorShell.tsx, EditorShell.test.tsx, editorShell.css, app/editorPanels.ts, components/layout/EditorToolbar.tsx, components/MirrorButton.tsx, app/editorDocuments.ts, editorDocuments.test.tsx
PathsWaypoints, segment settings, mirroring, preview/playback, and structured Code mode; shared editing sessions, alliance overlays, and field-bound checksfeatures/paths/PathScreen.tsx, PathScreen.test.tsx, features/paths/usePathEditing.ts, usePathEditing.test.tsx, canvas/CanvasStage.alliance.test.tsx, features/paths/WaypointList.test.tsx, features/paths/fieldBounds.ts, fieldBounds.test.ts, features/robot/robotOutline.test.ts, app/typingTarget.test.ts, features/paths/mirrorPath.ts, mirrorPath.test.ts, features/paths/PathCodeMode.tsx, canvas/fieldWords.test.tsx, canvas/input/hitTest.test.ts
AutosNested steps and groups, Check branches, drives to a target placed on the field, per-drive commands and footprints, in-place path editing, connecting drives, and a whole-auto timeline; only changed drive inputs replan. See the auto screen contract.features/autos/AutoBuilder.tsx, AutoBuilder.test.tsx, features/autos/planMemo.ts, planMemo.test.ts, livePlan.test.ts, openPathFromAuto.test.tsx, canvas/autoUnderlay.test.tsx, features/autos/AutoOutline.tsx, AutoOutline.test.tsx, features/autos/StepKindBar.tsx, StepKindBar.test.tsx, features/autos/AutoContext.tsx, AutoContext.test.tsx, features/autos/AutoPathEditing.tsx, AutoPathEditing.test.tsx, canvas/view/panEscape.test.tsx, features/autos/issueSteps.ts, features/autos/autoUses.ts, autoUses.test.ts, features/autos/runFootprint.ts, runFootprint.test.ts, features/autos/FieldKey.tsx, FieldKey.test.tsx, components/playback/Playback.tsx, features/autos/StepInspector.tsx, features/autos/RunCommandsList.tsx, RunCommandsList.test.tsx, CheckStep.test.tsx, runChecks.test.ts, checkPreview.test.ts, timelineLanes.test.ts, stepStyle.test.ts, autoEditorStore.test.ts, AutoTimelineFooter.test.tsx, features/bindings/extensionResolve.test.ts, canvas/AutoCanvas.view.test.tsx, canvas/autoStepMarkers.test.ts, code/autoCommands.test.ts, code/exportParity.test.ts, features/autos/toStep.ts, toStep.test.ts, code/setlistTo.test.ts
PosesSearchable outline, field selection/dragging, position and heading, linked-waypoint updates, Code viewfeatures/poses/PosesScreen.tsx, PosesScreen.test.tsx, features/poses/poseStore.test.ts
Robot ConfigurationChassis, Bumpers, Modules, Wheels and Path limits; one fluent footprint config in the generated setup filefeatures/robot/RobotConfig.tsx, RobotConfig.workflow.test.tsx
Drivetrain connectionThe setup file holds the config (config()); the configure call is robot code, shown with Copy in the setup guide and Settings; the Drivetrain connected check finds the call and names the config it passes; one confirmed migration of an old setup blockfeatures/robotCode/ConnectDrivetrain.tsx, configureCall.ts, configureScan.ts, setupMigration.ts, features/robot/code/robotSetupCode.test.ts
Commands & SensorsOne grouped/searchable workspace for commands, sensors, and extensions; explicit creation drafts, automatic saved-entry edits, and desktop import of marked commands and sensorsfeatures/bindings/BindingLibrary.tsx, BindingLibrary.test.tsx, BindingDrafts.test.tsx, CommandsScreen.workflow.test.tsx, ImportFromCode.test.tsx, codeDiscovery.test.ts
Path command referencesRead-only grouping of saved event/fallback aliases with links to commands and pathsfeatures/bindings/ManagerModal.tsx, ManagerModal.test.tsx
Game packsTOML editing, grouped/searchable reference with insertable examples, element selection, and field previewfeatures/packs/PackCreator.tsx, PackCreator.test.tsx, PackReference.test.tsx
App SettingsTabbed dialog (General, Units, Appearance, Shortcuts, Robot code on desktop, Workspace), one row shape with explanations behind ”?” and only Done in the footer; General holds team number, field focus, Simple names and the Home screen switches; Units holds the paths and field units beside Robot Configuration’s; Appearance holds zoom and colors; Robot code links the Robot Code page and holds Live update for its destinations; Workspace holds backup and replacementfeatures/settings/SettingsModal.tsx, features/settings/GeneralSettings.tsx, features/settings/UnitSettings.tsx, features/settings/AppearanceSettings.tsx, features/settings/RobotCodeSettings.tsx, features/settings/WorkspaceSettings.tsx, features/settings/SettingsLayout.tsx, SettingsModal.test.tsx, SettingsModal.tabs.test.tsx, SettingsModal.migration.test.tsx, UnitSettings.test.tsx, settingsStore.test.ts, vocabulary/names.test.ts, vocabulary/surfaces.test.tsx
KeybindsSearchable command registry by context; two shortcuts per command, modifiers, conflict checks, and resets; saved as tempo.keybinds.v1features/keybinds/commands.ts, keybindStore.ts, chord.ts, KeybindSettings.tsx, chord.test.ts, keybindStore.test.ts, KeybindSettings.test.tsx, legacyParity.test.ts, rebinding.test.tsx, rebinding.lists.test.tsx
Visual systemFixed Inter/10219 style; shared SVG branding; canvas element/DPR sizingstyles/fonts.ts, styles/themes.ts, components/TempoIcon.test.tsx, canvas/view/observeCanvasSize.test.ts
ColorsFive presets (Default, Deuteranopia, Protanopia, Tritanopia, High contrast) and custom themes with a preview, look-alike warnings, and JSON import/export; every canvas and token reads the active themefeatures/colors/palette.ts, theme.ts, css.ts, colorStore.ts, ColorSettings.tsx, ThemePreview.tsx, warnings.ts, presetRules.test.ts, theme.test.ts, colorStore.test.ts, ColorSettings.test.tsx
CodeHighlighted blocks, inline fragments, and inputs; structured edits and language-specific diagnosticscomponents/code/, code/useCodeBuffer.test.ts, code/closestRemoved.test.ts, code/

Paths in the evidence column are relative to src/, and test basenames following a screen share that screen’s directory. Run the listed checks against the revision being reviewed.

Known gaps and boundaries

  • Robot-code fields validate plain names and do not inspect implementations, create hardware, execute methods, or prove that a robot connection exists. Import from code (desktop only) reads Java’s annotation-processor list from the build output and scans Python and C++ sources under the codebase folder for the marker names, but it does not parse general source or follow imports.
  • Desktop code sync writes Robot Code’s destinations and reads back supported Composer, Setlist and robot configuration edits. Unsupported source, concurrent edits, and ambiguous placement block the affected update, and the editor does not parse or merge arbitrary robot code.
  • Browser file selections expose a folder name and relative file path. Saving generated source downloads a file, and direct project-file access requires the desktop app.
  • planner/normalizePack.ts returns only length, width, and shapes from its parsed reply and omits fieldCenter. The active game-pack document carries its own origin, and callers must not infer origin information from that normalized reply.
  • Core-backed planning does not simulate live robot command bodies, and preview fallback/stale indicators and export diagnostics remain part of the workflow.
  • Routine exports use the drive registration that robot code’s configure call makes, described in Drivetrain connection.

Verification

From gui, npm test runs the frontend’s Vitest suite and npm run build runs TypeScript, builds with Vite, and assembles dist/. Follow the frontend checks for the required WASM package, source-parity inputs, and the CI no-skip guard.

esc

Loading search...