New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't remove folders in asset panel #3
Comments
Not only folders, but any file contained in any folder.. |
Fixed. Apologies for the inconvenience. A server needed a restart. |
It now happens again :-( |
@WangNianyi2001 I've just tried now and I can't reproduce the issue. Can you try refresh your page/browser if you haven't tried already. If that doesn't work, is it one particular folder that cannot be deleted? Or any folder? |
@yaustar sry I made a silly mistake--I clicked on the orange cancel button instead of the gray delete button (facepalm) |
The orange button is definitely misleading. |
cc @rawkas |
I think the logic behind this design is that because it's a delete which you can't undo, it highlights the Cancel button because if you are going to click on a button accidentally it'd better be the Cancel instead of the Delete. |
That is by design as we had people accidentally deleting the wrong thing. So we made Delete a little more difficult to require conscious effort. |
I think if we had a 'trash' that would allow you to undo an asset delete, it would solve this problem. |
By clicking "wrong" button, it's ok, then probably should be highlighted equal, or at least the delete button to be actually red, so the user sees it is an important button. But please, bring back "enter" hotkey, as hitting Enter after Delete button - is definitely a conscious action.
That definitely would help. But it sounds complex:
|
It's a tough as both options make sense.
IIRC, the typical pattern is to have 'cancel' as the preselected option, and the user can press tab to select the next option. |
Maybe there would be a prefferable mixed solution: highlight the "delete" button while setting the default keyboard focus to "cancel". This avoids visual confusion & grant keyboard users access to actually performing the deletion. BTW I think maybe we should create a new issue or forum post, since this one is already closed. |
I believe you've meant the opposite: This, not a great UX, for sure. As highlights will mislead of what is the keyboard "focused", although Editor does not have "button focus" UX pattern. Trash - is complex, and not a quick solution. |
This has happened to a forum user, and I was able to reproduce at that same instance. After a couple of minutes the issue was resolved and the folder was deleted.
Steps to Reproduce
Forum thread: https://forum.playcanvas.com/t/editor-down-cant-connect/11968
The text was updated successfully, but these errors were encountered: