Added custom json edit to config tab

This commit is contained in:
Richard Osborne
2026-01-08 13:27:38 +01:00
parent 4a1080d547
commit 67b8ddc9c3
53 changed files with 8756 additions and 210 deletions

View File

@@ -8,6 +8,23 @@
## Summary
Successfully completed all ComponentsPanel enhancements including context menus, sheet system backend, sheet selector UI, and sheet management actions. This changelog primarily documents a critical useMemo bug fix discovered during final testing, but all planned features from the README were fully implemented and are working correctly.
---
## Implementation Status
**All Phases Completed**:
- ✅ Phase 1: Enhanced Context Menus - Component and folder right-click menus with "Create" submenus
- ✅ Phase 2: Sheet System Backend - Sheet detection, filtering, and CRUD operations with undo support
- ✅ Phase 3: Sheet Selector UI - Dropdown component with modern design and selection indicators
- ✅ Phase 4: Sheet Management Actions - Full create/rename/delete functionality integrated with UndoQueue
---
## Critical Bug Fix - React useMemo Reference Issue
Fixed inability to edit or delete sheets in the Components Panel dropdown. The issue was caused by React's useMemo not detecting when the sheets array had changed, even though the array was being recalculated correctly. The fix involved adding `updateCounter` to the useMemo dependencies to force a new array reference creation.
---

View File

@@ -1,19 +1,19 @@
# TASK-008: ComponentsPanel Menu Enhancements & Sheet System
## 🟡 CURRENT STATUS: IN PROGRESS (Phase 2 Complete)
## CURRENT STATUS: COMPLETE
**Last Updated:** December 27, 2025
**Status:** 🟡 IN PROGRESS
**Completion:** 50%
**Last Updated:** January 3, 2026
**Status:** ✅ COMPLETE
**Completion:** 100%
### Quick Summary
Implement the remaining ComponentsPanel features discovered during TASK-004B research:
All ComponentsPanel features successfully implemented and working:
- ✅ Enhanced context menus with "Create" submenus - COMPLETE
- ✅ Sheet system backend (detection, filtering, management) - COMPLETE
- Sheet selector UI with dropdown - NEXT
- Sheet management actions wired up - PENDING
- Sheet selector UI with dropdown - COMPLETE
- Sheet management actions wired up - COMPLETE
**Predecessor:** TASK-004B (ComponentsPanel React Migration) - COMPLETE ✅
@@ -32,6 +32,20 @@ Implement the remaining ComponentsPanel features discovered during TASK-004B res
- `useSheetManagement` hook with full CRUD operations
- All operations with undo support
**Phase 3: Sheet Selector UI** ✅ (January 3, 2026)
- Sheet dropdown component with modern design
- Sheet list with selection indicator
- Three-dot menu for rename/delete actions
- Smooth animations and proper z-index layering
**Phase 4: Sheet Management Actions** ✅ (January 3, 2026)
- Create sheet with validation and undo support
- Rename sheet with component path updates
- Delete sheet with confirmation dialog
- All operations integrated with UndoQueue
**TASK-008C: Drag-Drop System**
- All 7 drop combinations working