Files
webstudio/apps/builder
Oleg Isonen 913a44c30c feat: Collapse folders by default and allow collapsing first-level folders (#2864)
## 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
2024-02-05 14:00:20 +01:00
..
2023-02-14 11:15:24 +01:00
2023-10-18 14:19:02 +02:00
2023-02-14 11:15:24 +01:00