diff --git a/frontend/src/pages/MeetingsPage.jsx b/frontend/src/pages/MeetingsPage.jsx index bcc1cdb..0763adc 100644 --- a/frontend/src/pages/MeetingsPage.jsx +++ b/frontend/src/pages/MeetingsPage.jsx @@ -107,8 +107,18 @@ function MeetingCard({ meeting, user, onChanged }) { return (
-

{meeting.title}

- {isAuthor && your meeting} + {/* Title and badges are grouped so the badges stay right next to the + title instead of being pushed to the far edge. */} +
+

{meeting.title}

+ {isAuthor && your meeting} + {/* Brief, colour-coded reminder of the viewer's own vote. */} + {meeting.myVote && ( + + {meeting.myVote === 'join' ? 'will join' : 'will skip'} + + )} +
{meeting.intent &&

{meeting.intent}

} @@ -135,7 +145,7 @@ function MeetingCard({ meeting, user, onChanged }) { className={`pill decline ${showVoters === 'decline' ? 'open' : ''}`} onClick={() => setShowVoters((v) => (v === 'decline' ? null : 'decline'))} > - {meeting.declineCount} not joining + {meeting.declineCount} skipping
@@ -159,20 +169,18 @@ function MeetingCard({ meeting, user, onChanged }) { Join room )} - - + {/* The vote buttons are replaced by a confirmation note (above) once a + vote is cast. Retracting brings the buttons back. */} + {!meeting.myVote && ( + <> + + + + )} {meeting.myVote && (