Should Temporal
vs. Sequence
really be a property of the timeline itself?
#8471
Labels
😤 annoying
Something in the UI / SDK is annoying to use
🧑💻 dev experience
developer experience (excluding CI)
💬 discussion
🪵 Log & send APIs
Affects the user-facing API for all languages
Our timelines carry a name, a value, and an extra property indicating whether they are temporal (e.g. unix timestamps) or sequential (e.g. frame numbers).
This extra property has been the source of many, many bugs, and is still the source of a lot of complexity, both for us and for our end users.
For us, it is a constant struggle to try and carry that extra information everywhere timelines go, and make sure to never rely on a timeline name alone (which gets harder and harder as you go up in abstraction layers, e.g. the dataframe APIs). Otherwise it's effectively UB.
For end users, it is a pitfall that's very easy to fall into (e.g. using a timeline name as both sequential and temporal is UB).
My gut feeling is that this shouldn't even be a timeline property, but merely a viewer/blueprint setting (it's only a timestamp formatter after all, isn't it), which would vastly simplify everything.
You could imagine having heuristics to set that blueprint property based on a column tag on the timeline column.
Opinions?
The text was updated successfully, but these errors were encountered: