NUKnightLab / NUKnightLab/TimelineJS3

Programmatically Scroll Timeline By Certain Amount?

Open
#518 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

We would like to associate "forward" and "backward" buttons with our timeline instance, so that, when clicked, the timeline scrolls backward or forward by a certain amount (three hours, by default) even if there are no events in that part of the timeline. How do we go about doing this?

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 examining the TimelineJS3 timeline instance API and how external forward and backward buttons can invoke it. Verify that navigation advances or reverses by three hours by default even when no events exist in the interval, and document or test the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.