mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 04:55:06 +09:00
## Description 1. What is this PR about (link the issue and add a short description) Disable sync for user/token with "view" permit and show view mode icon <img width="294" alt="image" src="https://user-images.githubusercontent.com/5077042/216642624-00a75655-d8a8-49de-9818-a2bec00c637b.png"> ## Steps for reproduction Create Share view link. Copy link. Insert into the incognito window. See the screenshot above. Any changes should not cause savings. _Assets saving, for now, are not prevented_ ## 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-designer/blob/main/apps/designer/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `designer/env-check.js` if mandatory
trpc-interface
-
trpc-interfacecan implement various TRPC server routers. -
it can act as a proxy for TRPC services implemented in any other apps (those services must have the same API interface).