LabKit MATLAB Workbench

history

Video Marker visual skeleton setup and continuous marking

id: LK-20260714-video-marker-continuous-marking
date: 2026-07-14
sequence: 57
type: feat
compatibility: compatible
component: `labkit.ui` | `5.1.0 -> 5.1.1`
component: `labkit_VideoMarker_app` | `1.0.1 -> 1.1.0`
scope: Video Marker visual skeleton setup and continuous marking

Context

Video Marker required comma-separated keypoint names, manually encoded edge text, a start/finish edit toggle, and a separate confirm action. Those controls made skeleton setup error-prone and added modes that did not match the direct click-and-drag interaction already supported by the point editor.

Decision and rationale

Make skeleton definition the first explicit step, represent keypoints and connections as structured controls, and keep point editing active for the whole video session. Frame navigation is the save boundary; complete frames confirm automatically and inherited frames remain drafts until edited.

Changes

User and data impact

Skeleton setup is visible and validated before video loading. Existing marker CSV, coordinate CSV, and project MAT schemas remain unchanged. Point order is still the coordinate-column identity contract.

Compatibility and migration

Existing marker CSV and project files remain readable. The workflow changes are UI-only; users no longer press Apply skeleton, Start point edit, or Confirm frame. Video Marker now requires labkit.ui >=5.1.1 <6.

Validation

Unit tests cover skeleton presets, edits, and edge remapping. Hidden GUI workflow tests cover preset application, table-based setup, mutually filtered connection choices, automatic editor activation, consecutive point placement with preserved zoom/scroll callbacks, complete-frame confirmation, frame inheritance, and draft-state preservation. UI framework tests cover dynamic selectable items.

Evidence

Known limitations and follow-up

Automated hidden-GUI tests verify callbacks and state transitions but cannot judge visual density or pointer ergonomics; those still need a short manual review with a representative video.