Problem/Motivation
Follow up from #3296098: Removal :tabbable usage in dialog.js from @catch
figure out what to do with dialogClass
This was deprecated in jQuery UI, but was still in use in various places in core.
The original issue added a PHP deprecation to 10.3, but not a JavaScript deprecation, we should try to add a js deprecation to 10.3.x
Steps to reproduce
N/A
Proposed resolution
Trigger deprecation in core/misc/dialog/dialog.js
Remaining tasks
Decide what to do
Implement it
Review
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A
Comments
Comment #2
catchComment #3
catchRe-titling - I figured out the PHP deprecation layer in the other issue, so now this issue is just about whether we want to add a js deprecation too, which seems fine if we can, but also non-critical.
Comment #4
bnjmnmI lost more time than I'd care to admit on a Project Browser issue due to there not being a JS deprecation, so I'm a big +1 on having this done to spare other 10 > 11 upgraders that annoyance.
Comment #5
catchUpdating the issue summary.
Comment #8
utkarsh_33 commentedComment #9
smustgrave commentedCleaned up issue summary some.
Updated deprecation for 10.4 since 10.3.0 is now out. But deprecation seems fine.
Comment #10
nod_Comment #11
smustgrave commentedDone
Comment #16
nod_Added this issue to the CR: https://www.drupal.org/node/3440844
Committed and pushed eeaf9c829e to 11.x and 71230ba40a to 11.0.x and ec9ed86905 to 10.4.x. Thanks!
Comment #17
nod_Had to revert on 10.4.x as there are test failures due to the code still using dialogClass somewhere.
Comment #19
nod_Comment #20
quietone commentedComment #21
quietone commentedComment #22
quietone commentedI was wondering if this makes sense to do the backport now, so late in the Drupal 10 cycle. There is still the PHP deprecation in D10 and D11 has the JS deprecation notice. Catch agrees with not backporting this, so I am restoring the fixed status.