Sammy/t 362 on people view when i click on comment bubble icon row level (#202)

* test: add empty comment test

* test: comments section opens on click on comments chip

* test: add a failing test for opening comment section

* feature: open comments drawer on click on comment chip

* test: refactor company test, create folders
This commit is contained in:
Sammy Teillet
2023-06-06 14:34:35 +02:00
committed by GitHub
parent 2315504ee4
commit 86e00c3a03
6 changed files with 88 additions and 4 deletions

View File

@ -51,7 +51,7 @@ export function CommentChip({ count, onClick }: CommentChipProps) {
const formattedCount = count > 99 ? '99+' : count;
return (
<StyledChip onClick={onClick}>
<StyledChip data-testid="comment-chip" onClick={onClick}>
<StyledCount>{formattedCount}</StyledCount>
<IconComment size={12} />
</StyledChip>