Skip to content

Support timeline control and range selection events in the native viewer #10835

@wbthomason

Description

@wbthomason

Is your feature request related to a problem? Please describe.
#8673 added support for selecting timelines and timepoints in the web viewer through the JS API. However, it does not currently appear possible to do the same for the native viewer through Rust.

Describe the solution you'd like
It would be useful to have API-level control of the timeline at least through Rust, if not the other SDK languages. Ideally, this would include support for registering callbacks for timeline events including range selection (e.g., shift+drag selection), extending the existing support for time update events and timeline selection events.

Describe alternatives you've considered
Duplicating the timeline somehow in an extended GUI - but then it's unclear if I could sync the state with the "real" timeline in a native viewer...

Additional context
This is intended for use in building a data annotation app extending the Rerun GUI, wherein I need to be able to select sub-ranges of a recording and send these time bounds to my extension app for further processing.

See also https://discord.com/channels/1062300748202921994/1402749709868859433 and https://discord.com/channels/1062300748202921994/1075873257124810852/1402748262842110213

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request📺 re_vieweraffects re_viewer itself🟦 blueprintThe data that defines our UI🪵 Log & send APIsAffects the user-facing API for all languages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions