react-big-scheduler icon indicating copy to clipboard operation
react-big-scheduler copied to clipboard

Provide an option of Time(0-23) instead of Resources

Open himanshuc3 opened this issue 6 years ago • 7 comments

Feature Request. This way this could work as a timetable as well though I now its not what it specializes in.

himanshuc3 avatar May 24 '18 15:05 himanshuc3

@himanshuc3 Hi, you mean vertical resource view just like this demo of the FullCalendar Scheduler? I'm considering 2 questions:

  1. Vertical resource view should support all view types(Day, Week, Month etc) or just the day view? Time(0-23) means the day view.

  2. How to achieve this layout?:-) 2

StephenChou1017 avatar May 30 '18 02:05 StephenChou1017

You could look how http://intljusticemission.github.io/react-big-calendar/examples/index.html does it

davidfurlong avatar Jun 26 '18 13:06 davidfurlong

Hi @StephenChou1017, great work on the project so far!

I'm very interested in this library and I'd love to use it but I need vertical resource views, similar to https://fullcalendar.io/releases/fullcalendar-scheduler/1.9.4/demos/vertical-resource-view.html

I'd be happy to implement this / help you implement it, but first I thought that I would ask whether you've already done something similar. If not, do you have any recommendations? As David mentioned, react-big-calendar already implements vertical resource views - we can use that as inspiration.

I'd be happy to discuss this further. If you prefer using email / chat you can find my email in my bio.

WebspressoCo avatar Nov 19 '18 21:11 WebspressoCo

@WebspressoCo Hi, anyone that wants to make this lib 'bigger' is welcome, thank you:-)

As to the vertical resource view feature, I haven't started yet. But as I said upstairs, it would be better if the vertical views(include resource view and task view, exclude agenda view) support all view types(Day, Week, Month etc), not only the day view and time(0-23).

If so, we can add a property in schedulerData.config.views object, i.e. vertical with default value false. when we wanna to display the day, week and month views in vertical, what we need to do is just setting it to true as below: views: [ {viewName: 'Day', viewType: ViewTypes.Day, showAgenda: false, isEventPerspective: false, vertical: true}, {viewName: 'Week', viewType: ViewTypes.Week, showAgenda: false, isEventPerspective: false, vertical: true}, {viewName: 'Month', viewType: ViewTypes.Month, showAgenda: false, isEventPerspective: false, vertical: true}, {viewName: 'Quarter', viewType: ViewTypes.Quarter, showAgenda: false, isEventPerspective: false, vertical: false}, {viewName: 'Year', viewType: ViewTypes.Year, showAgenda: false, isEventPerspective: false, vertical: false}, ]

What do you think?:-)

StephenChou1017 avatar Nov 20 '18 02:11 StephenChou1017

@StephenChou1017 Hi and congrats with 0.2.7 release! it's awesome!

Badly need this feature, is any update of this? I lead the project based entirely on your component. I need to implement alternative calendar view with resources as columns and vertical time line. resourcesview

As you can see there several days in time line. And empty rows with no events are not shown for space economy. It must be interactive view (not read-only).

There is always an option to do a brand new component, but first I would like to research and improve your calendar. What you suggest to start with? which module and classes? Maybe you plan to implement "resources horizontal" feature in next release?

AndreiUshakov avatar May 15 '19 10:05 AndreiUshakov

@AndreiUshakov Hi and thank you:-)

This feature is a little big, and I'll try to add it later, when I have time:-)

StephenChou1017 avatar May 29 '19 11:05 StephenChou1017

Hi!

One of our devs have made a working implementation in this fork: https://github.com/tineikt/react-big-scheduler. Unfortunately the project is coming to an end, and we don't have the time/resources to create a proper PR. The functionality was created to serve our needs, but should hopefully provide a good basis.

henning-kvinnesland avatar Oct 22 '19 08:10 henning-kvinnesland