kristoferB / SP

Sequence Planner
MIT License
12 stars 5 forks source link

Wrapping angular-gantt #90

Open edvardlindelof opened 6 years ago

edvardlindelof commented 6 years ago

Merged example with a gantt inside a widget to master. An angular-app is defined in resources/ganttApp.js and is bootstrapped into a widget in componentDidMount. Now we could either work in vanilla js and define our own minimal API to facade (this yields the least boiler plate probably), try and facade angular-gantt and its elements, or even use scalajs-angular-binds (not sure this gives us much tho, if this is the only place we will ever use angular).

kristoferB commented 6 years ago

Great work. I think that writing our own simple API in js would be nice. This will also be a good example if we need to integrate other js-libraries in the future.

edvardlindelof commented 6 years ago

Wrapping works in principle. Endless tweaking of options and design will be done while setting it up for real data. https://github.com/kristoferB/SP/issues/92