mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
cd049ff912d1f85c2e31fcb5ad7fcb7dd7a4feec
## Description Fixing `The project is outdated. Synchronization was incomplete when the project was opened` at least in case of preview clicks Trying to prevent https://github.com/webstudio-is/webstudio-builder/blob/a379a98c1f480397d1ddb0b1caffdc07d64b5d24/apps/builder/app/builder/shared/sync/sync-server.ts#L263 The issue is that data reload cause loading outdated version from the build during ordinary user work ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%
