[🐴] Add labels to chats (#4293)

* Add labels to chat list

* Add to convo header

* Prevent click through on PostAlert buttons

* Fix space

* Fix alignment
This commit is contained in:
Eric Bailey 2024-05-31 12:14:11 -05:00 committed by GitHub
parent cd3b502b34
commit 2bb3694819
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 74 additions and 44 deletions

View file

@ -23,6 +23,7 @@ import {ConvoMenu} from '#/components/dms/ConvoMenu'
import {Bell2Off_Filled_Corner0_Rounded as BellStroke} from '#/components/icons/Bell2'
import {Link} from '#/components/Link'
import {useMenuControl} from '#/components/Menu'
import {PostAlerts} from '#/components/moderation/PostAlerts'
import {Text} from '#/components/Typography'
export let ChatListItem = ({
@ -264,6 +265,12 @@ function ChatListItemReady({
]}>
{lastMessage}
</Text>
<PostAlerts
modui={moderation.ui('contentList')}
size="large"
style={[a.pt_xs]}
/>
</View>
{convo.unreadCount > 0 && (