? ? ? Pending

User tests: Successful: Unsuccessful:

avatar particthistle
particthistle
31 Oct 2020

Pull Request for Issue #31267

Summary of Changes

  • Changes <br> to <br /> consistently throughout plugin language files.
  • Changes <br> to <br><br> in various language files to add an additional line before warnings in descriptions to improve readability on screen.
  • Changes <br> to paragraphs in various language files to add spacing and formatting before warnings in descriptions to improve readability on screen.

Where @gostn identified Content - Fields plugin having the issue in #31267 a closer inspection of plugins showed a number of plugins with descriptions that could be improved by additional spacing being added.

Testing Instructions

  • Before applying the patch, check a few of the plugins in the list to see what the before status looks like.
  • Apply the patch
  • Check the various plugins listed in the file changes for this PR to see the various changes have taken effect without impacting the usability of the plugin details.

Actual result BEFORE applying this Pull Request

Before spacing is improved, there will not be a space between the first paragraph and the second paragraph:
image

Expected result AFTER applying this Pull Request

After spacing is improved, there will be an additional space between the first paragraph and the second paragraph:
image

Documentation Changes Required

None

avatar particthistle particthistle - open - 31 Oct 2020
avatar particthistle particthistle - change - 31 Oct 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Oct 2020
Category Administration Language & Strings
avatar richard67
richard67 - comment - 31 Oct 2020

Sure we need the <br> to <br /> change? As far as I know, HTML5 is the default for J4, and there a stand-alone <br> is absolutely valid, and the <br /> is the J3 XHTML style which we want to get rid of in J4. But I might be wrong, so hoping for more feedback.

avatar brianteeman
brianteeman - comment - 31 Oct 2020

Sorry but the change to <br /> is not correct. They were all changed to <br> deliberately

avatar brianteeman
brianteeman - comment - 31 Oct 2020

If you believe that the spacing between the sentences should be greater (i have no opinion on this) then it must be done as paragraphs and not with double <br>

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br for an explanation

avatar gostn gostn - test_item - 31 Oct 2020 - Tested successfully
avatar richard67
richard67 - comment - 31 Oct 2020

Sorry but the change to <br /> is not correct. They were all changed to <br> deliberately

If you believe that the spacing between the sentences should be greater (i have no opinion on this) then it must be done as paragraphs and not with double <br>

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br for an explanation

@brianteeman Thanks for your feedback. It's consistent with the information I have.

@particthistle Can you modify this PR to fix the issue in the right way?

Setting the "Updates Requested" label.

avatar adj9 adj9 - test_item - 31 Oct 2020 - Tested successfully
avatar adj9
adj9 - comment - 31 Oct 2020

I have tested this item successfully on 307e202

done :)


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

avatar richard67
richard67 - comment - 31 Oct 2020

@gostn @adj9 When you are testing, do you completely ignore that there are review comments with valid requests for changes?

avatar particthistle particthistle - change - 1 Nov 2020
Labels Added: ? ? ?
avatar particthistle particthistle - change - 1 Nov 2020
The description was changed
avatar particthistle particthistle - edited - 1 Nov 2020
avatar particthistle
particthistle - comment - 1 Nov 2020

Apologies - I think I'd looked at a J3 language file and had seen the <br />

Reverted the changes back to use
only. Number of files edited now has dropped from 26 to 17 as several had only been the modification to <br />

avatar richard67
richard67 - comment - 1 Nov 2020

If you believe that the spacing between the sentences should be greater (i have no opinion on this) then it must be done as paragraphs and not with double <br>

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br for an explanation

This still needs to be addressed.

Question: Couldn't the spacing issue be solved with CSS?

avatar jiweigert
jiweigert - comment - 1 Nov 2020

I would go with a paragraph <p> as Brian Teeman suggested, this would show a spacing in any case, even the CSS is not loaded.
If its not fitting the styleguides, there is still the option to adjust it via CSS later.


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

avatar jiweigert
jiweigert - comment - 1 Nov 2020

I would go with a paragraph <p> as Brian Teeman suggested, this would show a spacing in any case, even the CSS is not loaded.
If its not fitting the styleguides, there is still the option to adjust it via CSS later.


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

avatar adj9
adj9 - comment - 1 Nov 2020

@richard67
I have not considered this feature!!! I have not considered it!I have not considered this feature!!! I have not considered it!


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

avatar ceford
ceford - comment - 2 Nov 2020

There are 550 instances of <br /> in the code. And 1536 instances of <br>. Why not do them all?


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

avatar brianteeman
brianteeman - comment - 2 Nov 2020

Dont know where you are looking but this PR is for J4 and there should be zero instances of <br />

avatar ceford
ceford - comment - 2 Nov 2020

On the number of instances of <br /> - I searched my fork of 4.0-dev branch of the joomla-cms repo. I did not check where the instances occur: mostly in libraries/vendor, media/vendor, and node/modules. There is one occurrence in administrator/components/com_installer/tmpl/updatesite/default.php and another in configuration.php (off-line message). So I admit to making a mountain out of a molehill! Sorry.

avatar brianteeman
brianteeman - comment - 2 Nov 2020

That's not a mountain its the entire Himalaya ;)

avatar particthistle particthistle - change - 4 Nov 2020
The description was changed
avatar particthistle particthistle - edited - 4 Nov 2020
avatar particthistle particthistle - change - 4 Nov 2020
Labels Added: ?
Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Nov 2020
Category Administration Language & Strings Administration com_installer Language & Strings
avatar particthistle
particthistle - comment - 4 Nov 2020

Let's try that again. Misinterpreted earlier comments and so had just corrected the <br> and not converted to <p>.

Now converted to paragraphs where it then improves the flow of the descriptions of the various plugins.

Also pushed a commit to correct the <br /> to <br> in the file @ceford found in:
administrator\components\com_installer\updatesites\default.php

avatar particthistle particthistle - change - 5 Nov 2020
Labels Added: ?
Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Nov 2020
Category Administration Language & Strings com_installer Administration Language & Strings
avatar pranotiTechjoomla pranotiTechjoomla - test_item - 7 Nov 2020 - Tested successfully
avatar pranotiTechjoomla
pranotiTechjoomla - comment - 7 Nov 2020

I have tested this item successfully on 123c3bc


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

avatar MeghaBiranje
MeghaBiranje - comment - 7 Nov 2020

I have tested this successfully


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

avatar MeghaBiranje MeghaBiranje - test_item - 7 Nov 2020 - Tested successfully
avatar MeghaBiranje
MeghaBiranje - comment - 7 Nov 2020

I have tested this item successfully on 123c3bc

I have tested this successfully


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

avatar richard67
richard67 - comment - 7 Nov 2020

@particthistle Could you apply @Quy 's suggestions (see his review comments)? Thanks in advance.

avatar particthistle particthistle - change - 7 Nov 2020
Labels Added: ?
Removed: ?
avatar particthistle
particthistle - comment - 7 Nov 2020

@richard67 @Quy - Suggestions applied.

Please removed label:Updates Requested

Ready for testing again.

avatar particthistle particthistle - change - 13 Jan 2021
Labels Removed: ?
avatar Quy Quy - change - 1 Feb 2021
Labels Added: ?
avatar richard67 richard67 - change - 7 Feb 2021
Labels Added: Conflicting Files
Removed: ?
avatar richard67
richard67 - comment - 7 Feb 2021

I've allowed myself to solve the conflict.

avatar Quy Quy - test_item - 7 Feb 2021 - Tested successfully
avatar Quy
Quy - comment - 7 Feb 2021

I have tested this item successfully on 87a8df8


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

avatar richard67 richard67 - test_item - 7 Feb 2021 - Tested successfully
avatar richard67
richard67 - comment - 7 Feb 2021

I have tested this item successfully on 87a8df8


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

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

RTC


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

avatar Quy Quy - close - 8 Feb 2021
avatar Quy Quy - merge - 8 Feb 2021
avatar Quy Quy - change - 8 Feb 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-08 00:40:35
Closed_By Quy
Labels Added: ?
Removed: Conflicting Files
avatar Quy
Quy - comment - 8 Feb 2021

Thanks!

avatar particthistle
particthistle - comment - 9 Feb 2021

Thanks @richard67 for fixing the final conflict and @Quy for testing again - Apologies for going dark on the last parts had my github notifications being diverted.

Add a Comment

Login with GitHub to post a comment