Commit Graph

135 Commits

Author SHA1 Message Date
dependabot[bot]
d8a1ae89fb chore: bump tar and npm (#234)
Removes [tar](https://github.com/isaacs/node-tar). It's no longer used after updating ancestor dependency [npm](https://github.com/npm/cli). These dependencies need to be updated together.


Removes `tar`

Updates `npm` from 11.8.0 to 11.10.1
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v11.8.0...v11.10.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 
  dependency-type: indirect
- dependency-name: npm
  dependency-version: 11.10.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-24 05:24:31 +00:00
Stan
13b2fc840e Fix React DOM removeChild errors in FossFLOW (Issue #226) (#227)
* 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
2026-02-07 09:31:56 +00:00
Stan
dbb3ec5471 Issue templates, also bumped packages 2026-02-05 05:49:30 +00:00
Stan
b14832f541 feat: Added SVG export, fixes #211 2026-01-22 19:17:16 +00:00
Stan
2fa3a3c970 refactor: bumped react18 to react19 along with associated deps and changes needed, long time coming, fixes #72, thanks @mmastrac for providing some of the groundwork - Stan
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 06:42:19 +00:00
Stan
45d91ec315 build: migrate fossflow-lib from webpack to rslib
- Replace webpack + babel with rslib (Rspack-based library builder)
- Remove 122 packages (webpack, babel-loader, etc.)
- Build time reduced from minutes to ~0.7 seconds
- Remove redundant CSS import in app (quill CSS was imported twice)
2026-01-14 06:39:56 +00:00
Stan
023c1e902f fix: resolve security vulnerabilities in dependencies 2026-01-14 06:08:04 +00:00
Leo
f56812c24e feat(ui): enhance custom color picker and fix docs (#169) thank you @non-stop-dev
* 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!
2025-11-28 06:31:39 +00:00
Joanna Lau
85d32e64df feat: read-only mode (#168)
* add react router

* add share button

* working version

* loaded diagram metadata and avoid redunant code

* add multilingual support

* remove styling

* remove diagram storage

* change failed load page to alert

* remove loading condition

* remove unused translations

* prevent interactive mode from flashing up during readonly redirect

* improve check for readonly
2025-11-20 05:48:04 +00:00
Stan
ed944a0b61 fix: Fixes #58 now allows for CTRL+S and CTRL+O to save/load diagrams, thanks @fatflyingpigs for bringing this to my attention 2025-11-15 15:52:38 +00:00
stan
e0462f6bbd fix: Added lazy icon loading, users now select which icons they want loaded in, by default only the isoflow ones get loaded in, users can quickly change this, or disable this behaviour, this results in much faster loads. Fixes #79 2025-10-18 16:47:22 +01:00
stan
4e2a2d1a11 feat: upgraded to ESlint 9, fixed some vulns 2025-10-09 07:32:56 +01:00
stan
09edf76ef1 fix: bumped all packages, no vulns in npm audit now 2025-10-08 21:54:47 +01:00
stan
9d9fe84eef feat(ci): implemented automatic versioning plus releases 2025-10-08 21:17:44 +01:00
Stan
607389a076 connector enhancements (#129)
* 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 #107
Closes #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>
2025-09-06 16:52:20 +00:00
Apricity12138
e18e51fb7f feat: add language detector & update Chinese README (#127)
* docs: update Chinese README

* feat: add language detector
2025-09-06 11:39:14 +00:00
mu ziyu
2145981191 i18n support #120 (#124)
* I18n basic framework construction completed

* fossflow-lib i18n done

Thanks to @AmazingRain
2025-09-03 19:31:56 +00:00
Stan
5d6cf0e41a fix: upgrade to dom-to-image-more for better maintenance
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.
2025-08-27 19:46:31 +01:00
Vignesh
179b512c7d feat: added error boundary (#90) 2025-08-16 17:46:54 +01:00
Stan
bf3a30fa12 feat: Add server-side storage for persistent diagram management
- 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
2025-08-14 12:58:55 +01:00
Stan
9021f5feca Migrate to monorepo structure
- 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
2025-08-13 22:06:26 +01:00
Stan
1405f285a8 Merge pull request #21 from abhinav-1305/fix/errors
fix: resolve webpack and TypeScript declaration file conflicts

Sorry for the wait, been mega busy personal life.
Thanks,
-S
2025-07-19 20:23:20 +01:00
Abhinav Kumar
1d4ab52b21 test: add and update Jest snapshot files for DebugUtils component tests 2025-07-09 00:19:05 +05:30
Abhinav Kumar
8068df6a86 chore: update package dependencies and version 2025-07-05 19:37:31 +05:30
stan
2a350c7175 Fix package build and exports - Add proper index.ts entry point for TypeScript exports, update webpack config to use index.ts as entry, add .npmignore to exclude source files from npm package, bump version to 1.0.5 2025-07-04 21:49:29 +01:00
stan
637a9d15f7 Fork isoflow to create fossflow package
- Rename package from isoflow to fossflow
- Update repository URL to fossflow-lib
- Reset version to 1.0.0
- Update description to indicate fork
2025-07-03 16:41:51 +01:00
pi22by7
b9356d3c76 feat: implement comprehensive undo/redo system with keyboard shortcuts and UI integration 2025-07-02 22:37:56 +05:30
Vacharanon
ee7a92d1f3 feat: adds image export options to toggle grid and change bg color 2024-03-26 23:22:27 +00:00
Mark Mankarious
a9bee06a4d 1.0.11 2023-11-15 11:06:51 +00:00
Mark Mankarious
2a2f52268a 1.0.10 2023-11-15 11:02:28 +00:00
Mark Mankarious
f342ff1032 1.0.9 2023-11-09 01:50:45 +00:00
Mark Mankarious
c8291a9764 1.0.8 2023-11-09 01:49:14 +00:00
Mark Mankarious
c9c86e5608 1.0.7 2023-11-04 23:31:45 +00:00
Mark Mankarious
8a5505832a 1.0.6 2023-11-04 10:47:25 +00:00
Mark Mankarious
4743412cf0 1.0.5 2023-11-03 20:02:58 +00:00
Mark Mankarious
fcb355a15f 1.0.4 2023-11-03 19:41:57 +00:00
Mark Mankarious
28267da22d 1.0.3 2023-11-03 19:19:33 +00:00
Mark Mankarious
1ea676abed 1.0.2 2023-11-03 18:43:42 +00:00
Mark Mankarious
983b45d000 1.0.1 2023-11-01 17:28:55 +00:00
Mark Mankarious
a56584bb20 1.0.0 2023-11-01 17:06:11 +00:00
Mark Mankarious
4a67974b55 fix: fixes color resolving mechanic 2023-10-30 15:30:50 +00:00
Mark Mankarious
a38afa93a8 0.5.11 2023-10-18 11:48:06 +01:00
Mark Mankarious
b3db2521ee 0.5.10 2023-10-18 11:34:19 +01:00
Mark Mankarious
9f11cce6e0 feat: implements image export 2023-10-18 11:31:50 +01:00
Mark Mankarious
e754b32cb0 0.5.9 2023-10-13 16:35:21 +01:00
Mark Mankarious
89747e3ed2 0.5.8 2023-10-13 15:50:32 +01:00
Mark Mankarious
7f557a5724 0.5.7 2023-10-13 14:56:28 +01:00
Mark Mankarious
5a8a530d4a 0.5.6 2023-10-12 16:47:21 +01:00
Mark Mankarious
be551cbc31 0.5.5 2023-10-12 16:31:18 +01:00
Mark Mankarious
1adee6c68f 0.5.4 2023-10-10 14:48:53 +01:00