NUKnightLab / NUKnightLab/TimelineJS3

Poor Performance if zooming in on large timeline.

Open
#538 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
JavaScript
Stars
3.2k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

If you have a timeline that covers ~100 years and you then try to zoom in to a day scale. The performance of all aspects of the timeline get very poor.

This is a simple test json example that reproduces the problem for me in chrome:

{
  "events" : [
    {
      "start_date" : { "month" : "1", "day" : "1", "year" : "1901" },
      "end_date" : { "month" : "1", "day" : "1", "year" : "2001" },
      "text" : { "headline" : "Long Event"}
    }
  ]
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing issue 538 in Chrome with the provided JSON containing a 1901–2001 event, then profile the timeline while zooming from the 100-year range to a day scale. Trace which timeline operations cause the slowdown across zooming and related interactions; done means the timeline remains responsive for this example at day scale.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.