? ? ? Pending

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
5 May 2021

Pull Request for Issue #33296 .

Summary of Changes

This PR will replace the Bootstrap popover by the already implemented css only version of tooltip.

<button blablabla aria-labelledby="unique-id">blabla</button>
<div id="unique-id" rel="tooltip">text</div>

Testing Instructions

  • Joomla 4 with blog sample data
  • Go to Content > Articles and hover Stage, Featured or Status icon
  • see the result
  • Apply this PR and repeat step 2 and 3

Actual result BEFORE applying this Pull Request

Schermafbeelding 2021-05-05 om 12 03 04

When workflow is enabled the hover on Featured and Status is not working on my machine.

Expected result AFTER applying this Pull Request

Schermafbeelding 2021-05-05 om 11 35 47
Schermafbeelding 2021-05-05 om 11 35 51
Schermafbeelding 2021-05-05 om 11 35 56

Documentation Changes Required

avatar hans2103 hans2103 - open - 5 May 2021
avatar hans2103 hans2103 - change - 5 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 May 2021
Category Administration com_content Language & Strings Layout Libraries
avatar brianteeman
brianteeman - comment - 5 May 2021

Please change click to select. We don't use click as you can't click on a phone etc

avatar brianteeman
brianteeman - comment - 5 May 2021

Please use tabs not spaces for indentation

avatar brianteeman
brianteeman - comment - 5 May 2021

There is a featured button in com_contact as well. No preference on which is better but they should be consistent with each other please

avatar hans2103 hans2103 - change - 5 May 2021
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 May 2021
Category Administration com_content Language & Strings Layout Libraries Administration com_contact com_content Language & Strings Layout Libraries
avatar hans2103
hans2103 - comment - 5 May 2021

There is a featured button in com_contact as well. No preference on which is better but they should be consistent with each other please

You are right @brianteeman... I've changed it from anchor to button now.

avatar brianteeman
brianteeman - comment - 5 May 2021

Please review the number of tabs
image

image

avatar hans2103
hans2103 - comment - 5 May 2021

Please review the number of tabs

damn my settings in PHPStorm.

avatar brianteeman
brianteeman - comment - 5 May 2021

please recheck the tabs. if you look at the file here on github then you can easily see the multiple errors

avatar hans2103
hans2103 - comment - 5 May 2021

please recheck the tabs. if you look at the file here on github then you can easily see the multiple errors

All checks are okay now... according to Drone

avatar brianteeman
brianteeman - comment - 5 May 2021

I wrote very specifically what you need to do

avatar hans2103
hans2103 - comment - 5 May 2021

and I followed the instructions replacing spaces with tabs at the places where Drone complained.

avatar hans2103
hans2103 - comment - 5 May 2021
avatar brianteeman
brianteeman - comment - 5 May 2021

@hans2103 its not just drone that you have to look at. You need to look at the code. Drone only reports on spaces instead of tabs. It doesn't report on too many or too few tabs

Examples

image

image

image

avatar brianteeman
brianteeman - comment - 5 May 2021

@Quy maybe you can explain better what needs to be done

avatar hans2103
hans2103 - comment - 5 May 2021

@brianteeman thank you for the example. I will revert those changes and only commit my intended changes/additions

avatar brianteeman
brianteeman - comment - 5 May 2021

Those are only examples and not an exhaustive list. It is really obvious what needs correcting when you look at the code here on github

avatar hans2103
hans2103 - comment - 5 May 2021

what I have done...

  • copied the content from all changed php files from branch 4.0-dev
  • reapplied my changes

This should do the trick.

avatar hans2103
hans2103 - comment - 5 May 2021

I'm getting crazy... I do see code style changes to parts I did't touch.

avatar brianteeman
brianteeman - comment - 5 May 2021

You must have automatic code formatting set in your ide

avatar hans2103
hans2103 - comment - 5 May 2021

Thought I did.... and followed the steps as explained in PHPStorm.

avatar hans2103
hans2103 - comment - 5 May 2021

Seems that my PHPStorm fails like a charm.
Back to vi editor. :-)

avatar chmst
chmst - comment - 6 May 2021

Thanks for working on this. Glad to get rid of the Popovers

For further improvements: #33575

avatar brianteeman
brianteeman - comment - 6 May 2021

@chmst I would create a new issue for this. And yes I agree its a long standing problem that would be good to resolve

avatar chmst
chmst - comment - 6 May 2021

@brianteeman Will do - then we can do this in smaller steps.

avatar brianteeman brianteeman - test_item - 6 May 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 6 May 2021

I have tested this item successfully on 76b6914

Sorry forgot to record a test


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

avatar chmst chmst - test_item - 7 May 2021 - Tested successfully
avatar chmst
chmst - comment - 7 May 2021

I have tested this item successfully on 76b6914

Thank you!


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

avatar sandramay0905 sandramay0905 - test_item - 7 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 7 May 2021

I have tested this item successfully on 76b6914


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

avatar chmst chmst - change - 7 May 2021
Status Pending Ready to Commit
avatar chmst
chmst - comment - 7 May 2021

RTC


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

avatar Quy Quy - change - 7 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-07 11:35:55
Closed_By Quy
Labels Added: ?
avatar Quy Quy - close - 7 May 2021
avatar Quy Quy - merge - 7 May 2021
avatar Quy
Quy - comment - 7 May 2021

Thanks

Add a Comment

Login with GitHub to post a comment