Frontmatter
| id | 8564 |
| title | Reset TicketCanvas animation on data load |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 12, 2026, 12:31 AM |
| updatedAt | Jan 12, 2026, 12:33 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8564 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8398 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 12, 2026, 12:33 AM |
Reset TicketCanvas animation on data load
tobiu assigned to @tobiu on Jan 12, 2026, 12:33 AM

tobiu
Jan 12, 2026, 12:33 AM
Input from Gemini 3 Pro:
✦ I have implemented the animation reset logic.
Changes:
- Modified
TicketCanvas.updateGraphDatato accept aresetboolean. If true, it resetspulseYto the top bounds.- Modified
TimelineCanvas.onTimelineDataLoadto passreset: !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
When switching between tickets, the
TicketCanvasanimation (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:
TicketCanvas.updateGraphDatato accept aresetboolean flag.resetis true, setme.pulseY = PHYSICS.pulseBounds.TimelineCanvas.onTimelineDataLoadto passreset: !isResizewhen callingupdateGraphData.