Clarify vouch/praise logic with tooltips

BUSINESS LOGIC CLARIFICATION:
- Non-members can RECEIVE vouches/praises from NAO members (builds reputation)
- Non-members cannot CREATE vouches/praises (must be NAO member)
- NAO members can both give and receive vouches/praises

TOOLTIP UPDATES:
- Members: "Vouches given and received" / "Praises given and received"
- Non-members: "Vouches received from NAO members" / "Praises received from NAO members"

This allows reputation building for contacts before they join NAO while maintaining
the integrity that only verified NAO members can create vouches/praises.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
main
Claude Code Assistant 2 months ago
parent 1865362c06
commit f3097d7e3c
  1. 4
      src/pages/ContactListPage.tsx

@ -349,12 +349,13 @@ const ContactListPage = () => {
) : null; ) : null;
})()} })()}
{/* Vouch and Praise Indicators */} {/* Vouch and Praise Indicators - Show received vouches/praises for everyone */}
<Chip <Chip
icon={<VerifiedUser sx={{ fontSize: 14 }} />} icon={<VerifiedUser sx={{ fontSize: 14 }} />}
label="2" label="2"
size="small" size="small"
variant="outlined" variant="outlined"
title={contact.naoStatus === 'member' ? 'Vouches given and received' : 'Vouches received from NAO members'}
sx={{ sx={{
fontSize: '0.75rem', fontSize: '0.75rem',
height: 20, height: 20,
@ -372,6 +373,7 @@ const ContactListPage = () => {
label="3" label="3"
size="small" size="small"
variant="outlined" variant="outlined"
title={contact.naoStatus === 'member' ? 'Praises given and received' : 'Praises received from NAO members'}
sx={{ sx={{
fontSize: '0.75rem', fontSize: '0.75rem',
height: 20, height: 20,

Loading…
Cancel
Save