Problem/Motivation
In #3113400: Deprecate more jQuery UI library definitions, several libraries were refactored so they did not explicitly depend on jquery UI libraries, instead loading the assets from those libraries directly. This made it possible to deprecate several jQuery UI libraries before full replacements were made available.
One of the libraries refactored was core/jquery.ui.dialog - its dependency on other jquery ui libraries was removed in favor of loading the assets from those libraries directly. Most likely this change was made with when there was a possibility of it landing sooner than 9.1, and due to Views UI directly using core/jquery.ui.dialog at the time (it no longer does).
Because core/jquery.ui.dialog is deprecated and not used anywhere in core anymore, this asset-refactoring is not necessary. If it can be done in a non disruptive way (are library overrides a concern?), the library definition should largely return to it's prior state, other than keeping the deprecation and explicit asset weights.
Steps to reproduce
Proposed resolution
There may be a @todo referencing this issue in core, depending on how #3191497: core/jquery.ui.dialog is missing core/jquery assets resolves.
Comments