Skip to content

feat: show 'Search in progress' derived status on opportunity card #402

@nadavosa

Description

@nadavosa

Summary

Display statusMatch on the opportunity card (volunteer section), and reflect the auto-derived opp-active status. This is the opportunity-side mirror of the volunteer profile's opportunity section.

Status design

opportunity.status (shown on opportunity header)

Value Display How
opp-new New / Needs validation Default
opp-searching Searching Manual (coordinator)
opp-active Active Auto — ≥1 volunteer active
opp-inactive Inactive Manual (coordinator) — see #412 (BE), #87 (SDK)

opportunity.statusMatch (shown in volunteer section of opportunity card)

Value Display
vol-no-matches No match
vol-pending-match Pending match
vol-matched Matched
vol-past Past

FE changes needed

  1. Add statusMatch to opportunity card volunteer section display (badge/label), similar to how volunteer profile shows opportunity status
  2. Use statusMatch from SDK ApiOpportunityGet.statusMatch (available after SDK create volunteer editable profile logic #88)
  3. The opp-active status on the opportunity header is now auto-set by BE — no manual trigger needed from FE

Depends on

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions