Control Plane Timeline: add the date-basis selector (occurred / mentioned) proposed in #3516

Open
#7,248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript

Research direction

Start in hindsight-control-plane/src/components/data-view.tsx, especially TimelineView around line 1253, and compare its controls with the Constellation recencyBasis control and the stats charts' timeField argument. Add the date-basis selector and make plotting, the undated counter, and empty-state copy follow the selected field, defaulting to mentioned_at. Done when both bases show only rows with that field and the Occurred view still reports rows without dates.

Written by the indexing model from the issue text.

Description

core
Problem

The memory Timeline places rows only by occurred_start. Retain sets occurred_start only when the model reports a known event time, and leaves it empty for standing facts, which matches the intended semantics (#5564). In a long-running bank this hides most memories from the Timeline. On a v1.3.1 bank, about 99% of world facts, 83% of experience facts and 92% of observations have no occurred_start, while nearly all of them have mentioned_at. The Timeline shows the small dated remainder plus the "N without dates" counter.

Proposal

Implement the selector described in the review of #3516:

  • Add a date-basis control next to the granularity control: Occurred (occurred_start) and Mentioned (mentioned_at), plus Ingested if useful.
  • Plot strictly by the selected field. Rows that lack it go to the existing "N without dates" counter, so the Occurred view keeps showing how many memories carry content dates.
  • Tie the empty-state copy to the selected basis, for example "No memories have occurred dates — try Mentioned". The current copy is "No memories have occurred_at dates."
  • Default to mentioned_at, as that review suggested, because it is populated on almost every row.

The Constellation already follows this shape with its recencyBasis control in data-view.tsx, and the stats charts take a timeField argument.

Version

Control Plane v1.3.1. main at 4b8dfb6 still keeps only rows with occurred_start in TimelineView (hindsight-control-plane/src/components/data-view.tsx, around line 1253).

Dominant language
Python
Stars
45.2k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vectorize-io/hindsight

All issues in vectorize-io/hindsight

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.