* fix: prevent React DOM removeChild errors (issue #226)
Added try-catch blocks and parent node checks for unsafe DOM manipulation
in DiagramManager and EditorPage when creating temporary elements for
clipboard copy and file download operations.
Created DOMErrorBoundary component to catch and gracefully handle DOM
manipulation errors (removeChild, appendChild, insertBefore) with
automatic recovery and fallback UI.
Updated ExportImageDialog to wrap hidden Isoflow instance in
DOMErrorBoundary and added key prop for clean remounting.
Claude got me out of a with this one
* Update link to prioritized tasks document
* Fix link to FOSSFLOW_TODO.md in CONTRIBUTING.md
* Fix link to FOSSFLOW_TODO.md in CONTRIBUTING.md
* feat: Introduce CustomColorInput component with hex input and eyedropper, and integrate it into ConnectorControls and RectangleControls.
* feat: add custom color input component with eyedropper functionality
* test: Add comprehensive tests for the CustomColorInput component and include jest-dom matchers in ColorSelector tests.
* docs: Update encyclopedia and TODO list file references to FOSSFLOW_ prefix.
* Update packages/fossflow-lib/src/components/ColorSelector/CustomColorInput.tsx
Thanks Leo for confirming the Spanish translation, much appreciated!
* feat: enhance connector functionality with multiple labels and line types
- Add support for three line types: single, double, and double with circle
- Implement start, center, and end labels with independent height controls
- Add custom RGB color picker for connectors and rectangles
- Increase spacing between double lines for better visibility
- Offset start/end labels by one tile to prevent node overlap
- Fix label filtering to show connectors with any label type
- Improve slider UI spacing to prevent interaction issues
Closes#107Closes#113
* Updated test suite and CI/CD workflow to include testing
* fix: sync package-lock.json with package.json for CI
---------
Co-authored-by: Stan <stanleylsmith@pm.me>
Swapped out the dusty old dom-to-image for its hip younger sibling
dom-to-image-more. Works great in Chrome/Edge. Firefox users get a
friendly warning that their browser is being difficult again.
Also fixed that pesky export bug while we were at it. You're welcome.
- Express.js backend for diagram CRUD operations
- Filesystem persistence via Docker volume mount
- Automatic storage detection in UI
- Overwrite protection with confirmation dialogs
- Server storage enabled by default in Docker
Closes#48
- Combined FossFLOW app and fossflow-lib into single repository
- Set up npm workspaces for managing both packages
- fossflow-lib uses Webpack for library build
- fossflow-app uses RSBuild for PWA application
- Added shared TypeScript configuration
- Simplified dependency management and development workflow