? Language Change ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Apr 2022

This pr adds the required table caption and column/row scope to the table.

There are no visual changes and brings this table into line with all other admin tables.

As webauthn requires https this PR cannot be tested on a site without https.

image

avatar brianteeman brianteeman - open - 3 Apr 2022
avatar brianteeman brianteeman - change - 3 Apr 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Apr 2022
Category Administration Language & Strings Layout
avatar brianteeman brianteeman - change - 3 Apr 2022
Labels Added: Language Change ?
avatar Quy
Quy - comment - 3 Apr 2022

I have tested this item successfully on 724a7be


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

avatar Quy Quy - test_item - 3 Apr 2022 - Tested successfully
avatar richard67
richard67 - comment - 3 Apr 2022

Would a test by review be sufficient, too? By review this PR looks right to me, but I don't have any Webauthn authenticator set up right now.

avatar brianteeman
brianteeman - comment - 3 Apr 2022

@richard67 it would be ok for me as this is well established code

avatar richard67
richard67 - comment - 3 Apr 2022

@richard67 it would be ok for me as this is well established code

Well established and the change is clear and easy to understand.

avatar richard67
richard67 - comment - 3 Apr 2022

P.S.: ... and I had tested similar PRs successfully in past.

avatar richard67
richard67 - comment - 3 Apr 2022

I have tested this item successfully on 724a7be

By review.


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

avatar richard67 richard67 - test_item - 3 Apr 2022 - Tested successfully
avatar richard67 richard67 - change - 3 Apr 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 3 Apr 2022

RTC


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

avatar Quy Quy - change - 3 Apr 2022
Labels Added: ?
avatar Quy Quy - change - 3 Apr 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-04-03 19:13:39
Closed_By Quy
avatar Quy Quy - close - 3 Apr 2022
avatar Quy Quy - merge - 3 Apr 2022
avatar Quy
Quy - comment - 3 Apr 2022

Thanks

avatar nikosdion
nikosdion - comment - 26 Apr 2022

This has actually broken the Edit button in the WebAuthn management interface. Had any of you made even a cursory test you would have known.

The problem is in line 114 of the manage.php file where you changed the TD to a TH.

The build/media_source/plg_system_webauthn/js/management.es6.js file is targeting the TD elements inside the TR, see lines 192 to 196. By changing the element to a TH you broke the Edit button.

@brianteeman You have been complaining for a very long time that a. people contribute untested code and b. core committers push the merge button without thinking. In this case you did not test your change, you asked core committers to hit the merge button without having any tests at all and you did not even bother to ping me about this PR even though I am the designated code owner for WebAuthn as per .github/CODEOWNERS.

This time y'all got lucky because I just so happened to stumble across it before it made it to production while I am refactoring the WebAuthn plugin for Joomla 4.2.

The whole reason of the PR SOPs and code ownership is to avoid this trifecta of failures and to ensure that catching these issues happens long before merging and not because the code owner oh-just-so-happened to be refactoring the code after the breakage was merged into the repo!

Please take the following corrective actions:

  • Fix the management.es6.js file.
  • Change the .github/CODEOWNERS to include me as the code owner of the layouts/plugins/system/webauthn/manage.php file since it was moved outside the plugin's folder.
  • Never contribute untested code especially if you think you are too good / your change is too small to need any testing at all.
  • Never set code to RTC without any tests whatsoever on the basis that the contributor pinky swears it's all good.
  • Never merge code that has an owner without asking the code owner for feedback.
avatar brianteeman
brianteeman - comment - 26 Apr 2022

I just checked my branch and I had actually fixed the js - but stupidly only in /media and not build/media-source so it was not picked up by git. Mea culpa

I assume that it doesnt need correcting as you have fixed it in #37673

regarding the codeowners file - its not going to work how you expect it to work. gh designed it so that the person named in the file woulod automatically receive notification BUT that only works if that user is also a member of the repo.

avatar nikosdion
nikosdion - comment - 27 Apr 2022

No, it still needs fixing I'm afraid :( My PR is for Joomla 4.2 and not merged yet, your PR is merged and is for Joomla 4.1. If it's not fixed the next release of Joomla (4.1.3) will have a broken WebAuthn. If you could just copy over the same solution I have in my PR — which I made in a separate commit so you can do just that, by the way — it'd be very much appreciated.

Regarding the CODEOWNERS file, ugh, well, at least having it complete would be a good start. If the owners of the Joomla organisation on GitHub could add a read-only team and invite us code owners into it it'd solve the automation problem. Otherwise there's no point in having a code owner who's never notified preemptively but might still be called to fix what's broken after the fact. The whole point of code ownership is for us to share our domain-specific knowledge very early to avoid SNAFUs, am I right?

avatar richard67
richard67 - comment - 27 Apr 2022

which I made in a separate commit so you can do just that, by the way

That's this one here: 84b996a

@brianteeman Will you make a PR? That would be great.

avatar brianteeman
brianteeman - comment - 27 Apr 2022

yes i will make a pr later today when i finish testng the new pr for 4.2

yes you are correct about the purpose of codeowners - its a limitation of github that I brought up in their internals but got no traction. Your proposed solution might work @HLeithner is it possible you take a look

avatar HLeithner
HLeithner - comment - 27 Apr 2022

I'm looking into the read only group and coordinate this with the other maintainers

avatar brianteeman
brianteeman - comment - 27 Apr 2022

Thank you @HLeithner

avatar brianteeman
brianteeman - comment - 27 Apr 2022

PR for my error #37676

Add a Comment

Login with GitHub to post a comment