User tests: Successful: Unsuccessful:
Pull Request for Issue # N.A.
This pull request (PR) cleans up the Cassiopeia template and SQL scripts for installation of core and sample data from unused copy-and-paste remainders coming from Joomla 3 by doing 3 things:
These three changes are separated to three commits, so maintainers can cherry-pick some of the changes if not all three are accepted.
Where do these changes apply:
Experienced maintainers or reviewers:
Code review should be enough.
Normal testers:
Install new J4 (e.g. alpha 5 or a later nightly build) with blog sample data.
Now unpack the install package which you have used, apply the changes from this PR, pack it again and make a new installation with that modified package.
Or use the modified nightly build from today available here: (obsolete link removed)
Install blog sample data. Create a contact and a menu item for it in the same way as before with the unmodified installation. Check with this new installation that:
None of the menu modules coming with a new installation or any kind of sample data contains any module class "_menu" or menu class "nav-pills", which is consistent with a newly created menu module.
The default_links.php template of com_contacts does not add class "nav-pills" to the links list, which would have no visual effect.
The Cassiopeia template's offline page does not handle a not existing option about template colors, which clearly was a remainder from copying stuff from J3's Protostar template.
The opposite of the expected result.
Some examples on the incisistency of menu module css classes:
No idea. Check if menu class "nav-pills" and module class "_menu" are referred somewhere in J4 docs.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_contact SQL Installation Postgresql Plugins Templates (site) |
Title |
|
To maintainers: Drone build failure is not related to this PR.
I will make separate PRs for the particular issues for easier testing.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-11 11:56:02 |
Closed_By | ⇒ | richard67 | |
Labels |
Added:
?
|
Removed obsolete download link.
Yes both _menu
and nav-pill
classes can and should be removed imo.
@ciar4n with nav-pills in sample data I am not sure. Maybe it will be supported again in some future in the Cassiopeia template, or maybe there will be another way for having horizontal menus in position top-a, and then it would be easier to find and replace by the new menu class in the blog sampledata plugin.
With _menu I am sure it should be removed from sampledata and installation sql.
So or so I will make 2 new, separate PRs for removing them.
I presume when you say supporting classes like nav-pills
, you are referring to been able to add such classes to the 'Module Class' field? Previously the module class location seemed to be largely dictated by Bootstrap so likely to be placed anywhere. In J4 that class has been moved to be consistently on the outside container.
To answer I would say nav-pills
can be safely removed. In Joomla's current state such a class would be added to an override rather than the database.
@infograf768 Could you review the sample data parts?
@ciar4n Could you review the Cassiopeia template's offline page and the irrelevance of the removed classes "_menu" and "nav-pills" in the Cassiopeia template's SCSS?