-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript widget toolkit without jquery #140
Comments
@sccolbert @jdfreder this discussion could probably apply to other pieces of the front-end. |
I'm busy refactoring Phosphor so that it can provide that type of leaf content. i.e. buttons, sliders, etc.. are now on the radar. |
As part of phosphor, or would you prefer using something like bootstrap? |
As part of phosphor. But as usual, nothing would prevent you from using bootstrap with a phosphor widget if you wanted to. |
I would probably prefer using only one solution, and therefore use phosphor's basic widgets (however it is not here yet). |
I think we should aim to have the interactive widgets be exactly the same I am +1 on not using jquery, although I think we are still using some of Bootstrap is still a pretty nice way of handling common UI elements. We One option is to offer phosphor views that are simply wrappers around I also think we should think carefully about scope limiting phosphor. I am Some of this does depend on how Chris's refactoring turns out. On Mon, Aug 10, 2015 at 10:52 AM, Sylvain Corlay [email protected]
Brian E. Granger |
As an fyi - I'm happy with the way the refactoring is turning out. |
👍 to some incarnation of jquery-free backbone widgets. Marking as 5.0 because this definitely will be backwards incompatible. 👎 to the idea of dropping bootstrap for 5.0 and/or trying to ship our own jquery-less bootstrap, I don't think it's worth the effort. Maybe a later major release though... |
The current master now has rewritten widgets that don't use jquery, except for the slider. I've opened #630 for that. |
The IPython widgets framework allows for other backbone view types than the usual JQuery-based, and neither
widget.js
normanager.js
really depends on JQuery.However, we still use bootstrap and JQuery for the core basic IPython widgets like button / slider / date picker, dropdown.
I was wondering what is the best JavaScript widget framework that we could use as a replacement, and that would play well with phosphor. I am not sure if it is in the scope of phosphor to reimplement those. Apparently, it is possible to use bootstrap's css without the JQuery extension. There are replacements to this extension such as https://github.com/tagawa/bootstrap-without-jquery
What do you guys think about it?
The text was updated successfully, but these errors were encountered: