Commit Graph

17 Commits

Author SHA1 Message Date
syntaxbullet
37aa719047 feat: add first-class text layers 2026-07-11 12:38:34 +02:00
syntaxbullet
606426c885 feat: add non-destructive adjustment layers 2026-07-11 12:31:06 +02:00
syntaxbullet
9fb3a19912 feat: add crop and canvas resize workflows 2026-07-11 12:16:33 +02:00
syntaxbullet
4d7358af4b feat: add contextual layer inspector 2026-07-11 12:07:36 +02:00
syntaxbullet
03493a1c32 feat: add generation cancel job functionality and improve job handling
- Introduced `generationCancelJob` command ID in `commands/ids.ts`.
- Added `GenerationCancelJobPayload` type in `commands/payloads.ts`.
- Enhanced job status to include "cancelled" in `editor/state.ts`.
- Updated `runGenerationJob` to accept an `AbortSignal` and handle cancellation.
- Implemented cancellation logic in `runGenerate` and related functions.
- Added tests for job cancellation in `operations/generation/workflow.test.ts`.
- Improved layer rendering logic to prevent stack overflow in `editor/document-indexes.ts`.
- Added raster size assertions in `platform/browser/rasterLimits.ts` for image processing limits.
- Enhanced image file handling to check for size limits in `platform/browser/imageFiles.ts`.
- Updated UI components to reflect job cancellation state in `view/GenerationJobStatus.tsx` and `view/bottom-controls/GenerateActionControls.tsx`.
2026-07-11 11:37:21 +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
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
cbd4eb5e9b feat: implement brush availability hints and enhance layer rendering order 2026-07-03 23:18:48 +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
daaa2a6667 fix(masks): show tinted mask edit overlay 2026-07-03 18:12:30 +02:00
syntaxbullet
15f3a934e0 feat(masks): add mask editing mode 2026-07-03 18:07:04 +02:00
syntaxbullet
4a21b28ed0 fix(masks): render layer masks 2026-07-03 18:00:28 +02:00
syntaxbullet
fedeaffa57 feat(layers): add layer management panel 2026-07-03 17:26:50 +02:00
syntaxbullet
ba3f253ee5 feat(renderer): enhance image rendering with asset synchronization and clipping 2026-07-03 16:34:31 +02:00
syntaxbullet
bc0fbea029 feat(renderer): render image textures 2026-07-03 16:23:38 +02:00
syntaxbullet
44295b1b2d feat(renderer): render image layer placeholders 2026-07-03 16:19:05 +02:00