ipfs / ipfs-desktop

An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.
https://docs.ipfs.tech/install/ipfs-desktop/
MIT License
5.86k stars 851 forks source link

Feature Enhancement: Allow users to manually restart, or manually start, bundled go daemon within the app (not only via tray icon) #2293

Open SgtPooki opened 1 year ago

SgtPooki commented 1 year ago

Is your feature request related to a problem? Please describe. go daemon startup is tightly coupled to app startup. If you start IPFS desktop and the node fails to start due to repo lock or other issue, users have no ability to get things working without a full app restart.

We're all familiar with this screen which is indicative that a full app restart, or separate daemon start (via CLI) is required:

image

Describe the solution you'd like ipfs go daemon status should be toggle-able, restartable, stoppable, etc, from the ipfs desktop application

Describe alternatives you've considered N/A

Additional context Related: https://github.com/ipfs/ipfs-desktop/issues/1977

SgtPooki commented 1 year ago

@juliaxbow restart is possible from tray menu, we should probably make this more accessible, if restarts are viable solution for daemon startup failure.

juliaxbow commented 1 year ago

Did you want this to be available from just the "could not connect" screen? OR should users be able to access wherever they are in the app?

Assuming the latter based on your suggestion of "toggle-able" here are some options to include in the menu for initial feedback:

https://user-images.githubusercontent.com/58958327/195266734-d05cbfca-c60d-43bd-945f-bba9ec73c3d8.mov

The toggles would require addt'l help text to explain what's happening.

https://user-images.githubusercontent.com/58958327/195266743-28ed8675-05c9-42ab-89cc-51b4f05dd405.mov

https://user-images.githubusercontent.com/58958327/195267158-ff1899a7-c8da-48b3-b524-4db07c1e5502.mov

SgtPooki commented 8 months ago

I feel like we should use the icon that's on the far right,

image

to toggle it instead of simply redirecting to the status page and opening the advanced view... open to other thoughts here though.