Merged
Conversation
…r multiple packages
… stroke attributes
…configuration settings
…rvice proxy pattern
…ove some useless config
…d add DIRTY_NOT_EFFECT flag
- Introduced DocumentService for loading and saving documents. - Added QueryService for querying elements by tag name and name. - Implemented service base class to manage service lifecycle and access systems. - Refactored NodeService and TransformService to extend the new ServiceBase. - Created QuerySystem for querying nodes in the scene graph. - Updated service manager to register new services and systems. - Added tree walking utility for traversing the scene graph. - Updated schema to make parentIndex optional for child nodes. - Enhanced LatteLoader and Serializer to handle new document structure.
- Added GNU Affero General Public License to the espresso package. - Added MIT License to the kit, milk, and syrup packages. - Created a new text.md file.
…descendant transformations
…sor Propagation algorithm
- **Refactor Resize Logic**: Replaced the accumulated matrix approach with "World Space Mutation" in `transform.ts`. This lifts nested nodes to the root coordinate system for deformation and projects them back, ensuring consistent behavior across deep hierarchies. - **Visual Size Correctness**: Updated scale extraction logic to use "World Axis Scale Extraction". `width` and `height` properties now reflect the actual visual size in World Space, fixing discrepancies caused by local skew/rotation. - **Skew Handling**: Validated and fixed skew calculations. Confirmed that nodes maintain orthogonality (0 skew) when aligned with World Axes, even if their intermediate parents are skewed. - **Fixes**: Corrected vector transformation logic to properly account for origin translation during scale extraction.
- **@latte-js/syrup**:
- Migrate `StandardMouseEvent`, `StandardWheelEvent`, and `MouseDownState` from `apps` to `syrup`
to promote cross-package reuse.
- Implement `InputService` to handle `InputMouseEvent` and `InputWheelEvent` with hit testing and
world coordinate conversion.
- Make `MouseDownState` generic to support application-specific target and controller types.
- Export input-related types and services from the package entry point.
- **apps**:
- Refactor `EditorMouseEvent` and `MouseHandler` to inherit from `syrup`'s shared base classes.
- Remove duplicate event interface declarations and local utility imports.
- Update `DragHandler` and editor components to consume the new centralized types.
- **@latte-js/kit**:
- Consolidate shared DOM and Point utilities referenced by the new input system.
This change aligns the mouse event architecture with the existing keyboard event patterns and
establishes a unified input handling pipeline across the monorepo.
…document handling - Added session management capabilities to BaristaClient and ChannelClient. - Introduced EditorService for managing documents and active document context. - Implemented graph setting methods in Renderer and HitTester for dynamic updates. - Enhanced InputService to handle graph changes and integrate with new event types. - Created service proxies for seamless communication with various services. - Added new lifecycle events for session initialization and error handling. - Introduced IDocument interface and LatteDocument class for document representation. - Updated instantiation services to support dependency injection for better service management.
… error handling for graph proxy
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.
No description provided.