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

Add timelinesection #1

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Add timelinesection #1

wants to merge 13 commits into from

Conversation

petute
Copy link
Contributor

@petute petute commented Oct 23, 2021

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change?
  • Have you tested your changes with successful results?

Type of Changes:

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Documentation (non-breaking change which adds documentation)

  • Breaking change (fix or feature that would cause existing functionality to change)

  • What is the new behavior (if this is a feature change)?

  • Add a "Gantt" chart built with d3js. The chart has onHover (Give the most important info as a tooltip) and onClick (smoothscroll to the right accordeon) functionality. There is also a indicator to show what time it currently is (only shows when event is in progress) on the chart.

  • Add an automatically generated accordion. This accordion uses the same data the Gantt chart uses with some additions (speakers etc.).

  • Other information:

image
image

- DataType
DataType holds all the fields that will later be added through a csv doc
DataType should now be in its final form including everything necessary
- RoomAndTimesType
RoomAndTimesType is a helper type designed do be used in palcing events
It is probably gonna get changed down the line
- setUniqueCategoriesAndTimes
This function looks for unique timespans within all categories.
If two events overlap they will be added to the same timespan
The start- & endDate will be adapted to be the smallest and largest date

- getRoomTimeTimesCalled
This currently just checks whether a dateSpan fits into a span
and returns the appropriate y position.
- Automatically set start and enddate of chart based on events
@petute petute self-assigned this Oct 23, 2021
@schettn
Copy link

schettn commented Oct 23, 2021

TODO:

  • Make fully responsive
  • Change coloring (cell color, background color, cell text color)
  • Hover does not work on some cells some of the time?
  • Search feature
  • timeline data import/export

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

Successfully merging this pull request may close these issues.

2 participants