Skip to content

Improve UX when $IPFS_PATH/api exists and API is offline #713

Closed
@lidel

Description

@lidel

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 the config file
  • AND IF multiaddr inside of api file points at remote API which produces ECONNREFUSED 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
  • (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)
  • (C) Quit

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions