LearnNewsExamplesServices
Frontmatter
id8564
titleReset TicketCanvas animation on data load
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 12, 2026, 12:31 AM
updatedAtJan 12, 2026, 12:33 AM
githubUrlhttps://github.com/neomjs/neo/issues/8564
authortobiu
commentsCount1
parentIssue8398
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 12, 2026, 12:33 AM

Reset TicketCanvas animation on data load

Closed v11.20.0 enhancementai
tobiu
tobiu commented on Jan 12, 2026, 12:31 AM

When switching between tickets, the TicketCanvas animation (the "pulse") currently continues from its previous vertical position (pulseY). This feels unnatural as the context has completely changed.

We should reset the animation to the top (pulseY = PHYSICS.pulseBounds) whenever new data is loaded (i.e., when switching tickets), but NOT when resizing the window (where continuity is preferred).

Proposed Change:

  1. Update TicketCanvas.updateGraphData to accept a reset boolean flag.
  2. If reset is true, set me.pulseY = PHYSICS.pulseBounds.
  3. Update TimelineCanvas.onTimelineDataLoad to pass reset: !isResize when calling updateGraphData.
tobiu added the enhancement label on Jan 12, 2026, 12:31 AM
tobiu added the ai label on Jan 12, 2026, 12:31 AM
tobiu referenced in commit 246a84d - "feat: Reset TicketCanvas animation on new data load (#8564)" on Jan 12, 2026, 12:32 AM
tobiu assigned to @tobiu on Jan 12, 2026, 12:33 AM
tobiu
tobiu Jan 12, 2026, 12:33 AM

Input from Gemini 3 Pro:

✦ I have implemented the animation reset logic.

Changes:

  • Modified TicketCanvas.updateGraphData to accept a reset boolean. If true, it resets pulseY to the top bounds.
  • Modified TimelineCanvas.onTimelineDataLoad to pass reset: !isResize. This ensures the animation restarts when switching tickets (loading new data) but continues smoothly during window resizing.

This provides a more natural UX where new ticket content starts the visualization from the beginning.

tobiu added parent issue #8398 on Jan 12, 2026, 12:33 AM
tobiu closed this issue on Jan 12, 2026, 12:33 AM