vue-cal icon indicating copy to clipboard operation
vue-cal copied to clipboard

[Feature idea] dynamic 'start-from'

Open donmb1 opened this issue 4 years ago • 2 comments

Right now we can define start-from in a view which s cool.

I often have the case that (depending on the view) there is a lot of whitespace in the calendar because the first item only starts at e.g. 5:00. But from 00:00 to 05:00 there are no events so I have to scroll down. What if we can eliminate the whitespace dynamically that if in a view no events appear, its automatically setting 05:00 in this case as the start-from?

Of course I can iterate through my events and find out what the earliest start-from might be but its un-handy and furthermore it affects ALL my events, also those who are visible in the next week/month/year.

donmb1 avatar Aug 05 '21 14:08 donmb1

Of course I can iterate through my events and find out what the earliest start-from might be but its un-handy and furthermore it affects ALL my events, also those who are visible in the next week/month/year.

Not if you iterate through only the events relevant for the visible duration.

Something like this should probably be custom functionality you make yourself – having a check like this built in could slow things down.

rubjo avatar Mar 31 '22 10:03 rubjo

Thanks for the suggestion @donmb1, and for the answer @rubjo. I still add a feature request label on this, as I understand the need and we can see while implementing if the cost is too big we will drop the idea.

antoniandre avatar Apr 07 '22 21:04 antoniandre