forgot to commit a file whoops

This commit is contained in:
7w1 committed 2026-05-07 14:44:40 -05:00
1 parent c86f8b6e8e
commit ba9e8d055e
2 files changed
+3 -129

No files matched your search

+1 -125
View File
@@ -172,131 +172,7 @@ export const RoomViewFollowing = as<'div', RoomViewFollowingProps>(
</Text>
</>
)}
<Box
as={names.length > 0 ? 'button' : 'div'}
onClick={names.length > 0 ? () => setOpen(true) : undefined}
className={classNames(css.RoomViewFollowing({ clickable: names.length > 0 }), className)}
alignItems="Center"
justifyContent="End"
gap="200"
{...props}
ref={ref}
>
{names.length > 0 && (
<>
<Icon style={{ opacity: config.opacity.P300 }} size="100" src={Icons.CheckTwice} />
<Text size="T300" truncate>
{names.length === 1 && (
<>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[0]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' is following the conversation.'}
</Text>
</>
)}
{names.length === 2 && (
<>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[0]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' and '}
</Text>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[1]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' are following the conversation.'}
</Text>
</>
)}
{names.length === 3 && (
<>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[0]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{', '}
</Text>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[1]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' and '}
</Text>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[2]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' are following the conversation.'}
</Text>
</>
)}
{names.length > 3 && (
<>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[0]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{', '}
</Text>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[1]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{', '}
</Text>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names[2]}</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' and '}
</Text>
<b style={{ WebkitTextFillColor: 'inherit' }}>{names.length - 3} others</b>
<Text
as="span"
size="Inherit"
priority="300"
style={{ WebkitTextFillColor: 'currentColor' }}
>
{' are following the conversation.'}
</Text>
</>
)}
</Text>
</>
)}
</Box>
</>
</Box>
);
}
);
+2 -4
View File
@@ -202,10 +202,8 @@ function processChildren(
isText(next2) &&
next2.data === '>'
) {
const href = (next as Element).attribs.href ?? '';
const content = (next as Element).children
.map((c) => processNode(c, listDepth, insideCode))
.join('');
const href = next.attribs.href ?? '';
const content = next.children.map((c) => processNode(c, listDepth, insideCode)).join('');
out.push(`[${content}](<${href}>)`);
i += 2;
continue;