feature(files) : Give a hint that names starting with dots might be hidden#43366
feature(files) : Give a hint that names starting with dots might be hidden#43366arublov wants to merge 1 commit intonextcloud:masterfrom
Conversation
|
This might annoy a lot of users because it is shown everytime you rename such a file, especially if you know what you are doing. So cc @jancborchardt for UX |
|
As an alternative we could use something like a tooltip. It warns but doesn't get into your way. What do you think? |
|
Yup, would agree with @ChristophWurst’s suggestion of a tooltip. Does this work @arublov @susnux? |
|
Apparently the dialogue for new files now looks like this: This could be enhanced by a https://nextcloud-vue-components.netlify.app/#/Components/NcNoteCard with type warning right under/over the filename input. |
Yes, I already tried to implement with NcNoteCard, but if you want to rename a folder/file, it happens:
|
…ames starting with dots might be hidden nextcloud#21609 Signed-off-by: Andrii Rublov <[email protected]>
35e5341 to
43212e8
Compare
|
@ChristophWurst / @jancborchardt , If I do like this for renaming folders/files? The NcNoteCard will appear to the right of the input.
|
|
About renaming warning: I think the dialog is the way to go, we just need a never show this again checkbox. This type of warning doesn't work well in a tooltip, and for most users it's actually good to break the flow be very clear about the fact that the file/folder is about to be hidden. |
You can take the warn about changed file extension as an example on how to do the "never again" checkbox |




Checklist
Before:
The file name is changed with dots at the beginning without confirmation.
After:
Now when changing a file name with a dot/s at the beginning, a confirmation will pop up first to warn the user that the file can be hidden if the name is changed.