Closed
Description
The $IPFS_PATH/api
file is used by a lot of developers to talk to remote nodes (learning from ipfs-companion users). T
How to improve UX for "the API defined in $IPFS_PATH/api
is offline" scenario?
Perhaps like this:
- IF
$IPFS_PATH/api
file exists and is different from the one in theconfig
file - AND IF multiaddr inside of
api
file points at remote API which producesECONNREFUSED
error, - THEN ipfs-desktop should inform user about the problem with connection to remote node at
{multiaddr}
and display error window with built-in UI for dealing with it.
It could be a styled window similar to this mockup but with nice UI to:
- (A) Change value in
api
file- open file with
$EDITOR
or provide built-in editor directly in the error window similar to what ipfs-webui does
- open file with
- (B) Run
ipfs repo fsck
- to remove
api
and potential lockfiles and try again (should be safe, technical user can always restore file by hand)
- to remove
- (C) Quit
Metadata
Metadata
Assignees
Labels
No labels