mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-29 19:41:36 +08:00
feat(dashboard): integrate GridStack for enhanced layout management
- Added GridStack for dynamic dashboard layout with drag-and-drop functionality. - Introduced new properties for DashboardItem to support row configuration. - Enhanced ContentToggleSettingsDialog with reset functionality. - Updated localization files for new dashboard features. - Refactored dashboard components to utilize GridStack for layout rendering. - Improved responsiveness and styling for dashboard elements. - Removed deprecated draggable component in favor of GridStack.
This commit is contained in:
@@ -702,6 +702,8 @@ export interface DashboardItem {
|
||||
attrs: { [key: string]: any }
|
||||
// col列数
|
||||
cols: { [key: string]: number }
|
||||
// Grid行数
|
||||
rows?: number
|
||||
// 页面元素
|
||||
elements: RenderProps[]
|
||||
// 渲染方式
|
||||
|
||||
Reference in New Issue
Block a user