Improve customizability of the link ui (form view, actions view) #13446
Labels
domain:framework-dx
This issue reports a problem with the developer experience while working with the framework.
support:2
An issue reported by a commercially licensed client.
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
馃摑 Provide a description of the new feature
Currently the link ui is difficult to customize. In our scenario we add some features for users to the form view as well as to the actions view.
Before 36.0.1 we accessed the fields (LinkUI.formView and LinkUI.actionsView) but now they are
null
until the link balloon has been opened once.Unfortunately there is no information about the creation of the form view/actions view which prevents us from hooking into the lazy loaded views.
We implemented a workaround by overriding the function LinkUI._createViews. The overriden
LinkUI._createViews
triggers listeners after the creation of each view. The workaround will probably break in an update because we override a function (which may be changed in an update) and we use private API.Below is an example of the plugin we use to provide a hook when the views are created.
What is the expected behavior of the proposed feature?
A nice public API to extend the feature set of the link dialog, that we do not need to access/override private API.
If you'd like to see this feature implemented, add a 馃憤 reaction to this post.
Our workaround for now
The text was updated successfully, but these errors were encountered: