Show timestamp when hovering times in history

The notebook history in the new UI does not collapse events like the old UI did, which can create very long lists of events per day. Because each event only shows the time, figuring out the day on which it happened requires me to then scroll up until I find the corresponding day heading.

Please consider adding a title to each event that displays the full date and time on hover.


In case it helps others, I’ve created this user style as a wonky workaround to sticky the days:

@-moz-document url-prefix("https://observablehq.com/") {
  aside .flex.flex-col.gap-px > div {
    position: sticky;
    top: -16px;
    background: var(--color-gray-50);
  }
}

A small correction: the new editor does collapse notebook events (ahem, if you happen to understand the internal representation of how notebook changes are serialized…), but it does not collapse saves. Each version listed in the history panel represents a distinct save, and a save can be comprised of multiple changes to a notebook (such as editing multiple cells). Saves shouldn’t happen more than every few seconds, but it’s possible to have multiple saves within the same minute.

To clarify, by collapse I meant “group and hide”:

For comparison, the same day in the new UI:

Understood. I could see us grouping saves into sessions in the future, but it’s not a high priority. I’d also like the change summaries to be better (specifically giving an indication as to which cell was edited, either by parsing and extracting top-level variable names, or by using leading Markdown or HTML).

In the meantime, would the timestamp title be a small change that could already be added?

Yep, done!

Thank you!