Closed minetoblend closed 8 months ago
The recent updates focus on refining event handling and user interactions across the editor's client and server components. Key changes include the transition to more specific event names like 'beatmap'
and 'identity'
over 'roomState'
, the introduction of new handler classes for managing beatmaps, chat, presence, and users, and the restructuring of message interfaces to better support chat functionalities and user management. These adjustments aim to enhance the collaborative editing environment's responsiveness and user experience.
Files | Summary |
---|---|
packages/client/src/editor/beatmapManager.ts packages/client/src/editor/commandHandler.ts packages/client/src/editor/connectedUsers.ts packages/client/src/editor/editorClient.ts |
Updated event listeners for initializing objects and handling user data. |
packages/common/src/protocol/client.ts packages/common/src/protocol/index.ts packages/common/src/protocol/server.ts |
Modified message interfaces and added exports to support new functionalities. |
packages/server/src/editor/editor-room.ts packages/server/src/editor/handlers/... (All handler files) packages/server/src/editor/room-user.ts |
Introduced new classes for handling beatmaps, chat, presence, and user events, and restructured event handling and user management. |
"In the realm of code, where rabbits dare to tread,
Changes abound, in files widespread.
🌟 With a hop, skip, and a jump, we refine,
Events and handlers, now perfectly align.
So here's to the update, may it bring delight,
As we code away, into the night.
🐇💻"
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Things were starting to get messy
Summary by CodeRabbit
New Features
Refactor
Bug Fixes
Documentation