LearnNewsExamplesServices
Frontmatter
id8583
titleRefine TimelineCanvas reset logic to use Ticket ID comparison
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 13, 2026, 12:35 AM
updatedAtJan 13, 2026, 3:14 AM
githubUrlhttps://github.com/neomjs/neo/issues/8583
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 13, 2026, 3:14 AM

Refine TimelineCanvas reset logic to use Ticket ID comparison

tobiu
tobiu commented on Jan 13, 2026, 12:35 AM

Currently, TimelineCanvas resets the animation whenever onTimelineDataLoad is called without the isResize flag. This works for ticket switches but relies on the assumption that store loads always imply a context switch.

We will verify this behavior and refactor onTimelineDataLoad to:

  1. Extract the Ticket ID from the first record (e.g., timeline-{ticketId}-0).
  2. Compare it with the previously loaded Ticket ID.
  3. Only set reset: true if the Ticket ID has changed.

This ensures that resizing, expanding summaries, or even refreshing data for the same ticket will maintain the animation continuity, while switching tickets will correctly reset it.