Conversation
…cripts in root package.json
- Implement tests for LayerBase, LayerBackground, LayerOverlay, LayerUI, and LayerWorld to verify their functionality and state management. - Create tests for ManagerLayerUI and ModuleBaseLayerUI to ensure proper registration and lifecycle management of UI modules. - Add tests for ModuleRulerUI to validate ruler behavior, guide management, and DOM interactions. - Introduce tests for RulerGuideLine to check color parsing, thickness rounding, and reset functionality. - Update turbo.json to ensure test dependencies are correctly configured.
- Added ServiceMediaImport for handling media import from various sources. - Introduced MediaDropTarget to manage drag-and-drop media interactions. - Updated playground main.ts to integrate media import and drop features. - Refactored canvas rendering to support media content with clipping paths. - Removed unused line, path, polygon, and star renderers to streamline codebase. - Added utility functions for appending shape paths in canvas rendering. - Enhanced media handling with metadata loading for images and videos. - Updated engine exports to include new services and utilities.
- Added `toStrokePathCommands` method to `ShapeBase` for stroke path command retrieval. - Moved stroke-related functions to dedicated files: `resolveStrokePathMetrics.ts` and `resolveStrokeStylePattern.ts`. - Updated `ShapeStrokePath` type to include optional `additionalAreas`. - Cleaned up imports and removed unused code in `index.ts`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Synchronizes the
devbranch with the latest changes frommain.This brings the active development branch up to date with the current
2.0.5engine state before starting the next major Flowscape architecture and engine foundation work.Motivation
The
devbranch is currently behindmain.Future development should begin from the latest engine implementation to avoid branch divergence, duplicated work, and the accidental reintroduction of already resolved rendering, stroke, media, and testing issues.
Changes
2.0.5and update the root versioning scripts.ServiceMediaImportandMediaDropTargetfor importing images and videos from files, URLs, clipboard data, and drag-and-drop interactions.NodeLine, stroke path generation, stroke metrics, patterned strokes, line endings, and additional stroke areas.style-sheet/colorimplementation and expose the new media services through the engine entry point.Testing
All included changes already exist on
main. This PR only synchronizes those changes intodevand does not introduce additional implementation changes.The resulting
devbranch should be validated by CI with:Public API
The public API adds exports for the new media import and drag-and-drop services.
The legacy
style-sheetexports and dedicated renderer exports for line, path, polygon, and star nodes were removed. Consumers importing those APIs directly may require migration.ShapeBaseand stroke-related types were also extended to support dedicated stroke path commands and additional stroke areas.Visual changes
Visual rendering behavior was updated for:
No additional screenshots are included because this PR synchronizes behavior already present on
main.Checklist
maintodevsynchronization were included