-
Notifications
You must be signed in to change notification settings - Fork 142
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
yiisoft/yii2-bootstrap4 #289
Comments
I'd be glad to support b4, but I still don't know the best way to do that. I see others have made custom repos, but that would mean duplicating code. I think the best would be to make overrides for the view, possibly automatically. Hints/help welcome |
Kartik seems to have implemented a module param to conditionally show different layout/js/css for BS3 or BS4 |
I think we should remove all dependencies like selectize widget. I am also not happy with bs. I am more about creating a different repository for views only. They should not be part of the module. I found them a problem to the library when wanting to scale. |
This widget also can be replace by Kartik's Select2. (And look like so strange use selectize only for one page). We can add options to pick 3-part-widgets on this case? |
I think is better to remove it entirely TBH I'll propose something when having a bit of time. |
Hi guys, do you have any prevision when this will be release? |
@qav-gabriela-castro I am trying to organize my time in order to properly give good feedback and/or implementations. I think the dependencies on widgets and/or external components is a mistake as we do allow the overriding of views. |
Is there anything planned soon? |
@maxxer I think the best way is:
About bootstrap 4I have been checking the solution from kartik and doesn't make sense for us:
I think the best solution would be to create a new branch Other approaches welcome. |
Not too sure who'll be the hero, but I hope you are all okay! Until we can support Bootstrap 4.2.1, we can't go into production with this awesome tool 😿 |
This CVE is also fixed for Bootstrap >=3.4.0 |
...so what would the ideal solution be? |
If anyone has proposals I'm open for discussion/merge, unfortunately I don't have time to work on it and the original author either (I suppose) |
can't this code be a start ? |
@TonisOrmisson I saw that, but was able to do a POC on our DEV with Bootstrap 3.4.1. It is also by no means the only CVE. OWASP report reveals the same. |
@TylerByte666 I did very little, and it would be great if you can get this extension with the version 4 bootstrap option, good job 😅 |
@maxxer @tonydspaniard Can we start to initialize the bs4 version somehow. I suggest you create a bs4-branch and maybe then @lhfi code can be merged as start and then other also have a branch to submit their contributions? |
We have a number of commits in the main branch untagged so I would not worry about tag numbers on bs4 at this point. I would simply make a start with creating a new branch eg bs4 and then one could refer to that as |
Branch created! |
Please update docs for use bs4 version, thanks all |
I have updated page by page for the display of bs4 but it still looks bad, it must be changed by hand then |
You cannot mix and match BS3 and BS4. If you have any BS3 widgets on the page, (e.g. you didn't update the menu bar in your layout, or there is another widget using BS3 like notifications, alerts etc ) then it breaks BS4 completely and the layout looks terrible. |
Yes I know but better than having the dezoomated pages is, but I still haven't found an optimal solution |
What steps will reproduce the problem?
So... We have "new" bootstrap... And separated extensions for it.
This package use
yiisoft/yii2-bootstrap
in dependencescomposer show --tree
What is the expected result?
the new major version within support bootstrap4 throw
yiisoft/yii2-bootstrap4
What do you get instead?
not implemented
The text was updated successfully, but these errors were encountered: