Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create timeline component #45

Open
robertrouse opened this issue Dec 2, 2018 · 3 comments
Open

Create timeline component #45

robertrouse opened this issue Dec 2, 2018 · 3 comments

Comments

@robertrouse
Copy link
Owner

Small, one-line thing with dots for single years or lines for events of some duration. Example below.
image

Consider Semiotic library, a React implementation of D3. https://github.com/emeeks/Semiotic

@nomoney4me
Copy link
Collaborator

We could probably custom build it rather than using a big o' library.

What other functions are expected of the timeline?
Hover? Clickable?
What information is displayed when clicked/hover?

@robertrouse
Copy link
Owner Author

We could probably custom build it rather than using a big o' library.

What other functions are expected of the timeline?
Hover? Clickable?
What information is displayed when clicked/hover?

Version 1 may have circles adjusted to indicate number of events in a given year. Hover would show event names in that year. Clicks would scroll to a page anchor.

Future iterations may include gantt charts on some pages. Network diagrams may also come down the road. See issue #26 for more. So, it's a good idea to have a system that's flexible enough to add complexity in future iterations. Bespoke solutions have their tradeoffs.

@nomoney4me
Copy link
Collaborator

I think this is more fitting and lightweight, http://visjs.org/examples/timeline/basicUsage.html
There is a React component for it here:
https://github.com/Lighthouse-io/react-visjs-timeline

Regarding gantt charts, there's this one which I think is pretty easy to use:
https://www.npmjs.com/package/react-calendar-timeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants