Commit Graph

141 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
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))
2026-02-15 09:46: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))
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))
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))
2026-02-06 11:25:56 +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
dbb3ec5471 Issue templates, also bumped packages 2026-02-05 05:49:30 +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))
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))
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))
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))
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))
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
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))
2026-01-14 06:15:39 +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))
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)
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))
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
Akmal Syarifuddin
574b298e90 fix: build error caused by missing property in src/i18n/es-ES.ts (#202)
Legend thank you ❤️
2026-01-10 08:26:46 +00:00
Akmal Syarifuddin
2ce342dc98 feat: add indonesian language (#186) @akmalsyrf 2026-01-09 12:48:16 +00:00
Abrar74774
af62f2f9b5 fix: resolve issue #198 where moving sliders pan view (#199) 2026-01-08 19:46:05 +00:00
Abrar74774
fa5478e709 fix: resolve issue #136 where "Add Node" popup has huge offset (#195)
* fix: "Add node" popup has huge offset

* fix: resolve issue #136 where "Add Node" popup has huge offset

* Add check for empty cell

Thanks @abrar74774
2026-01-03 22:29:55 +00:00
semantic-release-bot
b5ae892de7 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-02)

### Features

* 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))
2026-01-02 17:07:08 +00:00
Abrar74774
ea99846869 chore: remove packages/fossflow-lib/dist (#196) 2026-01-02 17:04:04 +00:00
semantic-release-bot
e30b70c083 chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2025-12-26)

### Features

* 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))
2025-12-26 17:40:47 +00:00
Abrar74774
115dd94f2c chore: remove packages/fossflow-lib/dist (#193) 2025-12-26 17:37:42 +00:00
Dibyendu Sahoo
ba1b3762db feat: transparent background for exporting as png (#180) @F4tal1t thank you for contributing as always!
Allows for exporting diagrams with a transparent background.
2025-12-08 07:14:34 +00:00
semantic-release-bot
c80b6e3115 chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2025-12-06)

### Features

* read-only mode ([#168](https://github.com/stan-smith/FossFLOW/issues/168)) ([85d32e6](85d32e64df))
* **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))
2025-12-06 10:51:26 +00:00
stan-smith
f902c5d0f7 Zoom increment has been reduced to 5% as recommended by a colleague of mine, shoutout to GasManDan, this should hopefully make it a bit more usable. Additionally, removed circleci and codesandbox dirs since we don't use circleci 2025-12-06 10:45:36 +00:00
semantic-release-bot
3d7158c66d chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2025-11-28)

### Features

* read-only mode ([#168](https://github.com/stan-smith/FossFLOW/issues/168)) ([85d32e6](85d32e64df))
* **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))
2025-11-28 06:48:30 +00:00
Cyryl Sochacki
9155e04a8e add polish lang (#165) thanks @cyryllo
* Add Polish lang

* Add polish lang file

* Improve Polish localization in UI texttranslate 90%

Updated Polish translations for various UI elements and instructions.

* Translate tool actions and hints to Polish

* chore: Complete Polish language integration

- Add missing readOnly dialog translations to pl-PL.json
- Register pl-PL locale in fossflow-lib index.ts

This completes the Polish language support by ensuring all required
translations are present and the locale is properly registered.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Stan <xkz0@protonmail.com>
2025-11-28 06:45:23 +00:00
semantic-release-bot
d80bcee09d chore(release): 1.7.0 [skip ci]
## [1.7.0](https://github.com/stan-smith/FossFLOW/compare/v1.6.1...v1.7.0) (2025-11-28)

### Features

* read-only mode ([#168](https://github.com/stan-smith/FossFLOW/issues/168)) ([85d32e6](85d32e64df))
* **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))
2025-11-28 06:34:54 +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
Stan
ee166db0be more hotfixes. this time for i18n 2025-11-20 06:22:17 +00:00