react-scheduler / react-big-schedule

React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React.
https://react-big-schedule.vercel.app/
MIT License
97 stars 22 forks source link

Meeting block relative length always takes "whole day" on the week view #112

Open Ziobzee opened 1 year ago

Ziobzee commented 1 year ago

Checklist

What problem does this feature solve?

62401223-8c8df400-b582-11e9-8163-e12405e0fb7d

If the event is set from 10AM to 11PM same day, or 2PM today to 3PM tommorow, the tab showing existence of that event is shown as 100% fill of a day when view is set to week, or 100% fill of both days when it is a part of one day and next day (it assumes that it is "whole day" but in reality it is not, how can I show the actual graphical representation of time reserved in a day ? I want to have more like "timeline" feel. And i want to be able to add meeting from 2PM today to 10AM tomorrow, and next meeting from 11 AM tomorrow to 4PM tomorrow. And be able to show the relative length of the block representing that meeting in the day.

Proposed Solution

Right now we need to check on the tooltip what is the actual length of the event, and it would be much better to show it/visualize it.

Benefits

If there is an option to do that, please point me to the proper example or just tell how to do that. I hope I have explained it clearly Thank You

Alternatives Considered

No response

Additional Information

No response

ansulagrawal commented 1 year ago

@Ziobzee thank you for trying the library. For now you can use day view in that you will get to know base for every 30 min if you want to customize it then you can do that as well. Link: https://react-big-schedule.vercel.app/add-more

click on day view and check image

Ziobzee commented 1 year ago

@ansulagrawal But wouldn't there be a way to implement a function to prevent the event from extending for the entire 30 minutes? And in other views, prevent the event from extending the whole day and etc.

( Image below of how it should look ) ( functioning normally, as it should ) Screenshot_5

( Image below of how it's looking ) ( automatic expanding, which shouldn't ) Screenshot_6

ansulagrawal commented 1 year ago

@Ziobzee thank you for the suggestion as of now we don't have it. We will definitely look into it.

varungupta85 commented 8 months ago

This is a very important enhancement for this project as currently, all the views other than day view looks very confusing when events that don't span the whole day appears to span the whole day. I am trying to use this component to show a schedule of shifts assigned to different people and shifts are usually 12 hours, so on most days, there appears two people assigned to shifts with no clear indication about the times of the shift.

Day view appears perfectly but it is quite inconvenient to get a bird's eye view of the whole week or month. I am willing to contribute towards this enhancement if I can get some guidance on what needs to be changed to allow events to not span whole days in week and month view.

ssantos-micronet commented 6 months ago

@ansulagrawal hi, is there any update about this issue?

ansulagrawal commented 6 months ago

@ssantos-micronet i am still working on it.