TryQuiet / quiet

A private, p2p alternative to Slack and Discord built on Tor & IPFS
https://www.tryquiet.org
GNU General Public License v3.0
1.94k stars 85 forks source link

Community name should display #34

Closed holmesworcester closed 2 years ago

holmesworcester commented 2 years ago

The community name should display in the top left where we currently display the user name.

We should validate community name length so that it displays correctly, or truncate it with CSS in a clear way (e.g. with ellipses like "longcommunityna...")

The first letter of the community name should be forced to be capitalized. (That's what we're doing in the design, at least.)

Here's the design:

https://www.figma.com/file/qwkBkjAbewMd4Ze6UW1rk3/Communities?node-id=266%3A695

(Ignore the left sidebar for now, since we don't have multiple communities yet)

This name area should never be empty, so on first run we should show the loading spinner until we have a community name.

Only the admin should be able to add a community name to orbitdb / waggle, and they should not be able to change it, or we should ignore changes (e.g. use log and just look at first entry.)

vinkabuki commented 2 years ago

https://github.com/ZbayApp/monorepo/pull/151

kingalg commented 2 years ago

The first letter of the community name should be forced to be capitalized. (That's what we're doing in the design, at least.) - this point is not done correctly (as you can see on the screen below)

image