Issue Details
Description: On the Referral Detail screen, show a chronological timeline of status changes (Applied, Pending, Accepted, Rejected, Filled/Closed) with timestamps and (optionally) who made the change.
Proposed plan:
Backend: Create a ReferralTimeline (or embed timeline events) and write timeline entries whenever applyForReferral, acceptReferral, rejectReferral, or status closes occur.
API: Add endpoint like GET /api/referrals/:id/timeline.
Frontend: Update ReferralDetail.jsx to render timeline UI (date + action).
Validation: Ensure only the poster/admin can accept/reject, only applicants can apply, and timeline is append-only.
Issue Details
Description: On the Referral Detail screen, show a chronological timeline of status changes (Applied, Pending, Accepted, Rejected, Filled/Closed) with timestamps and (optionally) who made the change.
Proposed plan:
Backend: Create a ReferralTimeline (or embed timeline events) and write timeline entries whenever applyForReferral, acceptReferral, rejectReferral, or status closes occur.
API: Add endpoint like GET /api/referrals/:id/timeline.
Frontend: Update ReferralDetail.jsx to render timeline UI (date + action).
Validation: Ensure only the poster/admin can accept/reject, only applicants can apply, and timeline is append-only.