Currently, every folder has the empty "Add notes, lists or links …" on the top. This leads to various issues such as:
- Always uses a lot of vertical space, for every single folder
- People can accidentally click into it
- People end up finding the feature annoying and disabling it completely even though they might find it useful on a folder-by-folder basis
Instead, we should only show it directly on top of the file list if a Readme.md is present. If not, we show an entry "Add description" at the bottom of the "+ New" menu. (This entry of course does not need to show if a Readme.md is present.)
| Before |
After (if a Readme.md is present, of course still show it directly) |
 |
 |
cc @eneiluj @mejo- @max-nextcloud @juliushaertl
As discussed @karlitschek