mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
38678a442e07753f0fe76d374f66c43376f5d7d4
fixes: #5038 ## Description delete button shows on folder settings in content mode and duplicate button shows for page setting. this fix removes these buttons in content mode. 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. switch to content mode on your project 2. got to page/folder settings 3. expect that duplicate icon/delete icon should not be visible 4. ## 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 - [x] made a self-review - [x] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [x] tested locally and on preview environment (preview dev login: 0000) - [] 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` file
fix: render delete icon only in design mode for folder settings and duplicate icon for page settings #5038 (#5083)
Learning Resources
- Blog
- Documentation
- Brand and Product Design
- Contributing Guide for Devs
- Github Discussions
- Wishlist
- Builder Issues Tracker
- Roadmap
Social Media
Thanks
Thanks to Lost Pixel for providing the visual testing platform that helps us review UI changes and catch visual regressions.
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%
