cms icon indicating copy to clipboard operation
cms copied to clipboard

[6.x] Assets: Create folder workflow

Open helloDanuk opened this issue 4 months ago • 3 comments

Bug description

When creating a new folder, I noticed a few things. Since the placeholder "new-folder" has the same text color as an already created folder, one might think that you can simply pressing Enter without having to enter a name (as is it the case in macOS Finder, for example). This leads to the following:

  • screenshot 1: Just hit Enter, without typing a folder name
  • screenshot 2: View after hitting Enter. New folder appears, but text-styling is different and there is an error message at the bottom-right
  • screenshot 3: After a reload the "new-folder" is gone

Although there is nothing technically wrong, the UX could be improved. For example, the text ‘new-folder’ on the second screenshot could be displayed in red, or on the first screen the text color could be made more distinct to clearly indicate it is only a placeholder.

Image Image Image

How to reproduce

See description of the screenshots above

Logs


Environment

6.0.0-alpha.7

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

helloDanuk avatar Sep 15 '25 14:09 helloDanuk

The other layout from the second screenshot (different text style below the folder icon) is also displayed briefly when a folder has been successfully created, before it changes to the intended style.

Image

helloDanuk avatar Sep 15 '25 14:09 helloDanuk

Besides not being able to create folders in an empty asset container. When you only have a folder with assets in it, they don't show.

robdekort avatar Nov 18 '25 15:11 robdekort

Image

For clarity, here you can see the CP state vs actual file system on the right. Possibly all related to the same root issue.

robdekort avatar Nov 18 '25 15:11 robdekort