NUKnightLab / NUKnightLab/TimelineJS3

Add the ability to subset events on initial load.

Open
#725 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://its-airborne.org/media/aerosol-history-timeline.json is a timeline for "many diseases before C19 were identified as airborne". It'd be great to be able to subset that in load. i could have a page just for Epstein Barr Virus, or the flu. It'd load the same timeline, but quietly subset it before presentation. I could do this in Python of course - generate the subset JSONs and check em in (static site), but it'd be nice if there were a way to do the same that was build in to TimelineJS3.

options.html would say:

image

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 in options.html and trace how TimelineJS3 reads the timeline JSON during initial load. Use the aerosol-history JSON as an example while determining how the requested event subset should be selected and applied before presentation; done means a page can load the same timeline and show only the chosen disease-related events.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.