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
blockedBy[]
blocking[]
closedAtJan 13, 2026, 3:14 AM

Refine TimelineCanvas reset logic to use Ticket ID comparison

Closed v11.21.0 enhancementai
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.

tobiu added the enhancement label on Jan 13, 2026, 12:35 AM
tobiu added the ai label on Jan 13, 2026, 12:35 AM
tobiu assigned to @tobiu on Jan 13, 2026, 3:13 AM
tobiu referenced in commit 9691bc8 - "#8583, #8584, removed obsolete onContentClick (edit&refresh) logic" on Jan 13, 2026, 3:14 AM
tobiu closed this issue on Jan 13, 2026, 3:14 AM