- π¬π§United Kingdom catch
I think this is causing π Nightwatch tests fail with "unsupported pseudo: tabbable" after jQuery 4 update Postponed and hence blocking jQuery 4, bumping to critical.
- Status changed to Closed: outdated
9 months ago 4:05pm 4 March 2024 - π¬π§United Kingdom catch
#6 is wrong, maybe the last :tabbable usage got fixed in the meantime.
pretty sure the nightwatch error on jQuery 4 is the shim itself, so we should close this in favour of removing the shim. Marking as outdated.
- Status changed to Active
9 months ago 4:13pm 4 March 2024 - Status changed to Needs review
9 months ago 4:16pm 4 March 2024 - Status changed to Needs work
9 months ago 5:51pm 4 March 2024 - π¬π§United Kingdom catch
Yeah I've messed something up between copying the method over/tabbable conversion/linting fixes.
- First commit to issue fork.
- Status changed to Needs review
8 months ago 8:22pm 8 April 2024 - π·πΈSerbia finnsky
It was easier for me to start from scratch. Please review
- Status changed to Needs work
8 months ago 8:57pm 8 April 2024 - π·πΈSerbia finnsky
Something wrong happends with off-canvas
https://gyazo.com/b264ef37eb621d29a8ffb47807817494 - π·πΈSerbia finnsky
This Fix doesn't look like `hot` anymore
https://jqueryui.com/upgrade-guide/1.12/#deprecated-dialogclass-in-favor...
- Status changed to Needs review
8 months ago 9:32pm 8 April 2024 - ππΊHungary GΓ‘bor Hojtsy Hungary
If the class placement changes are good, the
Drupal\Tests\system\Functional\Ajax\OffCanvasDialogTest
test also need the same fix you already did incore/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest
. - π·πΈSerbia finnsky
dialogClass
is attached in ignored code:
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/assets/vendor...so probably all places with deprecated dialogClass should be rewritten(checked at least)
- π·πΈSerbia finnsky
I've replaced dialogClass usage. We also need to deprecate it in dialog.js somehow.
Some dialogs works wierd. Good testing required here. - π¬π§United Kingdom catch
Down to a single fail in the pipeline in workspaces now, but it looks like workspaces is already updated in the MR?
I think we should probably go ahead here with a CR once that is fixed? The changes look fine, the main issue is notifying contrib about the dialogClass change, but breaking contrib with 11.x alphas because we updated to jQuery 4, is more notification for contrib than we currently have which is nothing. We can even grep contrib and open individual issues or open a rector/project update bot issue to look for it..
- π·πΈSerbia finnsky
I've checked. Test is correct. Workspace module not attaches class. And broken now
- π¬π§United Kingdom catch
I think we should commit this to unblock the jQuery 4 update, and then open a follow-up to figure out what to do with dialogClass. It seems to me that we should remove it from our 11.x fork altogether, and trigger a deprecation (if possible) when it's used in 10.3.x - but not sure how feasible that actually is between jQuery UI and our JavaScript deprecation support.
- Status changed to RTBC
7 months ago 5:35pm 13 April 2024 - πΊπΈUnited States smustgrave
Seems @catch has done the review
Opened π Trigger a JavaScript deprecation error for dialogClass in forked dialog.js Active per #25.
Will go ahead and mark.
- Status changed to Needs review
7 months ago 7:54am 14 April 2024 - π¬π§United Kingdom catch
Looked at this a bit more and the PHP-level deprecation should be straightforward, I've pushed a commit for this.
Assuming that's OK, after 11.x commit, we'll want a 10.3.x MR here with the changes to the dialog command, without any of the js changes.
I think we can keep π Trigger a JavaScript deprecation error for dialogClass in forked dialog.js Active open for what to do with dialogClass in the forked dialog js itself.
- π¬π§United Kingdom catch
The 10.3.x bc/deprecation layer is working, in that tests pass - apart from a couple of test failures due to the new deprecation being triggered.
So if we clean up the dialogClass usages in the 10.3.x branch the same as the 11.x branch, we should get to green on 10.3.x too. Waiting for a full run to finish that only has those deprecation failures before doing that though.
- π¬π§United Kingdom catch
Just realised after doing all that, there is probably no harm in backporting the dialog.js changes to 11.x, given that the deprecation/bc layer works. So we can probably do without a 10.3.x branch here after all, and backport the entire change from 11.x to 10.3.x?
- Status changed to Needs work
7 months ago 4:07pm 14 April 2024 The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Status changed to Needs review
7 months ago 6:59am 15 April 2024 - π«π·France nod_ Lille
couple of questions in the 10.3 branch, the 11.x is good to go IMO
- π·π΄Romania amateescu
Posted a few comments on the 11.x MR. Otherwise this looks good to me :)
- Status changed to RTBC
7 months ago 2:30pm 17 April 2024 - πΊπΈUnited States smustgrave
Feedback from @nod_ appears to be addressed.
Updated the CR slightly to include a before/after snippet, I find it helpful but feel free to remove if it's clutter.
- Status changed to Fixed
7 months ago 3:15pm 17 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.