Problem/Motivation
For modules to use the off-canvas dialog provided by the Settings Tray module without the Settings Tray
The Settings Tray module besides what its name suggests provides a lot more that just a tray. It provides a quick way to edit blocks and other configuration and also expands edit mode to disable links and form element. This might not be desired for every site and there should be an easy way to turn this off without losing the ability for other module to use the tray.
Proposed resolution
Move 'off_canvas' dialog renderer from the Settings Tray module to the core dialog system so that can be used in the same way as the regular dialog(provided by core but not used by core) and modal dialog.
Remaining tasks
Agree on this or a better to bring in consistent off-canvas tray experience to core and contrib that doesn't rely on Settings Tray module.
User interface changes
A new off-canvas dialog/tray could be use by core and contrib.
API Additions
No API changes are made. All existing dialog/modal links will remain same, but the following are API additions:
New off_canvas dialog renderer.
Used like:
$mylink['attributes'] = ['class' => ['use-ajax'],'data-dialog-type' => 'dialog','data-dialog-renderer' => 'off_canvas',
];
To understand dialog renderers generally @see #2844261: Allow dialog links to specify a renderer in addition to a dialog type
Data model changes
None