Timeline Zoom and initial view

I am working with the timeline component, trying to make it usable for our users on the frontend and there are 2 problems I am having

  1. When I change projects that have different schedules, the timescale doesnt change to fit the data. I can set a dropdown to change this but if I want say 2 months, or 6 months I dont seem to be able to change it. Is there any way to set a timescale of start_date and end_date and fit all into that?
  2. If events in the timeline happen before today, the timeline always starts at the first event. Ideally I starts at today, or at least centers on today. Is this possible? I have set initial to moment.now() but it still loads at the start. This is particularly difficult for schedules that last a whole year but we maybe only want to look at the current or next week. We have to manually scroll horizontally to get to today each time.

Hi @kyleteal,

Could you share some screen shots or a screen recording of this behavior so I can look to reproduce this?

By "change projects" are you saying changing the data source of the component or clicking a different project in the current source?

The component is pretty brittle and only really works one day and on fairly small scales. We are collecting feedback on it with feature requests for a v2 of the component so we love getting feedback like this on how we can improve the feature and get it to support more use cases.

If you can show me a screen recording I can look to test things out to see if what you want to do is currently possible :+1: