? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
31 May 2021

Pull Request for Issue #34247

Summary of Changes

correct rendering of alerts

Testing Instructions

Visit Joomla API Token tab in Edit User and look at the alert blocks which are yellow - these are built by a "note" field in a form.

Actual result BEFORE applying this Pull Request

Screenshot 2021-05-31 at 23 26 16

Expected result AFTER applying this Pull Request

Screenshot 2021-06-01 at 11 24 50

Text color is addressed in #34328

Documentation Changes Required

avatar PhilETaylor PhilETaylor - open - 31 May 2021
avatar PhilETaylor PhilETaylor - change - 31 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2021
Category Libraries Front End Plugins
avatar PhilETaylor PhilETaylor - change - 31 May 2021
Labels Added: ?
avatar brianteeman
brianteeman - comment - 31 May 2021

This pr is not correct as it doesn't take into account all the other uses of this field type

avatar PhilETaylor
PhilETaylor - comment - 31 May 2021

Such as?

avatar PhilETaylor
PhilETaylor - comment - 31 May 2021

There are only 4 uses. This one in Joomla API token.

The one in template details which is still ok:

Screenshot 2021-05-31 at 23 34 12

The one in Global Config which now has an icon which looks better:

Screenshot 2021-05-31 at 23 35 18

and lastly in the TinyMCE Plugin edit page which again looks fine to me:

Screenshot 2021-05-31 at 23 36 14

avatar PhilETaylor PhilETaylor - change - 31 May 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 31 May 2021
avatar Abernyte-Git Abernyte-Git - test_item - 1 Jun 2021 - Tested successfully
avatar Abernyte-Git
Abernyte-Git - comment - 1 Jun 2021

I have tested this item successfully on bffdf7e

That alert colour is difficult to read or it is my old eyes!


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

avatar brianteeman
brianteeman - comment - 1 Jun 2021

I am not in favour of the change to the markup here.

avatar PhilETaylor
PhilETaylor - comment - 1 Jun 2021

But yet you dont state what would actually pass your own personal test... almost as bad as down thumbing.

Ok, Ill remove the icon, but leave the rest as that allows correct markup without a p tag in alerts

avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2021
Category Libraries Front End Plugins Front End Plugins
avatar brianteeman
brianteeman - comment - 1 Jun 2021

Ah I see the problem now. The clue was checking the other uses.

The heading element is valid and its used for the LABEL
The DESCRIPTION is displayed in a div. no p tags or anything.

The Mistake in this plugin is that label="PLG_USER_TOKEN_SAVEME_DESC" should be description="PLG_USER_TOKEN_SAVEME_DESC"

avatar PhilETaylor PhilETaylor - change - 1 Jun 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 1 Jun 2021
avatar PhilETaylor PhilETaylor - change - 1 Jun 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 1 Jun 2021
avatar PhilETaylor
PhilETaylor - comment - 1 Jun 2021

PR Description/intro changed

avatar brianteeman brianteeman - test_item - 1 Jun 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 1 Jun 2021

I have tested this item successfully on e4b8ef6


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

avatar Quy Quy - test_item - 2 Jun 2021 - Tested successfully
avatar Quy
Quy - comment - 2 Jun 2021

I have tested this item successfully on e4b8ef6


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

avatar Quy Quy - change - 2 Jun 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 2 Jun 2021

RTC


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

avatar Quy Quy - close - 3 Jun 2021
avatar Quy Quy - merge - 3 Jun 2021
avatar Quy Quy - change - 3 Jun 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-06-03 16:42:16
Closed_By Quy
Labels Added: ?
avatar Quy
Quy - comment - 3 Jun 2021

Thanks!

Add a Comment

Login with GitHub to post a comment