Commit Graph

26 Commits

Author SHA1 Message Date
syntaxbullet
c3a75cf0d6 feat: add command palette functionality and shortcuts
- Implemented command palette with keyboard shortcut (⌘K) for opening.
- Added commands for opening, closing, setting query, and selecting items in the command palette.
- Created tests for command palette commands and input handling.
- Enhanced layer actions with functions for adding, grouping, and deleting layers.
- Updated UI components to integrate command palette and shortcuts.
2026-07-05 17:15:20 +02:00
syntaxbullet
5eaf37ba28 feat: enhance layer mask handling and opacity management
- Introduced `getLayerMask` utility to streamline layer mask retrieval.
- Updated layer rendering logic to incorporate layer masks and opacity adjustments.
- Added functionality to prevent dropping a group into its descendants.
- Enhanced image texture rendering to support opacity parameters across various rendering functions.
- Implemented group layer bounds application for better scaling and positioning.
- Added tests to ensure correct behavior when handling layer masks and group layers.
- Created new types for asset generation provenance to track generated assets more effectively.
2026-07-05 16:06:23 +02:00
syntaxbullet
0b6b064085 feat: enhance generate settings to support multiple architectures and their defaults 2026-07-05 11:21:56 +02:00
syntaxbullet
f5c610dac5 feat: implement inpainting functionality with mask handling
- Added `createMaskedPixelReplacementSource` function to handle pixel replacement using inpainting.
- Introduced `buildInpaintBundle` to prepare inpainting data including mask generation and validation.
- Created utility functions for mask operations such as `applyMaskedContentModeToRgba`, `expandRectWithinBounds`, and others for mask manipulation.
- Developed tests for inpainting preparation and mask raster utilities to ensure functionality and correctness.
- Implemented mask raster operations including inversion, feathering, blurring, and more.
2026-07-05 09:35:16 +02:00
syntaxbullet
88208ea1ad perf(document): index layer read paths 2026-07-04 15:58:38 +02:00
syntaxbullet
7188569672 feat: add ComfyUI integration for image generation
- Implemented ComfyUI API for generating images with various modes (text-to-image, image-to-image, inpaint, outpaint).
- Created GenerateSheet and associated controls for user input on generation settings.
- Added subtle scrollbar styles for improved UI experience.
- Enhanced canvas input handling to ignore key events when focused on editable elements.
- Optimized canvas resizing logic to prevent unnecessary dispatches.
- Introduced error handling for generation failures and loading models.
- Added functionality to upload images and masks for inpainting.
2026-07-04 15:10:30 +02:00
syntaxbullet
af50a165da feat: add magic wand tool with settings and controls, including UI integration and functionality 2026-07-04 11:49:35 +02:00
syntaxbullet
6b6c2ebb80 feat: add chroma key tool and settings, including UI components and controls 2026-07-04 11:13:47 +02:00
syntaxbullet
4590b47e19 Remove crop tool 2026-07-03 21:15:31 +02:00
syntaxbullet
4ad0bb8b2c feat: enhance layer masking functionality and brush controls
- Refactor LayersSheet component to support mask editing state and improve layer visibility handling.
- Introduce functions to collect mask layer IDs and count display layers excluding masks.
- Update BrushControls to include mask view mode options and a Done button for exiting mask editing.
- Modify brush session handling to support brush previews when editing masks.
- Implement a new BrushPreviewRenderer for rendering brush strokes with visual feedback.
- Add document geometry utilities for transforming points and resolving layer bounds.
- Ensure proper cleanup of brush preview on pointer leave and other interactions.
2026-07-03 20:49:29 +02:00
syntaxbullet
15f3a934e0 feat(masks): add mask editing mode 2026-07-03 18:07:04 +02:00
syntaxbullet
64aebbe23a feat(tools): add brush controls 2026-07-03 17:49:00 +02:00
syntaxbullet
c13a6f5917 feat(tools): add eraser tool 2026-07-03 17:39:00 +02:00
syntaxbullet
9fc0c18114 feat(tools): add brush raster painting 2026-07-03 17:37:43 +02:00
syntaxbullet
665f4a5340 feat(core): add raster layer type 2026-07-03 17:34:02 +02:00
syntaxbullet
c946fb4c93 feat(tools): add crop tool 2026-07-03 17:32:46 +02:00
syntaxbullet
0ffbc4f68b feat(history): add undo redo stack 2026-07-03 17:30:31 +02:00
syntaxbullet
fedeaffa57 feat(layers): add layer management panel 2026-07-03 17:26:50 +02:00
syntaxbullet
97c3d3b7ae feat(core): add intrinsic asset dimensions 2026-07-03 16:14:00 +02:00
syntaxbullet
a3b4a4a1b0 refactor(transform): resolve target bounds 2026-07-03 16:12:26 +02:00
syntaxbullet
bf5d9f5371 feat(transform): add transform session commands 2026-07-03 16:06:58 +02:00
syntaxbullet
8320203f11 Add pan tool toolbar 2026-07-03 11:27:48 +02:00
syntaxbullet
c23efeb397 feat(editor): add tool interaction state 2026-07-03 10:10:50 +02:00
syntaxbullet
d7406e803a chore(architecture): enforce layer boundaries 2026-07-03 09:34:21 +02:00
syntaxbullet
a8dbd26474 feat(commands): add app state dispatcher foundation 2026-07-03 09:28:06 +02:00
syntaxbullet
697d12725d feat(editor): add transient app state foundation 2026-07-03 09:24:08 +02:00