NUKnightLab / NUKnightLab/TimelineJS3

Smarter zoom levels

Open
#174 0 comments 1 reaction 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

In a zendesk ticket, a user showed a screenshot of a Timeline with a date range of ~75 years, but most of the events clustered in the last 3-5 years.

Should we implement something which sets the initial zoom level based on when the "most" events are? Alternatively, is there a method for smoothly adjusting the zoom when someone moves from a sparse region of the timeline to a dense region?

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 reviewing TimelineJS3's existing zoom behavior and the linked Zendesk example, since the issue names no files or tests. Define whether the work should choose an initial zoom from event density, adjust zoom during navigation, or both; done requires an agreed behavior and a reproducible test or example for the sparse-to-dense timeline case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.