StephenChou1017 / react-big-scheduler

A scheduler and resource planning component built for React and made for modern browsers (IE10+)
https://stephenchou1017.github.io/scheduler/#/
MIT License
746 stars 415 forks source link

Is this project dead? #182

Open Fredo70 opened 4 years ago

Fredo70 commented 4 years ago

Is this project dead? It would be a pity. Because it looks good. But I'm having trouble getting it to work. Also because of DnD. Many things are deprecated.

If it is no longer maintained, I will simply look for something else.

aliehsan90 commented 4 years ago

Hey @Fredo70, I am currently using this project. What kind of issue are you facing?

Fredo70 commented 4 years ago

I gave up and unfortunatly I don't write down the errors. But I got problems because of DnD. This project uses an old version. I was not able to get it working, whether with the old nor with the newest version. I don't need drag and drop. But it is mandatory to use it. Anyway for now I give up. I will check back later if I need this component after all.

aliehsan90 commented 4 years ago

Sure @Fredo70.

beysong commented 4 years ago

With npm ls react-dnd in the terminal check you library, you can see all the react-dnd versions in your npm package. it must be the version conflict of react-dnd. Try to delete the other package Contained react-dnd and try again, good luck guys.

HsnImam commented 4 years ago

I am facing similar issue with 'react-dnd' context issue, the project relies on the old version and in my project we are already using newer version. I don't know how to resolve the Could not find the drag and drop manager in the context of ResourceEvents. issue.

CamdenShaw commented 4 years ago

I was having the same issues. If you follow the examples not the readme, you will see that you need to add this to your code:

import { DragDropContext } from 'react-dnd'
import HTML5Backend from 'react-dnd-html5-backend'
class BigScheduler extends React.Component {
    ...
}
export default DragDropContext(HTML5Backend)(BigScheduler)
nnmer commented 4 years ago

the way to run :

import {DndProvider} from 'react-dnd'
import HTML5Backend from 'react-dnd-html5-backend'
...
<DndProvider backend={HTML5Backend}>
  <Scheduler schedulerData={schedulerData}
    prevClick={()=>{}}
    nextClick={()=>{}}
    onSelectDate={()=>{}}
    onViewChange={()=>{}}
   />
</DndProvider>
IleanaAldama commented 4 years ago

Hey @nnmer can I cask which version of react-dnd and react-big-shceduler are you using?

ajayjayendran commented 4 years ago

@ChrisAldama have you got the issue fixed ? Could not find the drag and drop manager in the context of ResourceEvents.

nnmer commented 4 years ago

@ChrisAldama That was the latest versions. I just did npm i react-dnd react-dnd-html5-backend react-big-shceduler . I've decided to go with another component, cannot get the version numbers for you now

kermopajula commented 4 years ago

@nnmer Since the project is dead here - may I ask, what did you go with?

nnmer commented 4 years ago

@kermopajula I've went with https://github.com/namespace-ee/react-calendar-timeline

usahai commented 3 years ago

@nnmer Hey, I found that react-calendar-timeline is quite laggy. The lack of horizontal scrolling plus the dynamic re-rendering means that the end result doesn't appear very smooth. My guess is that it is re-rendering the details first, then the headers, which is why the headers are slower. Did you experience this problem?

nnmer commented 3 years ago

@usahai I don't have much elements on the timeline, sometimes it does have some laggs, but in my use case it is not critical. The horizontal scroll I've solved by dragging the timeline to left or right, again in my case it is enough as I just need to focus on a current month events

qtnemo commented 3 years ago

the way to run :

import {DndProvider} from 'react-dnd'
import HTML5Backend from 'react-dnd-html5-backend'
...
<DndProvider backend={HTML5Backend}>
  <Scheduler schedulerData={schedulerData}
    prevClick={()=>{}}
    nextClick={()=>{}}
    onSelectDate={()=>{}}
    onViewChange={()=>{}}
   />
</DndProvider>

I did just that but still get "Could not find the drag and drop manager in the context of ResourceEvents". Tried everything I could find online but either didn't work or the imported elements were no longer in the current version of react-dnd. Looked at react-calendar-timeline, but it didn't look as good as this component.