Improve UX when $IPFS_PATH/api exists and API is offline
See original GitHub issueThe $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
- © Quit
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Offline UX design guidelines - web.dev
This article provides design guidelines on how to create a great experience on both slow networks and offline.
Read more >3 Ways to Enhance UX with API Integrations - UpTop Health
UX designers should leverage API interface design to go beyond just front-end development. Learn 3 ways to to address the full spectrum of...
Read more >Offline: When Your Apps Can't Connect to the Internet
Everyone experiences the frustration of being offline. When you design a mobile app ... When offline, apps can use this content to improve...
Read more >Design APIs like you design User Experience - Medium
User Experience (UX) is the value that you provide to your users when ... Learn to design better APIs using concepts and processes...
Read more >10 Tips to Improve Your Website's User Experience - Adoric
Learn how to improve your website's user experience. There are many benefits to it: better user engagement, higher ranking on Google, etc.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lidel that error might be caused by this line which will be removed as soon as the CORS PR (#738) is merged 😄 So it won’t be a problem as we won’t be testing the existence of any files.
That case is already solved. I’m closing this for now since we’ve already added the necessary logic for the scenarios here described.