User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Check that everything still work as before in the front end
No. jQuery and Bootstrap.js are still supported and can be loaded whenever they're needed but they're not forced anymore
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Templates (site) |
I'd love it if this worked - unfortunately the menu doesn't work anymore after this is applied :(
Labels |
Added:
?
|
Category | Front End Templates (site) | ⇒ | Modules Front End Templates (site) |
Removed the dictated jQuery.js and Bootstrap.js from the backend template.
cassiopeia is fronted. i assume this was a typo or am i missing something else
@brianteeman typo. Copy pasted the text from the other PR..
thanks for confirming
@dgrammatiko I don't mean the mod_menu unfortunately - I mean the one in the template here https://github.com/joomla/joomla-cms/blob/4.0-dev/templates/cassiopeia/index.php#L90-L102
@wilsonge I'm afraid that this is more of a problem with how the template is created. That whole html markup belongs to the menu module, splitting this to 2 parts one in the template and another in the module is wrong. The menu is one entity that includes also the button for the narrow screens. In sort, moving the bootstrap call into the menu module will solve the problem for mobiles but also unveiled a huge perception problem here: you cannot split things up just because you might be able to or you'll breaking up massively the modularity of the system.
Another example that this design of the template will fall really sort: I'm a user and have just installed a 3rd pt menu system. There are 2 options here either that module has to follow the given hardcoded button markup that already exists in the template or you'll stack with an extra button...
That's not promoting modularity or flexibility
My 2c anyways...
Well actually it doesn't because you're saying you can't add things like search area's into the menu dropdown (which is a real user case).
I'm not against this PR but until we find a way to make that work this PR is not going to be merged
because you're saying you can't add things like search area's into the menu dropdown
That's a wrong assumption, you can echo any module position inside any module template, so nothing is broken, just some minor shifting to get more modular...
It’s not an assumption. Right now we have a UI using module positions that is designed to do things just like what I said
This PR is totally legit in intentions. But right now we have a hard bootstrap dependency to give a specific user feature and we can’t merge this until we come up with a solution to that
we can’t merge this until we come up with a solution to that
I will come up with something the coming days
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-26 10:24:58 |
Closed_By | ⇒ | dgrammatiko |
With forced jQuery and bootstrap.js:

Without:

That .5s in my localhost translates to some seconds in real world with network latencies and other bottlenecks. Don't stream more javascript to the client than what is absolutely necessary...