h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 27 forks source link

Need server manager #54

Open AlekseyGur opened 7 years ago

AlekseyGur commented 7 years ago

Hi! Thank you very much for your package. Could you make a separeted tab for list of servers? I mean in one tab (in file tree window) you'll have a list of servers and in another tab you'll have a list of files on selected (connected) server. And if you click on a server in 'server tab' then you'll be switched to 'files tab'. I have a lot of servers. And it's quite difficult to manage their files in mixed list of servers and files.

Please, look at 2 attached files (how it should work).

Menu of servers. 'Servers' tab activated. For example, we can click 'server3' and connection with server3 will be established. And tab 'server3' on the top will appear and will be activated. And we'll see list of files of server3. 1

List of files of server3. Tab 'server3' activated. We can see list of files in this tab. In addition we can close connection with 'server3' by menas of clicking 'X' at the tab 'sercer3 x'. 2

That design will allow to manage big amount of servers. And we'll alway understand which server is connected.

P.S. It's better to replace text 'servers' in first tab to small icon of connector.

Best ragards, Alex.

wacki4 commented 5 years ago

I thought about not tabs, but creating selectbox right above ftp log. It would have "Show all" option, and each connected server would also be shown as option to select. Changing option will reload view for only current server content.

Tabs i think would be not good for UI - when We use another right-panel plugin, like git or github having another tabs beneath would be really confusing, also connecting to many servers when there would be double row tabs, or really short ones would be annoing.

How about my idea with selectbox? Also, maybe not in the bottom, but right on top...

wacki4 commented 5 years ago

@cschindl - could You look at https://github.com/wacki4/ftp-remote-edit/tree/select-server ? I've started making such change with option to enable/disable in config. Now only avaiable on view, nothing done with logic, it looks not so easy, so i wanted Your opinion about it before i would refactor entire code of tree view ;)

cschindl commented 5 years ago

Hi @wacki4,

I don't know if this feature still makes sense after we integrated the grouping of servers into directories. The implementation would be very complex, since for each server an individual panel has to be added. I think there are other feature requests which are easier to implement and also very popular. For example, I would have started this #49 here next, as it could be very helpful for many. But maybe you'd like to try your hand at this ;)

wacki4 commented 5 years ago

I think that yes, i have many of them and showing only one, on which i'am working would be great ;) I will posponde it, cause as You said it will be complex on tree-view. I have idea how to make it without many panels, but it could wait ;) What do You think?