arj03 / ssb-browser-demo

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

Go to profile by name #188

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

If you type an "@" in the upper right search box, it pops up a list of suggestions for profile names. If you type in a profile name and hit enter or click one of the suggestions, it will take you to the corresponding profile.

Fixes #173.

arj03 commented 3 years ago

This is working great. Really nice feature, could have used this yesterday when I was creating a ton of groups. The search box now floats a bit wierdly:

image

How does that look for you?

KyleMaas commented 3 years ago

I had that periodically as well. That row is just too cramped. I had to wrap the box and suggestion popup in several layers of <div>s to get the positioning right, but that box should stay on the same line when there's enough space for it to do so. We might need to shrink that box down some more. Or have it expand and cover the menu when clicked. (Thinking about it, this might be the better way to do it and would alleviate some of the crowding of that line.)