microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Update message system to send all state data for outgoing messages #161

Closed janechu closed 2 years ago

janechu commented 2 years ago

Pull Request

📖 Description

This PR updates all outgoing messages to include the "stateful" data contained in the web worker. This should help performance on the client side when assessing incoming messages from the message system and reduce complexity.

The reason this work has been started is due to the upcoming undo/redo or history messages, which make it difficult to remain in sync when storing incoming messages as history.

👩‍💻 Reviewer Notes

Note that this change is going into a feature branch. The next steps should also do the same.

✅ Checklist

General

⏭ Next Steps