sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

+new flyout panel -- multiple inconsistencies in naming and behavior #7241

Open williamstein opened 8 months ago

williamstein commented 8 months ago

I love the +New flyout panel and for just typing a filename in and hitting shift+enter, it works very well. However, there are a bunch of buttons below the input at the top, and within these buttons there are inconsistencies with the other ways of making files in cocalc.

This approach also involves more steps than the new page: the user (1) types the filename, then (2) they click the type button, then (3) they go back to the top and hit another button. Is three steps really necessary?

There is the +New dropdown in the file explorer. It uses "Folder" (not "Directory") for the name. After the user (1) selects the type, then (2) they edit the filename and create the file. It feels to me more like two steps, though arguably is also 3.

williamstein commented 8 months ago

The tooltip for the "Directory" button was "Create a subdirectory in the current directory. You can also click the file type dropdown after the filename.". This is wrong because:

I did just push a commit to change this to "Switch to creating a subdirectory in the current directory instead of a file." as a band aide.

mancellin commented 8 months ago

My 2 cents: the most natural workflow for me is to

So the dropdown menu in the file explorer is the most convenient (but I wasn't aware of it before). The flyout panel is okay, even if I have to interact with it from the bottom to the top.