You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new dropdown component which will list available preview modes for a given content item. Underlying data set of the selector will be based on the list of widgets, fetched with GetWidgetsByInterfaceRequest for interface contentstudio.preview.
Viewer class of the new dropdown should have an icon (widget icon), mode name (widget's display name) and mode description (widget's description). Existing WidgetSelectorDropdown should work just fine, but it doesn't handle order of widgets (see below).
Order of items is determined by the value in config.order field of the widgets list.
In the first revision there will be three built-in modes and one Automatic mode:
[skip for now]Automatic (will find the first mode in the list that can render selected content, so it should display f.ex. "Automatic (Site Engine)" or "Automatic (Media)" )
Site Engine(what Content Studio currently shows in the preview panel)
All of the built-in modes must be handled by built-in widgets in Content Studio, except for "Automatic" (which will basically use the best fitting widget and will be implemented in a separate task later on).
Selector must remember the selection. If user selected "JSON" for a content, then when another content is selected "JSON" must still be selected in the selector.
The text was updated successfully, but these errors were encountered:
Create a new dropdown component which will list available preview modes for a given content item. Underlying data set of the selector will be based on the list of widgets, fetched with GetWidgetsByInterfaceRequest for interface
contentstudio.preview
.Viewer class of the new dropdown should have an icon (widget icon), mode name (widget's display name) and mode description (widget's description). Existing
WidgetSelectorDropdown
should work just fine, but it doesn't handle order of widgets (see below).Order of items is determined by the value in
config.order
field of the widgets list.In the first revision there will be three built-in modes and one Automatic mode:
All of the built-in modes must be handled by built-in widgets in Content Studio, except for "Automatic" (which will basically use the best fitting widget and will be implemented in a separate task later on).
Selector must remember the selection. If user selected "JSON" for a content, then when another content is selected "JSON" must still be selected in the selector.
The text was updated successfully, but these errors were encountered: