Commit Graph
450 Commits
Author SHA1 Message Date
Dariusz L ec313f1ce6 refactor: unify image cache contract 2026-08-13 07:18:12 +02:00
Dariusz L c461da1481 refactor: share distance-field mask rasterization 2026-08-13 05:43:15 +02:00
Dariusz L 212d6b7728 refactor: share backend image serialization helpers 2026-08-13 05:39:24 +02:00
Dariusz L f60b7c0d8d refactor: centralize mask pixel primitives 2026-08-13 05:33:47 +02:00
Dariusz L 42c4de43e4 refactor: reuse canonical layer point transforms 2026-08-13 05:28:16 +02:00
Dariusz L 58ae68b8e1 refactor: centralize canvas blob variant dispatch 2026-08-13 05:24:43 +02:00
Dariusz L 1aaae6e454 refactor: use canonical Point type 2026-08-13 04:47:20 +02:00
Dariusz L 76222a805b refactor: centralize strict canvas context creation 2026-08-13 04:44:59 +02:00
Dariusz L 082e8b74f1 refactor: share matting model status checks 2026-08-13 04:41:24 +02:00
Dariusz L 18445387e4 refactor: share CanvasIO tensor image conversion 2026-08-13 04:37:15 +02:00
Dariusz L b7785b6bc3 refactor: share mask result conversion 2026-08-13 04:32:30 +02:00
Dariusz L 4bed57afcd refactor: share mask pixel processing pipeline 2026-08-13 04:29:47 +02:00
Dariusz L 66faa3135a refactor: centralize image loading and serialization 2026-08-13 04:26:51 +02:00
Dariusz L 5f660629ec refactor: centralize layer geometry calculations 2026-08-13 04:18:43 +02:00
Dariusz L 2d72155292 refactor: share birefnet checkpoint migration 2026-08-13 03:46:14 +02:00
Dariusz L 2ab249efde refactor: share mask distance transform 2026-08-13 03:42:49 +02:00
Dariusz L 73d8e696cb refactor: share tensor to rgba conversion 2026-08-13 03:39:03 +02:00
Dariusz L 0217684ae8 refactor: share indexeddb infrastructure 2026-08-13 03:36:47 +02:00
Dariusz L 834476c259 refactor: unify canvas export actions 2026-08-13 03:29:52 +02:00
Dariusz L 391923d77d refactor: split canvas_node into python modules and enhance matting UI 2026-08-13 03:10:25 +02:00
Dariusz L 6284ed2b98 Fix layer-aligned generated masks 2026-08-13 02:34:37 +02:00
Dariusz L 7709eeb49f refactor: remove legacy logging compatibility 2026-08-13 02:04:15 +02:00
Dariusz L 6febc525bc fix: use native ComfyUI BiRefNet matting 2026-08-13 01:56:03 +02:00
Dariusz L dc1bde6231 refactor: use canonical logging imports 2026-08-13 01:16:42 +02:00
Dariusz L 2cec014d4c feat: migrate Model Resolver logging system 2026-08-13 00:57:52 +02:00
Dariusz L cf17dda7d4 chore: adopt Resolver tooling and workflows 2026-08-13 00:22:58 +02:00
Dariusz L c329b3ac7c Update ComfyUIdownloads.yml 2026-07-25 01:01:04 +02:00
Dariusz L 7b37ace6b9 Add Ko-fi username to FUNDING.yml 2026-07-01 20:10:54 +02:00
Dariusz L f8137a57a7 refactor: add CONFIG and context menu support to notification toast system
- Add centralized CONFIG object with PROJECT_NAME, PROJECT_ICON, CSS_PREFIX,
  LOGGER_NAME, and SHARED_CONTAINER_ID to prevent hardcoded values
- Refactor showNotification to accept both legacy (backgroundColor, duration, type)
  and new (options object) signatures for backward compatibility
- Replace hardcoded CSS IDs and keyframe names with CONFIG-prefixed variants
- Change notification container layout from row-reverse to column for proper stacking
- Add context menu binding support via contextMenuModel and contextMenuTooltip options
- Extract SVG icons into dedicated iconSVGs record/object
- Fix wrapper functions (showSuccessNotification, showErrorNotification etc.) to
  pass type as first argument instead of undefined
- Increase container z-index to 100005 to appear above modal overlays
- Remove unused lf-progress and lf-progress-rewind keyframes
2026-06-30 01:39:23 +02:00
Dariusz L e82c837af3 Add 'lf-' prefix to all LayerForge CSS classes (js)
Refactors all custom CSS class names to include an 'lf-' prefix
(e.g. .painter-button -> .lf-painter-button, .clipboard-switch -> .lf-clipboard-switch).

This isolates LayerForge styles within the ComfyUI DOM and prevents
CSS namespace collisions with other custom nodes or host page styles.
Changes span src/ TypeScript source files and src/css/ stylesheets.
2026-06-30 00:50:15 +02:00
Dariusz L d0cf579f91 Add 'lf-' prefix to all LayerForge CSS classes
Refactors all custom CSS class names to include an 'lf-' prefix
(e.g. .painter-button -> .lf-painter-button, .clipboard-switch -> .lf-clipboard-switch).

This isolates LayerForge styles within the ComfyUI DOM and prevents
CSS namespace collisions with other custom nodes or host page styles.
Changes span src/ TypeScript source files and src/css/ stylesheets.
2026-06-30 00:49:06 +02:00
Dariusz L d0b7261671 Refactor notification progress to use requestAnimationFrame and fix db imports
- Replace CSS animation-based notification progress bar with requestAnimationFrame-driven animation
- Centralize getCanvasState/setCanvasState imports at top-level in CanvasView (remove dynamic import())
- Clean up animation frame lifecycle tracking to prevent orphaned rAF callbacks
- Set local debug log level in python/config.py for development diagnostics
2026-06-30 00:27:52 +02:00
Dariusz L 3f4e3f0392 Add sponsorship badge to README 2026-06-16 19:10:04 +02:00
Dariusz L 40e3392d41 Update README.md with badge links and formatting 2026-06-16 19:09:29 +02:00
Dariusz L 01b493d1ed Update GitHub Sponsors username in FUNDING.yml 2026-06-16 16:57:29 +02:00
Dariusz L 88c2249ded Rebuild JS artifacts (no functional changes)
Changes are auto-generated by TypeScript build (formatting/newlines only). No logic changes.
2026-05-01 20:46:28 +02:00
Dariusz L eae1c2d2c3 Update WebSocketManager.ts 2026-05-01 20:34:51 +02:00
Dariusz L abbc78c1d0 Update pyproject.toml v1.5.13 2026-05-01 20:31:47 +02:00
Dariusz L 539be6fbdf Merge pull request #29 from VladiCz/main
replace hardcoded ws protocol with wss protocol based on SSL
2026-05-01 20:26:07 +02:00
VladiCz c7239ae9d9 use offline downloaded model first 2026-04-26 10:14:33 +02:00
VladiCz 65f3dcc5d5 replace hardcoded ws protocol with wss protocol based on SSL 2026-04-25 10:41:28 +02:00
Dariusz L 4bce819918 Update pyproject.toml v1.5.12 2026-04-13 17:29:03 +02:00
Dariusz L 5cf10e5e5c Add Undo/Redo shortcuts to templates
Insert an "Undo & Redo" section into standard_shortcuts.html in both js/templates and src/templates. Documents Ctrl+Z for undo and Ctrl+Y or Ctrl+Shift+Z for redo so the UI shortcut list includes undo/redo actions.
2026-04-13 17:25:50 +02:00
Dariusz L 72ef62e642 Merge pull request #28 from diodiogod/pr/comfyui-shortcut-leaks-clean
Fix ComfyUI shortcut leaks while LayerForge widget is active
2026-04-13 17:18:04 +02:00
diodiogod 1edde25d75 Fix ComfyUI shortcut leaks in LayerForge
Technical details:
- skip LayerForge canvas and panel shortcuts when focus is inside editable controls
- patch ComfyUI ChangeTracker undoRedo so Ctrl/Cmd+Z does not leak to graph history while LayerForge owns the shortcut context
- stop clipboard copy/cut/paste events from editable LayerForge UI from bubbling into ComfyUI node clipboard handlers
- route widget-root Ctrl/Cmd+Z, Ctrl/Cmd+Y, and Ctrl/Cmd+Shift+Z through LayerForge canvas undo and redo when the widget is active
2026-03-18 00:34:16 -03:00
Dariusz L 835d94a11d Merge pull request #24 from diodiogod/fix/keyboard-shortcuts-focus-check
Fix keyboard shortcuts capturing events when node is unfocused
2026-02-20 16:28:04 +01:00
Dariusz L 061e2b7a9a Cleanup: Remove accidentally committed python\__pycache__folder 2026-02-05 16:23:10 +01:00
diodiogod b1f29eefdb Cleanup: Remove accidentally committed __pycache__ and .vscode folders 2026-02-03 15:12:51 -03:00
diodiogod b8fbcee67a Fix focus/modifier issues and improve multi-layer selection UX 2026-02-03 02:00:24 -03:00
diodiogod d44d944f2d Fix: Restore drag-and-drop in layers panel 2026-02-02 23:15:08 -03:00