Skip to content

Conversation

@takaokouji
Copy link

This PR implements Phase 2 of the Mesh V2 extension (smalruby/smalruby3-gui#453).

Changes

  • Implemented MeshV2Service class handling:
    • Group creation (host) and joining (peer).
    • Data reporting and event firing.
    • GraphQL subscription management for real-time updates.
    • 90-minute connection limit timer.
  • Defined all necessary GraphQL operations in gql-operations.js.
  • Integrated MeshV2Service into Scratch3MeshV2Blocks.
  • Updated utils.js to use domain terminology for clarity.

Dependencies

🤖 Generated with Gemini Code

Co-Authored-By: Gemini noreply@google.com

takaokouji and others added 2 commits December 24, 2025 18:33
- Set up environment by installing aws-appsync and graphql-tag
- Created src/extensions/scratch3_mesh_v2/ directory
- Implemented URL parameter ?mesh=domain retrieval and validation
- Initialized GraphQL client foundation using AWSAppSyncClient
- Created initial extension class Scratch3MeshV2Blocks

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
- Implemented MeshV2Service class for group management and data synchronization
- Added GraphQL operations (queries, mutations, subscriptions) in gql-operations.js
- Implemented 90-minute connection limit timer
- Integrated MeshV2Service into Scratch3MeshV2Blocks
- Refactored utils.js to use domain terminology instead of meshId

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
@takaokouji takaokouji merged commit 9d9cc20 into develop Dec 26, 2025
1 check passed
@takaokouji takaokouji deleted the feature/mesh-v2-phase-2 branch December 26, 2025 07:38
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.

2 participants