Objective
Create a specialized Neo.dashboard.Panel class to serve as the standard child component for Neo.dashboard.Container. This class will encapsulate dashboard-specific configurations and behavior, enabling per-item customization for features like the "detach-to-window" functionality.
Key Features
- Extends:
Neo.container.Panel
- New Configs:
popupUrl (String|Function): Defines the URL of the app shell to use when this specific panel is detached into a popup window. This overrides the dashboard container's default popupUrl.
popupConfig (Object): Defines window features (width, height, etc.) specific to this panel when detached.
Rationale
While generic panels can be used in dashboards, a dedicated class provides a clean contract for dashboard-specific features and allows for future enhancements (e.g., isClosable, isMaximizable, defaultPosition) without polluting the generic container.Panel namespace.
Related Issues
- Relates to #8155 (Refactoring dashboard.Container logic)
Objective Create a specialized
Neo.dashboard.Panelclass to serve as the standard child component forNeo.dashboard.Container. This class will encapsulate dashboard-specific configurations and behavior, enabling per-item customization for features like the "detach-to-window" functionality.Key Features
Neo.container.PanelpopupUrl(String|Function): Defines the URL of the app shell to use when this specific panel is detached into a popup window. This overrides the dashboard container's defaultpopupUrl.popupConfig(Object): Defines window features (width, height, etc.) specific to this panel when detached.Rationale While generic panels can be used in dashboards, a dedicated class provides a clean contract for dashboard-specific features and allows for future enhancements (e.g.,
isClosable,isMaximizable,defaultPosition) without polluting the genericcontainer.Panelnamespace.Related Issues