? NPM Resource Changed ? ? ? Pending

User tests: Successful: Unsuccessful:

avatar RickR2H
RickR2H
2 Jul 2021

Pull Request for Issue # .

Summary of Changes

This PR addresses two issues:

The Cassiopeia template has a left and a right position. At the moment the breakpoint at which the left and right position will stack is way to small and not functional. This is the same with modules in top-a, top-b, bottom-a and bottom-b. With this PR I made the mobile breakpoint configurable in the template settings.

template-parameters

Modules is top-a, top-b, bottom-a and bottom-b don't align with the sidebar-left and sidebar-right position of the Cassiopeia template. This PR fixes this.

align-modules

The extra mobile classes in the body, adds also a lot of extra flexibility in styling a custom template.

Testing Instructions

  1. Apply the patch and compile the CSS
  2. Add multiple modules to the sidebar-left, sidebar-right, top-a, top-b, bottom-a and bottom-b
  3. See if the modules in top-a, top-b, bottom-a and bottom-b align with the sidebar-left and sidebar-right
  4. Set the mobile breakpoint in te template an see if the modules respond to the set breakpoint

Actual result BEFORE applying this Pull Request

See description above

Expected result AFTER applying this Pull Request

See description above

Documentation Changes Required

No

avatar RickR2H RickR2H - open - 2 Jul 2021
avatar RickR2H RickR2H - change - 2 Jul 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jul 2021
Category Language & Strings Front End Templates (site) NPM Change
avatar RickR2H RickR2H - change - 2 Jul 2021
Labels Added: ? NPM Resource Changed ?
avatar RickR2H
RickR2H - comment - 5 Jul 2021

@sandewt please test this PR ?

avatar ricardo1709 ricardo1709 - test_item - 5 Jul 2021 - Tested successfully
avatar ricardo1709
ricardo1709 - comment - 5 Jul 2021

I have tested this item successfully on 2575a8e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

a8423d7 5 Jul 2021 avatar RickR2H typo
avatar RickR2H
RickR2H - comment - 6 Jul 2021

@ricardo1709 Would you please test again!

avatar RickR2H
RickR2H - comment - 6 Jul 2021

@Quy please test ?

avatar ricardo1709 ricardo1709 - test_item - 6 Jul 2021 - Tested successfully
avatar ricardo1709
ricardo1709 - comment - 6 Jul 2021

I have tested this item successfully on cbbab81


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

avatar RickR2H
RickR2H - comment - 6 Jul 2021

@brianteeman @ricardo1709 could you please test again.
The errors in the language strings are biting me in the you know what.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

avatar ricardo1709 ricardo1709 - test_item - 7 Jul 2021 - Tested successfully
avatar ricardo1709
ricardo1709 - comment - 7 Jul 2021

I have tested this item successfully on 5e42534


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

avatar MSnoeren MSnoeren - test_item - 7 Jul 2021 - Tested successfully
avatar MSnoeren
MSnoeren - comment - 7 Jul 2021

I have tested this item successfully on 5e42534


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

avatar richard67 richard67 - change - 7 Jul 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 7 Jul 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

avatar bembelimen
bembelimen - comment - 7 Jul 2021

Why do we need options for that? I mean, can't we just do it "right" without options?

avatar RickR2H
RickR2H - comment - 7 Jul 2021

@bembelimen Imho the right wat is to make the template scalable, flexible and easy to use even for non programmers. By the way , setting a breakpoint for the left and right position at 992px is not even close to right! This is my attempt to make the template as useful as possible, so people actually start using the template in production or as a solid starting point. If the right way is building form scratch, why do we even bother building a frontend template in the first place. If we want more people to actually start using Joomla, we should make things as easy as possible and make sure thinks look good!

Nevertheless, if you have a better way we can achieve a better and flexible template then I'm all ears.

avatar richard67
richard67 - comment - 12 Jul 2021

Added the RLDQ (release lead decision queue) label. @wilsonge Please decide if that shall go into 4.0 or not before the language freeze. If not, we have to move it to 4.1.

avatar RickR2H
RickR2H - comment - 13 Jul 2021

Would be really great to get this merged before the freeze!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34687.

avatar wilsonge
wilsonge - comment - 13 Jul 2021

I agree with @bembelimen this doesn't really feel like the right place for a parameter for the template. If we need to tweak the stack break and alignment let's do that directly in the scss rather than adding parameters that will be very rarely modified and require a decent amount more scss maintainer overhead.

avatar wilsonge wilsonge - close - 13 Jul 2021
avatar wilsonge wilsonge - change - 13 Jul 2021
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2021-07-13 11:00:39
Closed_By wilsonge
Labels Added: ? ?
avatar RickR2H
RickR2H - comment - 13 Jul 2021

Thanks @wilsonge for you feedback. I partially agree with you. My idea was to make the template actually functional in real live scenarios out of the box. To me it feels a bit like a crippled template that could have some great potential. Imho we now scare new users away by telling them they have to tweak the CSS first to get a decent and practical template.

avatar bembelimen
bembelimen - comment - 13 Jul 2021

I still think, it would be a valid PR which just increases the break point once if the current step is too small

avatar RickR2H
RickR2H - comment - 13 Jul 2021

I still think, it would be a valid PR which just increases the break point once if the current step is too small

That would be a solution to make the template at least a bit more practical. What breakpoint would in your opinion be the best option, lg (992px) or xl (1200px)?

Add a Comment

Login with GitHub to post a comment