Sia-UI icon indicating copy to clipboard operation
Sia-UI copied to clipboard

Renter UI improvements

Open Fornax96 opened this issue 7 years ago • 5 comments

I noticed in the latest release candidate that the renter UI is quite limited. I recall from previous versions there were a lot more features which made it easier to work with.

Currently the renter ui allows you to: delete files one at a time, rename files one at a time, upload multiple files at once, upload directories with files and search for files.

One of the biggest features I'm missing is the ability to create folders in Sia. Right now the only way to add a folder is by creating it on your local filesystem and uploading it with the "upload folder" button.

Here's a list of things I think would greatly improve the renter UI:

  • Selecting multiple files, and being able to delete, download or move them all at once with a button on the toolbar.
  • A button to create folders.
  • A button to download whole folders with all its contents.

Fornax96 avatar Oct 10 '16 09:10 Fornax96

@lukechampine does the renter API currently support creating empty folders?

DavidVorick avatar Oct 10 '16 09:10 DavidVorick

I created an empty folder in renter/ and it does not seem to show up in the UI or in the ./siac renter list -v output. But the UI could create the folder in memory and it will become permanent once the user uploads some files to it.

I think dropbox creates a hidden metadata file in every directory, even when it's empty. Maybe Sia could use this approach too to keep track of empty directories.

Fornax96 avatar Oct 10 '16 09:10 Fornax96

I think we discussed empty folders awhile ago and came to the same conclusions you did: either you fake it locally, or you eat the cost of uploading invisible metadata. I'm in favor of the former, but I could be persuaded otherwise. Generally speaking, I think it's premature to add any sort of invisible metadata until we support syncing your "Sia directory" across multiple machines.

IIRC, the renter API does not support creating directories at all. You can only upload files to a given path, and the directory structure will be created as needed.

lukechampine avatar Oct 10 '16 10:10 lukechampine

1 and 3 have been implemented as of 1.0.3. Creating new directories is a feature we're planning on adding on the renter backend.

avahowell avatar Oct 25 '16 18:10 avahowell

Since this is open I've got a new feature request. Can we not display to the user the actual redundancy? I think over time this will be pretty misleading, as once users are deleting their files locally it'll be normal and expected for files to drop below the full 3x redundancy and also stay low.

I am thinking:

below 1x: some indication that the file can't be downloaded (also red) above 1x/available: some indication that the file is able to be downloaded (also yellow) above 2x: file is green, and indicates that the file is at full health.

I am thinking something along those lines. I don't want the user to be worried when it's at 2.75x out of 3x when 2.75x is a perfectly safe place for the file to be.

DavidVorick avatar Feb 24 '17 10:02 DavidVorick