arj03 / ssb-browser-demo

A secure scuttlebutt client interface running in the browser
Other
58 stars 11 forks source link

Add 'Send Message' button to Profile pages #71

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

Adds a 'Send Message' button to Profile pages. Also fixes issue with Private tab where if you refreshed the page while you were on the Private tab, it would not load the options for the Recipients list because it tried to do the query before being connected to a peer.

Fixes #61.

KyleMaas commented 3 years ago

That worked considerably better and is a much more elegant solution I didn't know about. As such, I modularized that into a SSB.getProfileAsync() function so it can be reused later.

arj03 commented 3 years ago

Yes, this is a lot better :) Before I hit merge I want to check why getting the profiles are so slow.

arj03 commented 3 years ago

So the profiles are slow are going to require some more backend work, so lets just merge this for now.

KyleMaas commented 3 years ago

Thanks - there were a few things I was waiting to try to take care of because of how many open branches I had open. Been trying to keep from causing merge conflicts between them.

arj03 commented 3 years ago

:)

arj03 commented 3 years ago

This is pretty nice I must say!

KyleMaas commented 3 years ago

Thanks!