Skip to content

Warning dialogs: Use less indirect text and only display file names

In our warning dialogs about files, we currently use an indirect style where we basically say:

Are you sure you want to do a thing to this item?

[file path]

We can improve the presentation by being more direct and moving the file path into the sentence. And because the full file path in the sentence would be quite cumbersome, we can shorten it to just the file name, This is fine because the user typically either already knows or doesn't care about the full path; they use the file name to identify which file is being operated on. And nearly all of the time, it's the file they were just interacting directly with anyway.

Before After
One_file_-_Before One_file_-_After
Multiple_files_-_Before Multiple_files_-_After

@teams/usability @teams/vdg

Merge request reports

Loading