Bogdan Chadkin 85f5f832aa Represent styles as map (#1008)
Ref https://github.com/webstudio-is/webstudio-designer/issues/696

Here patches by styles indexes are replaced with patch by key to prevent
conflicts while collaborating.

The unusual part here is map key whiich is combined from a few fields:
"styleSourceId:breakpointId:property"

This format is enforced with typescript to always use utility
getStyleDeclKey to access specific style.
2023-02-13 16:08:19 +03:00
2023-02-03 11:41:41 +03:00
2022-07-04 19:59:42 +02:00
2023-01-29 18:05:13 +03:00
2023-02-13 16:08:19 +03:00
2022-07-22 19:18:21 +00:00
2022-06-22 15:00:00 +02:00
2022-03-13 04:22:21 +00:00
2023-01-31 12:13:37 +04:00
2022-04-13 12:14:56 +01:00
2023-01-29 18:04:48 +03:00

Webstudio Designer

Webstudio Designer is a NoCode Visual Tool inspired by Webflow. It is the place where you can build your site or app visually.

Contributing

Don't hesitate to reach out of you have questions around contributing to the project.

Contributing guide

Community

Twitter

Discussions

Discord

Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%