payjoin / nolooking

Batched Channels from a PayJoin ⚡️🔀
41 stars 8 forks source link

Display payjoin errors within the UI #50

Closed nickfarrow closed 1 year ago

nickfarrow commented 1 year ago

It would be great for UX and testing if we could see errors within the UI.

Usually this would not be so important for testing, since you can just read the logs. However fetching the logs on umbrel is very slow and makes for a bad experience when payjoins are failing.

A user should be able to know immediately if a node rejected a channel for , e.g. too small.

DanGould commented 1 year ago

I think it makes the most sense to keep the errors via Push API (Service Workers), but that requires https so I'm not sure it's going to work in the umbrel environment. Without a service worker, if an error propagates while you're not looking at the web page you're going to miss it unless it's stored on the server until requested.

0xBEEFCAF3 commented 1 year ago

Can we use web sockets or worse-case polling? The first thing the webapp does is acquire pj state.

DanGould commented 1 year ago

payjoin receiver errors are sent back to the sender which is done now in #57.

to show them in the receiver it sounds like Armin's on the right track

DanGould commented 1 year ago

closed by #93