Skip to content

Feat 0.0.2#51

Merged
DrugsZ merged 67 commits intomainfrom
feat-0.0.2
Feb 11, 2026
Merged

Feat 0.0.2#51
DrugsZ merged 67 commits intomainfrom
feat-0.0.2

Conversation

@DrugsZ
Copy link
Copy Markdown
Owner

@DrugsZ DrugsZ commented Feb 11, 2026

No description provided.

fatelee and others added 30 commits November 12, 2025 19:02
DrugsZ added 29 commits January 20, 2026 18:30
- 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.
- **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.
@DrugsZ DrugsZ merged commit 457bf45 into main Feb 11, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant