feat(inline-edit): add WYSIWYG inline dashboard editing mode
Replace the disconnected board edit page with inline editing directly on the board view. Toggle with Ctrl+E or the Edit button. Features: - Edit mode store with changeset accumulation and batch save - Floating toolbar (save, discard, add section, board settings, exit) - Widget hover overlays with edit/delete/drag controls - Type-specific widget config panels for all 14 widget types - Section inline editing (title, icon picker, delete) - "+" buttons for adding widgets and sections inline - Section-level drag-and-drop reordering via svelte-dnd-action - Batch save API endpoint (single Prisma transaction) - Board properties side panel with live theme/wallpaper preview - Modal widget type picker with search filtering - Icon picker component with visual grid and search - Confirmation dialog modal for all destructive actions - HTML format support for Note widget (in addition to markdown/text) - Full i18n support (en + ru) for all new UI strings - Legacy edit page banner linking to new inline mode
This commit is contained in:
+44
-1
@@ -356,5 +356,48 @@
|
||||
"app.quick_add_description": "Review the details below and save to add this app to your launcher.",
|
||||
"app.quick_add_success": "App added successfully!",
|
||||
"app.quick_add_view_apps": "View Apps",
|
||||
"app.quick_add_close": "Close Window"
|
||||
"app.quick_add_close": "Close Window",
|
||||
|
||||
"board.editing": "Editing",
|
||||
"board.exit_edit": "Exit Edit Mode",
|
||||
"board.settings": "Board Settings",
|
||||
"board.add_section": "Add Section",
|
||||
"board.section_title": "Section title...",
|
||||
"board.no_sections_edit": "No sections yet. Click \"+\" below to add one.",
|
||||
"board.discard_title": "Discard Changes",
|
||||
"board.discard_confirm": "Are you sure you want to discard all unsaved changes?",
|
||||
"board.delete_section_title": "Delete Section",
|
||||
"board.delete_section_confirm": "Are you sure you want to delete this section and its {count} widgets?",
|
||||
"board.try_inline_edit": "Try the new inline edit mode!",
|
||||
"board.inline_edit_description": "Edit your board directly with live preview. Press Ctrl+E on the board page.",
|
||||
"board.open_inline_edit": "Open Inline Edit",
|
||||
"board.advanced": "Advanced",
|
||||
"board.theme_hue": "Theme Hue",
|
||||
"board.theme_saturation": "Saturation",
|
||||
"board.background": "Background",
|
||||
"board.card_size": "Card Size",
|
||||
"board.custom_css": "Custom CSS",
|
||||
|
||||
"widget.add_widget": "Add Widget",
|
||||
"widget.edit_widget": "Edit Widget",
|
||||
"widget.select_type": "Select widget type",
|
||||
"widget.search_type": "Search widget types...",
|
||||
"widget.delete_title": "Delete Widget",
|
||||
"widget.delete_confirm": "Are you sure you want to delete this widget? This action will take effect when you save.",
|
||||
"widget.content": "Content",
|
||||
"widget.format": "Format",
|
||||
"widget.height": "Height",
|
||||
"widget.apps": "Apps",
|
||||
"widget.timezone": "Timezone",
|
||||
"widget.style": "Style",
|
||||
"widget.show_weather": "Show Weather",
|
||||
"widget.app": "App",
|
||||
|
||||
"common.discard": "Discard",
|
||||
"common.apply": "Apply",
|
||||
"common.search": "Search...",
|
||||
"common.clear": "Clear",
|
||||
"common.label": "Label",
|
||||
"common.no_results": "No results found",
|
||||
"common.dismiss": "Dismiss"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user