-
Notifications
You must be signed in to change notification settings - Fork 800
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
Upgrading to Bootstrap 2.0 (Implementation discussion) #56
Comments
What I was thinking was to serve a bridge where we would have bootstrap and jquery along with custom css methods, so the file would look something like this: @import "path/to/bootstrap.less";
/* If we want to override or add any variable to
be used for jquery ui bootstrap theme should be under this line
*/
@import "path/to/jquery-ui-bootstrap-theme.less";
/* Our custom css that would help to override
anything we need from bootstrap goes under this line
*/
@import "path/to/users/custom.less"; /* or .css */ The above would help to keep bootstrap and jquery ui in vendor structure so would be easier updated by the user and by developers. Also would allow to not hack the core files of each vendors resulting in easier maintenance for everyone. @addyosmani what do you think about that? |
@addyosmani I did an attempt here I changed the structured to be more clear than before I used the jquery-ui less files by @t1gr0u lot's of things need to be changed in the example page (index.html) also regarding wijmo need some care in order to work properly with new bootstrap... I believe I will play with those today a bit more :) |
@panosru the structure you proposed sounds fairly reasonable for our first foray into this. As for the Wijmo components, I think I'll reach out to Wijmo again and see if they'd like to take part in some of our conversations about the update to Bootstrap 2.0. It may help to avoid issues later on! |
@addyosmani great! What do you think regarding wijmo 2 ? should we use it if we decide to update wijmo? |
I believe buttons are ready to go now I'll continue to the other elements. |
I uploaded integration progress in my dropbox account so you could check it out. Of course there is still work to be done in order get this fully integrated. |
Sliders seems to be working fine, also I removed outline from a tags because I find it annoying :) |
@panosru there is a little typo in "variable.less" last line |
@t1gr0u I didn't noticed it :) thanks :) |
@panosru thanks for your efforts on this so far! It looks like we'll need to tweak up the namespacing as it's affecting the wijmo menu at the moment and the toolbar is a little broken, but the rest looks good!. |
@addyosmani I didn't worked at all on wijmo, I believe we need to discuss about wijmo a bit more, if we will use the v2 or if we'll stick with current version. Regarding toolbar it need some tweeking to work, it works on firefox though. Basically many things need to be tweeked here and there. Let me know how do you prefer me to continue on that one, maybe you should create a dev branch and I send a pull request of what I've done so far? Let me know :) |
Bootstrap2-Dev branch created in case anyone want to contribute into integration of bootstrap 2 with jquery ui bootstrap, so far lot's of things are already done but lot's of things need to be done too :) @addyosmani Thank you for letting me contribute on the project directly :) I appriciate it :) |
Sorry for not being very active lately, I got few personal things to take care of :) cheers ! |
Added tabs support, but I had to use PS: Sorry for not being active for a week, I just moved to my new flat and I don't have internet connection yet! :) |
@panosru No worries! I've been held up on a few other projects recently and I know how hard it can be to contribute consistently :) With respect to most of the work going into the B2-dev branch, I think I'll probably spend this next weekend going through it all and patching (if needed) or completing as much as possible of what is outstanding. With respect to Wijmo, I would say let's keep it as an aside for the time being. B2 has significantly more components we need to match with jQuery UI widgets and configurations and to be honest, the third party plugins were almost all added to this project after the first initial release. We can take a similar approach to how we upgrade. |
I agree on wijmo and third party components, lets focus first on jquery ui components to match bootstrap 2 theme and then we can work on third party components :) [offtopic] If you need any help or any clarification with less files let me know, I maybe got it a bit complex because I tend to write less in that complex way... :/ |
@panosru On the offtopic: I too found that a little strange, but it may be something they address in the next version. I'll definitely give you a shout if I need help with the less files. It might be useful for us to get someone else in just to do a sanitation review on them to make sure they're readable etc, but great job getting the baseline in place so far! |
@addyosmani thanks mate, you also done a great job on getting this project live ;) |
Regarding tabs, the support is only for top positioned tabs for now... other positions like left, right, bottom are not yet tested and probably won't work currently. |
That's cool. 1.0 only supported top positioned tabs, but using something like http://keith-wood.name/uiTabs.html we can probably get support for everything Bootstrap 2.0 does at the moment. |
yes since B2 supports 4 way positioned tabs we could have it too. |
On the offtopic: |
@sindresorhus well this is not an excuse for not giving at least the option to have it on hover, even if it's not by default like this... but thanks for letting us know about it :) |
@sindresorhus thanks, I just did :) |
guys, thanks for working to save the world...i'm eager to see how this framework matures...i need it! |
It's been a few months since I last had time to work on upgrading the project and I think it will probably be another few weeks before I can put time into doing this for Bootstrap V2. Its probably something that would require a weekend sprint of some sort in late June or early July, but we could do it properly, document and test it etc. If anyone on this thread is interested in helping with that effort, let me know :) |
Count me in ;) |
\o/ On Sunday, 20 May 2012, Sindre Sorhus wrote:
Addy Osmani Developer Programs Engineer at Google |
I'm definitely interested in contributing my time. |
I would like to aim for us to restart work on the Bootstrap 2.0 LESS branch soon with the aim for wrapping up in time for an end of July or early August release. Based on initial reviews, we have a number of components we still have left to work on but I'd love to get this project kick-started again. @panosru would you be available to help? Would be great to start looking at specifically what in B2 we don't yet support and need to start placing into issues to address. |
@addyosmani Hi, I really would love to but unfortunately I won't be available during summer :( |
First time i am looking at this and I am definitely interested. What has to be done until the project is ready for 2.0? Maybe I can help. |
@maklemenz completion of the move over to LESS and of course working on getting all the changes in UI components over. Quite a few changes there between 1 and 2. |
@addyosmani is it easier if you create a new branch & we submit pull requests to you? |
@addyosmani I've tried to correct some issues with the Bootstrap2-dev branch: Pull89 I miss ui-dialog autoreposition on window resize by default and the enhanced upload button is not working now. |
Whats the current status on this? |
Current status is that I've started work again on a Bootstrap 2 port (although, mostly starting from scratch rather than continuing the work done in the current Bootstrap2-dev branch, sans LESS) - very small preview http://addyosmani.com/gyazo/c778c.png. This will result in a quicker, usable port from me in the next few weeks, however, if people really want the LESS version enough (and are happy to help with it) we can definitely do that instead. The challenge is that there isn't just the task of converting UI Bootstrap 1.0 over to using LESS. There's a huge amount of work involved in getting the visual overrides, states, animations etc in Bootstrap 2.0 working with the existing theme and getting much of the form setups etc confining to jQuery UI's way of doing things cross-browser. This isn't a trivial amount of work for the port. It'll take time either way, but there's definitely a new version in the works. |
I think using LESS (and the variables.less) is a pretty good feature, because this way all your elements look the same, and colors/styles can be changed with just setting a couple of variables. (Like the border-radius, and the blue color in the links/sliders) |
I am looking forward for LESS, too but a first working version without LESS is also nice. |
from what I see, t1gr0u has a really good start. |
@basejump If you have time to fork + merge the changes from Jan on, I could pull them back into the Dev branch or create a new one we can focus on. Appreciate any help at all really. I'm all for us using LESS if it means we have a stable base we can build on. You might be interested in seeing what I was trying to achieve with Bootstrap2-addy. Some of those changes could be better adapted to use LESS variables and we could continue work on from a single point (rather than multiple forks/branches) then. |
I've been looking at it. Perhaps it may be easier to take what you have and convert back to less using something like http://css2less.cc/. Is the best approach to do a diff on jquery-ui-1.8.16.custom.css with the one from master to get my arms around what you have done? I have a handfull of design questions too. Perhaps we can do a skype or some direct emails to get the ball rolling? my skype name base.jump |
I believe so.
Because there are a few developers and designers interested in helping out, I think it would be more effective if you could create new issues on the tracker with specific questions or concerns and we can then discuss/flesh out solutions or decisions to them. Sound good?
I've been wondering about this. One of the concerns I had with my approach to just going directly for a CSS implementation was how difficult it might be to clean it up into a more manageable LESS version of the project. Do you have much experience with the css2less tool?. One possible thing we could do is continue implementing using just CSS and convert to LESS prior to release. That does sound a little like doing things backwards, but might be quicker. |
#95 |
Nice work @basejump! I also noticed you did some further cleanups. I'll test out your changes today and hopefully we can land them in a single Dev branch we can continue working off of. Appreciate your help! |
Closing as this has already been done. We're mostly just making tweaks and doing coverage testing on the rest of Twitter Bootstrap 2. |
This issue is to discuss how we're going to implement the upgrade to 2.0 and follows from the conversations started in #52.
We probably need to hash out the LESS solution we're going to try using and decide on what we do want to target from Bootstrap 2.0, whether what we target can be matched against a jQuery UI widget or stable third party plugin etc.
//cc @panosru
The text was updated successfully, but these errors were encountered: