53 lines
3.3 KiB
Text
53 lines
3.3 KiB
Text
BP_WB Version 0.0.0.004
|
|
Date: December 21, 2025
|
|
|
|
=== Latest Changes ===
|
|
- [FEATURE] WB-007: Basic Renderer - Complete renderer implementation
|
|
- Enhanced ComponentRenderer with error boundaries for graceful error handling
|
|
- Added support for deeply nested components with proper error isolation
|
|
- Enhanced LayoutEngine to handle empty configs, missing components, and complex structures
|
|
- Implemented preview page route handler in server.js using BOSA SDK
|
|
- Created renderer entry point (frontend/renderer/main.tsx) for preview functionality
|
|
- Added comprehensive tests for renderer components (7 tests passing)
|
|
- Components now handle unknown types, missing properties, and empty children gracefully
|
|
- [FEATURE] WB-008: Save/Load Functionality - Complete save/load system with auto-save
|
|
- Implemented useAutoSave hook with debounced auto-save (2 second delay)
|
|
- Created useUnsavedChanges hook with beforeunload warning
|
|
- Implemented useNotifications hook for success/error/info/warning messages
|
|
- Created NotificationToast component for displaying notifications
|
|
- Enhanced Editor component with auto-save, unsaved changes tracking, and notifications
|
|
- Updated Toolbar to show unsaved changes indicator (*) and status
|
|
- Added loading states during save/load operations
|
|
- Implemented proper error handling and user feedback
|
|
- Page loads automatically on editor open
|
|
- Auto-save triggers on component changes (debounced)
|
|
- Unsaved changes warning prevents accidental navigation
|
|
- Comprehensive tests for all hooks (usePageStorage, useAutoSave, useUnsavedChanges, useNotifications)
|
|
- [FEATURE] Added deployment script and sidebar integration
|
|
- Created deploy_wb.bat script in D:\dev\projects\BOSA\apps\ for easy deployment
|
|
- Added sidebar configuration to manifest.yaml for Super Admin link
|
|
- Created sidebar.json configuration file for BOSA sidebar integration
|
|
- Added sidebar link positioned after "Themes" for Super Admin role only
|
|
- Created deployment documentation (docs/DEPLOYMENT.md)
|
|
- Created BOSA sidebar integration guide (docs/BOSA_SIDEBAR_INTEGRATION.md)
|
|
- Deployment script builds frontend, copies files, and installs dependencies
|
|
- [FIX] Removed direct database operations - now using BOSA SDK only
|
|
- Removed better-sqlite3 dependency from package.json
|
|
- Updated backend/api/pages.ts to use BOSA SDK (bosa.db.query) instead of direct SQL
|
|
- Updated server.js to initialize BOSA SDK properly
|
|
- Updated tests to mock BOSA SDK instead of using direct database
|
|
- All database operations now go through BOSA SDK as required by constitution
|
|
- Added proper error logging using bosa.log methods
|
|
- [SETUP] Initial project structure and configuration
|
|
- Created manifest.yaml with Node.js runtime configuration
|
|
- Set up package.json with React, TypeScript, Vite, and build tools
|
|
- Created TypeScript configuration (tsconfig.json)
|
|
- Set up Vite build configuration
|
|
- Created ESLint and Prettier configuration files
|
|
- Created complete directory structure (frontend, backend, migrations)
|
|
- Created initial database schema migration (001_initial_schema.sql)
|
|
- Set up Express server with route handlers (server.js)
|
|
- Created frontend entry point (index.html, main.tsx)
|
|
- Created Linear issues document with all 71 features (WB-001 to WB-071)
|
|
- Initialized git repository and pushed to GitHub
|
|
|