-
Notifications
You must be signed in to change notification settings - Fork 513
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
Merge pull requests #64 and #81. #87
Conversation
Merge @koppor bootstrap3 sciactive#64 koppor/bootstrap3. Merge @jugautam fontawesome sciactive#81 jugautam/master. This should also resolve PRs sciactive#78 sciactive#76 and makes reference to open issues sciactive#82 sciactive#72 sciactive#62 sciactive#60 and if all parties can agree.
Did you run into issue regarding bootstrap3 support for which reason you have to distinguish between bootstrap and bootstrap3?? In my pull request #76 I just added additional bootstrap3 CSS classes where needed (https://github.com/sciactive/pnotify/pull/76/files), mainly 'cause I wanted to avoid duplicating the property definitions just for the sake of bootstrap versions. |
Sounds like a good idea. Your commit d94e017, however, seems to be missing |
@koppor sure, might be that I missed those two classes. |
@juristr I was considering it as a project maintainer ( @sciactive ? everything ok ? ) would and weighing the good for the many against the good for the few. We might never look back at BS 1&2 I don't disagree but this is not the time nor the place. To reach a conclusion I took the following factors into account, community acceptance and involvement, adherence to current style and practices but mostly I favoured those that accomplished their task and nothing else. You see my mug up there but the work is not mine and credit goes to the committers retained. My role was purely maintenance and my goal is to reduce the issue queue. This counts 8 open and related issues but since I am not a maintainer it is upto you whether you agree and show your support by closing your own issues in favour of joining forces towards a common goal. The sooner we get this done the sooner we can move on to new things #87 |
@nickl- Absolutely, I do close my pull request without any issue. That's why I started commenting as I went through the commits of @jbogdani who submitted commit 90c4949 to solve #60 and then I noticed that he added a His commit is perfectly valid..as mentioned, my only objection was the need for that explicit bootstrap declaration. 😄 I'll close my pull request in favor of solving the upgrade issue with this one here. |
I agree with you that bootstrap 3 should be the new default as it is also the default when visiting http://getbootstrap.com I have added you as a committer to the fork so that you can update the default to bootstrap 3. Once pushed it should update this pull request automatically. If you want to suggest more improvements rather make a branch and submit additional pull requests for review so as not to complicate this topic. |
Well, what I meant is not necessarily that it should be the default as there might be people that are still stick with v2. Rather I meant that as a user (if possible and I think it should be) you shouldn't have to specify explicitly which version. |
@juristr there are 3 points in your argument which I would like to raise different arguments for but I do agree with your general notion that it should be as simple as possible for new users and be an optimum solution. As much as we aim for things to remain easy for users we also want maintenance to be simple, am I correct? The 3 points in bullet form:
Going bootstrap 3 will cause BC breaks and therefor should likely accompany a major version bump as indicative.
Changing the assignment of the style property from a hard coded collection to perhaps a switch statement will solve the problem and only assign the values as per the default style type, but I do think this will be marginal at best. What do you think? |
👍
Do we actually need to identify from within the plugin which bootstrap version is being used?? I started from the assumption that if we take the bootstrap v2 compatible pnotify configuration and augment it with the new bootstrap v3 classes we should have done it. (Ignore my statement if I miss something here as I didn't dive too much into the code)
Nah...I wouldn't do that. Switch statements are normally against having maintainable code ;) As mentioned, I'm also fine in using different bootstrap configurations. As you correctly say, from a maintenance point of view it might be easier afterwards (at some point) to drop old bootstrap v2 stuff once it is no more used. It's a bit of a matter of taste and preferences. Adding a separate bootstrap v3 configuration is a bit uglier from the end -user point of view (but it's a relative, small overhead...probably not even worth discussing 😄 ). On the other it is preferable from a maintenance point of view.. I am fine with both approaches. |
Waiting for bootstrap3 changes please put them on nuget asap :) 👍 |
I'm going through pull requests and merging them. Is this ready to merge? I haven't looked at it much. |
Just add a bootstrap3 class and merge please. Such a simple issue, everybody is using their own custom version to support it. |
I'd rather not have all the classes included on the icon element. If someone wants to use that class, it could clash. Besides, if someone is using Bootstrap 3, it's just one extra line of code. |
Merge @koppor bootstrap3 #64 koppor/bootstrap3.
Merge @jugautam fontawesome #81 jugautam/master.
This should also resolve PRs #78 #76 and makes reference to open issues #82 #72 #62 #60.
If all parties can agree (@peteb4ker @juristr @panicoenlaxbox @jodytate @jbogdani) please close your individual Issues to regain some order around here in @sciactive's absence.