ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Avoid creating empty txt files for images

Open hdodov opened this issue 4 years ago • 0 comments

Problem

In our website, we have a bunch of empty .txt files for image metadata in our repo. Given that Kirby works perfectly without them - what's the point of having them? In a multi-language setup, they could really add up.

Solution

Kirby could hold off creating .txt files until there's a file blueprint set up and the user saves some data for that file in the panel. These files are used to store sorting information as well, but still - Kirby could create the file only after the user sorts it. In our site, it's pretty common to have a page with just a single file or a few files that need to be sorted alphabetically and therefore have disabled sorting. In our project, these .txt files are nothing more than clutter.

hdodov avatar Jun 26 '20 12:06 hdodov