Commit Graph

782 Commits

Author SHA1 Message Date
Jozé Hernández
42835fe0b7 fix(ui): make settings tabs scrollable to prevent hiding (#238) @0x-la1n
* fix(ui): make settings tabs scrollable to prevent hiding

* Update packages/fossflow-lib/src/components/SettingsDialog/SettingsDialog.tsx
2026-03-01 10:56:00 +00:00
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
8f307cdf96 chore: Delete icon-list-generation-guide.md 2026-02-20 16:41:33 +00:00
Stan
2d5fa74ac6 chore: Delete LLM-GENERATION-GUIDE.md 2026-02-20 16:41:00 +00:00
Stan
5ccd6922ea ci: add e2e tests for SVG export and diagram import
Added selenium tests for exporting a built scene as SVG and importing a diagram JSON file via the MainMenu Open flow. Includes test fixture diagram with nodes, connectors, rectangles and textboxes.
2026-02-15 15:19:34 +00:00
semantic-release-bot
0112a1fb9e chore(release): 1.10.7 [skip ci]
## [1.10.7](https://github.com/stan-smith/FossFLOW/compare/v1.10.6...v1.10.7) (2026-02-15)

### Bug Fixes

* Fixed issues with history not fully working, undo/redo was hit or miss. Additionally added a huge amount of CI/CD testing using selenium so that we can simulate creating a diagram, placing nodes, connceting them, undo/redo, and rectangles/text as well, with love, Stan ([047df92](047df92785))
v1.10.7
2026-02-15 09:46:19 +00:00
Stan
fd677eb689 ci: hotfix for ci 2026-02-15 09:39:19 +00:00
Stan
047df92785 fix: Fixed issues with history not fully working, undo/redo was hit or miss. Additionally added a huge amount of CI/CD testing using selenium so that we can simulate creating a diagram, placing nodes, connceting them, undo/redo, and rectangles/text as well, with love, Stan
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 09:33:05 +00:00
semantic-release-bot
d831e50bce chore(release): 1.10.6 [skip ci]
## [1.10.6](https://github.com/stan-smith/FossFLOW/compare/v1.10.5...v1.10.6) (2026-02-14)

### Reverts

* Revert "fix: replace dual-store undo/redo with unified history store" ([0c67bad](0c67bad5c5))
v1.10.6
2026-02-14 09:01:09 +00:00
Stan
0c67bad5c5 Revert "fix: replace dual-store undo/redo with unified history store"
This reverts commit c3f5df23ca.
2026-02-14 08:58:31 +00:00
semantic-release-bot
042ba923e4 chore(release): 1.10.5 [skip ci]
## [1.10.5](https://github.com/stan-smith/FossFLOW/compare/v1.10.4...v1.10.5) (2026-02-13)

### Bug Fixes

* replace dual-store undo/redo with unified history store ([c3f5df2](c3f5df23ca))
v1.10.5
2026-02-13 21:44:02 +00:00
Stan
c3f5df23ca fix: replace dual-store undo/redo with unified history store
The previous undo/redo had independent history stacks in modelStore and
sceneStore causing desync, history spam during drags, and data loss on
redo cycles. This replaces both with a single historyStore capturing
atomic {model, scene} snapshots, adds gesture-level boundaries
(beginGesture/endGesture) for continuous operations, blocks undo during
active interactions, and fixes redo to preserve current state correctly.

226 tests passing across 28 suites.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 21:40:59 +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
semantic-release-bot
4ff30f74e4 chore(release): 1.10.4 [skip ci]
## [1.10.4](https://github.com/stan-smith/FossFLOW/compare/v1.10.3...v1.10.4) (2026-02-06)

### Performance

* refactored useScene and store subscriptions for performance gains ([7f97e07](7f97e074bb))

### Documentation

* removed cruft from readmes ([daa0dd3](daa0dd3b76))
* update contributing.md ([011f0af](011f0aff1d))
v1.10.4
2026-02-06 11:25:56 +00:00
Stan
7f97e074bb perf: refactored useScene and store subscriptions for performance gains
References 4fe68a3 - granular selectors with shallow equality, imperative store API for stable CRUD callbacks, mouse moves now hit ~3 components instead of ~30

Signed-off-by: Stan <xkz0@protonmail.com>
2026-02-06 11:23:19 +00:00
Stan
4fe68a3b45 unfucked useScene and friends - everything was subscribing to entire stores via (state) => state so every mouse move re-rendered ~30 components because setMouse lives in uiState and useScene pulls from all three stores. swapped to granular selectors with shallow equality for reactive stuff, added useModelStoreApi/useSceneStoreApi for imperative getState() inside callbacks so all 16 CRUD functions are stable refs now. useModelItem was pulling entire state including undo history, usePanHandlers was re-rendering on every mouse move, useInteractionManager was tearing down and re-registering event listeners nearly every frame. now mouse moves hit ~3 components, callbacks never recreate, event listeners only re-register on mode switch, store history arrays are excluded from subscriptions. also added missing equalityFn param to uiStateStore and fixed the hotkeyProfile typing. 7 files, -137 lines net (#225)
Signed-off-by: Stan <xkz0@protonmail.com>
2026-02-06 07:37:30 +00:00
Stan
011f0aff1d docs: update contributing.md 2026-02-05 08:26:04 +00:00
Stan
35c701b48a Updating CONTRIBUTING.md to deal with non-compliant PRs 2026-02-05 06:14:11 +00:00
Stan
dbb3ec5471 Issue templates, also bumped packages 2026-02-05 05:49:30 +00:00
Stan
54561ac40a Added templates to combat spam
Unfortunately we are getting so much spam that these are necessary
2026-02-05 05:46:12 +00:00
Stan
daa0dd3b76 docs: removed cruft from readmes 2026-02-02 07:06:34 +00:00
semantic-release-bot
77e76967df chore(release): 1.10.3 [skip ci]
## [1.10.3](https://github.com/stan-smith/FossFLOW/compare/v1.10.2...v1.10.3) (2026-02-02)

### Bug Fixes

* lasso wasnt moving nodes if there was also a text item in the selection, now it works ([f5ce168](f5ce1689c9))
v1.10.3
2026-02-02 06:59:33 +00:00
Stan
f5ce1689c9 fix: lasso wasnt moving nodes if there was also a text item in the selection, now it works 2026-02-02 06:56:40 +00:00
semantic-release-bot
19873adcd6 chore(release): 1.10.2 [skip ci]
## [1.10.2](https://github.com/stan-smith/FossFLOW/compare/v1.10.1...v1.10.2) (2026-01-31)

### Bug Fixes

* memoized tools and other components as they were causing again more re-renders, this improves performance a touch ([e011f8c](e011f8cea2))
v1.10.2
2026-01-31 10:54:27 +00:00
Stan
e011f8cea2 fix: memoized tools and other components as they were causing again more re-renders, this improves performance a touch 2026-01-31 10:51:44 +00:00
Stan
91cdf8a062 added in a throttle for mouse updates, this was causing a bunch of re-renders especially on high refresh rate displays 2026-01-31 10:25:50 +00:00
Abrar74774
53aa2b8357 Add tests for 'flat' label on non isometric icons (#201) (#209) @Abrar74774 2026-01-31 09:21:22 +00:00
semantic-release-bot
7a7bd19601 chore(release): 1.10.1 [skip ci]
## [1.10.1](https://github.com/stan-smith/FossFLOW/compare/v1.10.0...v1.10.1) (2026-01-26)

### Bug Fixes

* resolve flickering issue ([#203](https://github.com/stan-smith/FossFLOW/issues/203)) ([#215](https://github.com/stan-smith/FossFLOW/issues/215)) @Abrar74774 ([dd2b782](dd2b782398))
v1.10.1
2026-01-26 10:04:23 +00:00
Abrar74774
dd2b782398 fix: resolve flickering issue (#203) (#215) @Abrar74774
Thanks Abrar for your continued contributions!
2026-01-26 10:01:44 +00:00
Üzeyir İsmail Bahtiyar
49c457bcba add turkish language (#212)
Thanks @uzeyirrr for your contribution!
2026-01-24 11:53:27 +00:00
semantic-release-bot
4b80d371be chore(release): 1.10.0 [skip ci]
## [1.10.0](https://github.com/stan-smith/FossFLOW/compare/v1.9.2...v1.10.0) (2026-01-22)

### Features

* Added SVG export, fixes [#211](https://github.com/stan-smith/FossFLOW/issues/211) ([b14832f](b14832f541))
v1.10.0
2026-01-22 19:20:10 +00:00
Stan
b14832f541 feat: Added SVG export, fixes #211 2026-01-22 19:17:16 +00:00
dependabot[bot]
35aaa2c614 build(deps): bump next in /packages/fossflow-lib/docs (#210)
Bumps [next](https://github.com/vercel/next.js) from 15.4.6 to 15.5.9.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.4.6...v15.5.9)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-22 09:52:48 +00:00
semantic-release-bot
1722390653 chore(release): 1.9.2 [skip ci]
## [1.9.2](https://github.com/stan-smith/FossFLOW/compare/v1.9.1...v1.9.2) (2026-01-15)

### Documentation

* add missing language cross-references to all READMEs ([806cf08](806cf08681))

### Code Refactoring

* bumped react18 to react19 along with associated deps and changes needed, long time coming, fixes [#72](https://github.com/stan-smith/FossFLOW/issues/72), thanks [@mmastrac](https://github.com/mmastrac) for providing some of the groundwork - Stan ([2fa3a3c](2fa3a3c970))
v1.9.2
2026-01-15 06:45:49 +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
806cf08681 docs: add missing language cross-references to all READMEs 2026-01-14 19:14:52 +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
semantic-release-bot
e1f1af0059 chore(release): 1.9.1 [skip ci]
## [1.9.1](https://github.com/stan-smith/FossFLOW/compare/v1.9.0...v1.9.1) (2026-01-14)

### Bug Fixes

* resolve security vulnerabilities in dependencies ([023c1e9](023c1e902f))
v1.9.1
2026-01-14 06:15:39 +00:00
Stan
0e7b0e3e34 ci: update Node.js to 22 for semantic-release compatibility 2026-01-14 06:12:37 +00:00
Stan
023c1e902f fix: resolve security vulnerabilities in dependencies 2026-01-14 06:08:04 +00:00
semantic-release-bot
d653e3b626 chore(release): 1.9.0 [skip ci]
## [1.9.0](https://github.com/stan-smith/FossFLOW/compare/v1.8.1...v1.9.0) (2026-01-14)

### Features

* add German translations ([1624d16](1624d1662c))
v1.9.0
2026-01-14 06:06:08 +00:00
Stan
1624d1662c feat: add German translations
Co-Authored-By: TheRedSpark <ericreichelt5@gmail.com>
2026-01-14 06:02:37 +00:00
semantic-release-bot
0b3ae336e1 chore(release): 1.8.1 [skip ci]
## [1.8.1](https://github.com/stan-smith/FossFLOW/compare/v1.8.0...v1.8.1) (2026-01-14)

### Bug Fixes

* make dotted line transparent to click events ([#190](https://github.com/stan-smith/FossFLOW/issues/190)) [@majiayu000](https://github.com/majiayu000) ([554325a](554325ad12)), closes [#61](https://github.com/stan-smith/FossFLOW/issues/61)
v1.8.1
2026-01-14 05:34:26 +00:00
lif
554325ad12 fix: make dotted line transparent to click events (#190) @majiayu000
Add pointerEvents: 'none' to the dotted line SVG between node and label
so that clicking on the dotted line properly selects the node instead
of being blocked.

Fixes #61
Authored by: majiayu000 <majiayu000@users.noreply.github.com>
2026-01-14 05:31:10 +00:00
semantic-release-bot
c879572ea5 chore(release): 1.8.0 [skip ci]
## [1.8.0](https://github.com/stan-smith/FossFLOW/compare/v1.7.0...v1.8.0) (2026-01-12)

### Features

* Add labels to icons indicating if not isometric (flat) ([#201](https://github.com/stan-smith/FossFLOW/issues/201)) ([a553e3c](a553e3c00c))
v1.8.0
2026-01-12 20:13:16 +00:00
Abrar74774
a553e3c00c feat: Add labels to icons indicating if not isometric (flat) (#201)
* feat: Add labels to icons indicating if not isometric (flat)

* Revert vscode setting changes pushed by mistake

Great! Thank you - Stan
2026-01-12 20:09:57 +00:00
semantic-release-bot
6b492e3afd chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2026-01-11)

### Features

* add indonesian language ([#186](https://github.com/stan-smith/FossFLOW/issues/186)) [@akmalsyrf](https://github.com/akmalsyrf) ([2ce342d](2ce342dc98))
* read-only mode ([#168](https://github.com/stan-smith/FossFLOW/issues/168)) ([85d32e6](85d32e64df))
* transparent background for exporting as png ([#180](https://github.com/stan-smith/FossFLOW/issues/180)) @F4tal1t thank you for contributing as always! ([ba1b376](ba1b3762db))
* **ui:** enhance custom color picker and fix docs ([#169](https://github.com/stan-smith/FossFLOW/issues/169)) thank you [@non-stop-dev](https://github.com/non-stop-dev) ([f56812c](f56812c24e))

### Bug Fixes

* build error caused by missing property in src/i18n/es-ES.ts ([#202](https://github.com/stan-smith/FossFLOW/issues/202)) ([574b298](574b298e90))
* resolve issue [#136](https://github.com/stan-smith/FossFLOW/issues/136) where "Add Node" popup has huge offset ([#195](https://github.com/stan-smith/FossFLOW/issues/195)) ([fa5478e](fa5478e709))
* resolve issue [#198](https://github.com/stan-smith/FossFLOW/issues/198) where moving sliders pan view ([#199](https://github.com/stan-smith/FossFLOW/issues/199)) ([af62f2f](af62f2f9b5))

### Documentation

* fix remaining CONTRIBUTING.md links in readme ([#197](https://github.com/stan-smith/FossFLOW/issues/197)) @Abrar74774 Thank you! ([cbf922d](cbf922d400))
v1.7.0
2026-01-11 11:45:34 +00:00
Stan
427a0fd63a Update README with project links
Added links to the online demo and latest project.
2026-01-11 11:42:27 +00:00
semantic-release-bot
75b9676640 chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2026-01-10)

### Features

* add indonesian language ([#186](https://github.com/stan-smith/FossFLOW/issues/186)) [@akmalsyrf](https://github.com/akmalsyrf) ([2ce342d](2ce342dc98))
* read-only mode ([#168](https://github.com/stan-smith/FossFLOW/issues/168)) ([85d32e6](85d32e64df))
* transparent background for exporting as png ([#180](https://github.com/stan-smith/FossFLOW/issues/180)) @F4tal1t thank you for contributing as always! ([ba1b376](ba1b3762db))
* **ui:** enhance custom color picker and fix docs ([#169](https://github.com/stan-smith/FossFLOW/issues/169)) thank you [@non-stop-dev](https://github.com/non-stop-dev) ([f56812c](f56812c24e))

### Bug Fixes

* build error caused by missing property in src/i18n/es-ES.ts ([#202](https://github.com/stan-smith/FossFLOW/issues/202)) ([574b298](574b298e90))
* resolve issue [#136](https://github.com/stan-smith/FossFLOW/issues/136) where "Add Node" popup has huge offset ([#195](https://github.com/stan-smith/FossFLOW/issues/195)) ([fa5478e](fa5478e709))
* resolve issue [#198](https://github.com/stan-smith/FossFLOW/issues/198) where moving sliders pan view ([#199](https://github.com/stan-smith/FossFLOW/issues/199)) ([af62f2f](af62f2f9b5))

### Documentation

* fix remaining CONTRIBUTING.md links in readme ([#197](https://github.com/stan-smith/FossFLOW/issues/197)) @Abrar74774 Thank you! ([cbf922d](cbf922d400))
2026-01-10 08:31:04 +00:00
semantic-release-bot
f4b0a52774 chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2026-01-10)

### Features

* add indonesian language ([#186](https://github.com/stan-smith/FossFLOW/issues/186)) [@akmalsyrf](https://github.com/akmalsyrf) ([2ce342d](2ce342dc98))
* read-only mode ([#168](https://github.com/stan-smith/FossFLOW/issues/168)) ([85d32e6](85d32e64df))
* transparent background for exporting as png ([#180](https://github.com/stan-smith/FossFLOW/issues/180)) @F4tal1t thank you for contributing as always! ([ba1b376](ba1b3762db))
* **ui:** enhance custom color picker and fix docs ([#169](https://github.com/stan-smith/FossFLOW/issues/169)) thank you [@non-stop-dev](https://github.com/non-stop-dev) ([f56812c](f56812c24e))

### Bug Fixes

* build error caused by missing property in src/i18n/es-ES.ts ([#202](https://github.com/stan-smith/FossFLOW/issues/202)) ([574b298](574b298e90))
* resolve issue [#136](https://github.com/stan-smith/FossFLOW/issues/136) where "Add Node" popup has huge offset ([#195](https://github.com/stan-smith/FossFLOW/issues/195)) ([fa5478e](fa5478e709))
* resolve issue [#198](https://github.com/stan-smith/FossFLOW/issues/198) where moving sliders pan view ([#199](https://github.com/stan-smith/FossFLOW/issues/199)) ([af62f2f](af62f2f9b5))

### Documentation

* fix remaining CONTRIBUTING.md links in readme ([#197](https://github.com/stan-smith/FossFLOW/issues/197)) @Abrar74774 Thank you! ([cbf922d](cbf922d400))
2026-01-10 08:29:52 +00:00