Skip to content

Commit

Permalink
Merge pull request #307 from TogetherCrew/fix/tooltip-copies
Browse files Browse the repository at this point in the history
fix copies in tooltips
  • Loading branch information
cyri113 authored May 3, 2024
2 parents cf9ae9b + 37d72fc commit 94ef88f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
18 changes: 10 additions & 8 deletions src/components/pages/pageIndex/ActiveMemberComposition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,7 @@ const ActiveMemberComposition = () => {
customBackground: true,
tooltipText: (
<>
<span>Interactions are all messages that:</span>
<ol className='list-disc pl-8'>
<li>mention someone</li>
<li>receive a reply</li>
<li>receive a reaction</li>
<li>happen in a thread</li>
</ol>
<p>Messages without replies or reactions are not counted.</p>
<span>Posting means any message in a channel or thread.</span>
</>
),
},
Expand Down Expand Up @@ -88,6 +81,15 @@ const ActiveMemberComposition = () => {
<span>
Active member = at least 5 interactions with 5 other members.
</span>
<br />
<span>Interactions are all messages that:</span>
<ol className='list-disc pl-8'>
<li>mention someone</li>
<li>receive a reply</li>
<li>receive a reaction</li>
<li>happen in a thread</li>
</ol>
<p>Messages without replies or reactions are not counted.</p>
</>
),
},
Expand Down
18 changes: 10 additions & 8 deletions src/components/pages/statistics/ActiveMembersComposition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,7 @@ export default function ActiveMembersComposition({
customBackground: false,
tooltipText: (
<>
<span>Interactions are all messages that:</span>
<ol className='list-disc pl-8'>
<li>mention someone</li>
<li>receive a reply</li>
<li>receive a reaction</li>
<li>happen in a thread</li>
</ol>
<p>Messages without replies or reactions are not counted.</p>
<span>Posting means any message in a channel or thread.</span>
</>
),
},
Expand Down Expand Up @@ -183,6 +176,15 @@ export default function ActiveMembersComposition({
<span>
Active member = at least 5 interactions with 5 other members.
</span>
<br />
<span>Interactions are all messages that:</span>
<ol className='list-disc pl-8'>
<li>mention someone</li>
<li>receive a reply</li>
<li>receive a reaction</li>
<li>happen in a thread</li>
</ol>
<p>Messages without replies or reactions are not counted.</p>
</>
),
},
Expand Down
18 changes: 10 additions & 8 deletions src/components/pages/statistics/DisengagedMembersComposition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,7 @@ export default function DisengagedMembersComposition({
hasTooltip: true,
tooltipText: (
<>
<span>Interactions are all messages that:</span>
<ol className='list-disc pl-8'>
<li>mention someone</li>
<li>receive a reply</li>
<li>receive a reaction</li>
<li>happen in a thread</li>
</ol>
<p>Messages without replies or reactions are not counted.</p>
<span>Posting means any message in a channel or thread.</span>
</>
),
},
Expand Down Expand Up @@ -178,6 +171,15 @@ export default function DisengagedMembersComposition({
<span>
Active member = at least 5 interactions with 5 other members.
</span>
<br />
<span>Interactions are all messages that:</span>
<ol className='list-disc pl-8'>
<li>mention someone</li>
<li>receive a reply</li>
<li>receive a reaction</li>
<li>happen in a thread</li>
</ol>
<p>Messages without replies or reactions are not counted.</p>
</>
),
},
Expand Down

0 comments on commit 94ef88f

Please sign in to comment.