Meshcentral: File explorer requests

Created on 24 Sep 2019  路  11Comments  路  Source: Ylianst/MeshCentral

I have a few requests/nice to have for the files section:

When using the file explorer I had a hard time matching the files with their file dates.
Would it be possible to implement alternating colors for the files list.

Overwrite/delete notification dialog?

A file viewer/editor would also be handy

mass download for selected files (without zip function) #323

enhancement

Most helpful comment

Published MeshCentral v0.4.1-m. The file viewer is now a text file editor and added the warning prompt when files will be overwritten. Feedback appreciated.

MC2-FileEditor

All 11 comments

Published MeshCentral v0.4.1-e with a new mouse hover gray line in the "My Files" tab. Hopefully that will help without the alternating colors that would not look great. Let me know what you think.

x

"Delete" already has a confirmation dialog box, I could do one for overwrite.

Mass downloads is not something browsers support, but you can zip/tar and that is still something we need to add.

+1 vote for multiple file downloads, I like the idea of zipping/tar before and sending as single file.

FYI, a .tar file can be gzipped (to create .tar.gz/.tgz file) on the fly, which would decrease the size of the file and the network traffic required to transmit it.
Also, it would be nice if we could choose to use .zip or .tar/.tgz, as many people prefer zip on Windows and tar/tgz on Linux, but others pick one format for use on both platforms, and if you use 7-Zip to create the archive, having a .7z option would be really nice too.

A .dmg option would be really nice for Mac users too, but I'm not sure how feasible that is for non-Mac agents, as creating a .dmg under other OSes doesn't seem to be supported by any Free/Open Source software I could find. I doubt it would be too difficult to add for agents running on Mac though.

So, that is all nice but the MeshAgent will need to do the tag/zip/gz/dmg work on the remote side and I want to limit the size of the agent as much as possible. Also, the agent will have to perform this on-the-fly and you want to send the same as they are read, so .tar or .tar/gz would work (but we don't have a gzip in the agent right now).

Bryan will decide on this, but probably start with .tar first.

Awesome the new hover helps a lot!

For the multi download, maybe calling p13downloadfile() for the selected files would be a possibility?

So there were multiple requests in the OP. This comment is basically to re-thread the above statements to update the status of each.


  • When using the file explorer I had a hard time matching the files with their file dates.
    Would it be possible to implement alternating colors for the files list.

    Published MeshCentral v0.4.1-e with a new mouse hover gray line in the "My Files" tab. Hopefully that will help without the alternating colors that would not look great. Let me know what you think.

    Awesome the new hover helps a lot!

    While an option to show alternating colors might still be a nice addition, it sounds like the currently implemented hover color improved the usability of the file transfer screen to the satisfaction of the requester, so for the purpose of this issue, we can count this part as done.

  • mass download for selected files (without zip function) #323

    There's been a bit of discussion here about it, but realistically, mass file download without making them all one file (zip/tar/etc.) is not going to happen until/unless browsers add support for it, which doesn't seem likely in the near future, and even then, it may still not be feasible, also mass download in an archive already has a ticket of its own: #323, where Bryan/krayon007 has stated that he's working on it, and any more discussion regarding it should go there.
    (Sorry for not taking my comments about it there sooner.)


So the remaining parts that this ticket still covers are:

  • Overwrite/delete notification dialog?

    "Delete" already has a confirmation dialog box, I could do one for overwrite.

    When selecting files to delete, and pressing the Delete brings up this
    Delete 2 selected items? OK/Cancel
    However, when uploading a file (either by drag & drop, or by clicking the Upload button and browsing for the file) there is _no_ confirmation dialog whatsoever if a file with the same name already exists in the folder. This is very dangerous, please fix.

  • A file viewer/editor would also be handy

    I have also wished I could view a 'preview' of a text file without having to save it to a file on my local disk, then open that. This would be a _very_ welcome user experience improvement.

Published MeshCentral v0.4.1-l with new "View" button in device "Files" tab. Let me know if that works.

MC2-DeviceShowFile

Awesome, that helps a lot.

Perhaps the user experience could be improved a little. For instance, it would be nice if the width of the preview could expand a bit more, perhaps depending on the width of the window?

Thanks.

Agreed. I will take a look at making it wider.

Published MeshCentral v0.4.1-m. The file viewer is now a text file editor and added the warning prompt when files will be overwritten. Feedback appreciated.

MC2-FileEditor

Awesome. I'll have to try it soon.
Edit: Overall, this is great, but I did have a few small issues...

  • "OK" & "Cancel buttons would be better if labeled "Save" & "Close".
  • Pressing "Cancel" ("Close") or the 'x' at the top right should warn you if you've made changes that won't be saved, and possibly offer to save them.
  • Files with Read only, System or Hidden attributes can't currently be saved.

    • Shouldn't System and/or Hidden files that are not also Read only be savable? (Maybe they should have a warning? but I see no reason why the Hidden attribute should prevent me from saving a file.)

    • If you click "OK" ("Save") and it can't save it (due to Read only attribute) it should inform you before closing that it won't save your changes, and give you an option to not close it yet so you can copy your changes to the clipboard, in case you need to make those changes and will just have to change the file attributes before you can.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Julien-asv picture Julien-asv  路  3Comments

PathfinderNetworks picture PathfinderNetworks  路  3Comments

MailYouLater picture MailYouLater  路  4Comments

hellofaduck picture hellofaduck  路  3Comments

haxmachine picture haxmachine  路  3Comments