vicariousdrama / cornychat

🌽 Corny Chat is an open source audio space built on Jam that integrates Nostr and Lightning
https://cornychat.com
GNU Affero General Public License v3.0
15 stars 6 forks source link

[FEATURE] Indication of private and public rooms #73

Open TekkadanPlays opened 2 weeks ago

TekkadanPlays commented 2 weeks ago

Being that rooms are stored via npub, and currently held in a single-file list, I think it would be most beneficial to users to offer an icon somewhere indicating whether the room is public or private. Users may not always remember to check the settings before opening up an old room, and they may not think to see if their room appears on the home page either. Having a visual cue within the room, especially a high contrast (such as black/white, or an icon of a ghost/ostrich to indicate private or public, respectively) may help users from accidentally lingering within a private room.

This same indicator could also be referenced under 'My Rooms'.

If the user has visited a private room, these rooms could also be listed on the main page, beneath open rooms, if they are currently open. This indicator, in conjunction with a separated section, would give a clear indication of which private rooms are currently available, and give the user a more refined sense of when a room is private or public.

An idea for the UI element of this could be an open/closed eyeball in a recognizable position amongst various elements such as:

Example icons:

240_F_302717760_ocCYWSkmvCrK4h1OZ5Yoxz60BkZ5fopJ

vicariousdrama commented 2 weeks ago

I agree with these sentiments. Here are some things I want to do to address this, though I haven't yet done the design work or figured out appropriate icons

The notion of listing private rooms in the live room list seems like a useful one for people that were in that room recently, but I'll need to sort out a good way to discover without incorrectly exposing private rooms to others.