mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 22:14:29 +09:00
## Description 1. Opens folders in collapsed state by default, otherwise with big amount of items folders are kind pointless as you have to close them first 2. Allow collapsing folders on the first level, it wasn't possible before <img width="248" alt="image" src="https://github.com/webstudio-is/webstudio/assets/52824/2c6f1518-2a29-40fc-b839-f5ba9d75eec1"> ## Steps for reproduction 1. create nested folders 1. see you can collapse/expand first level folder 1. see you folders open in collapsed state initially ## Code Review - [ ] hi @TrySound , 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