Skip to content

feat: Opportunities table, green "matched" badge and matched volunteer name#685

Merged
need4deed merged 6 commits into
developfrom
ivannissimrch/#684/feat/opp-matched-indicator
Jun 16, 2026
Merged

feat: Opportunities table, green "matched" badge and matched volunteer name#685
need4deed merged 6 commits into
developfrom
ivannissimrch/#684/feat/opp-matched-indicator

Conversation

@ivannissimrch

Copy link
Copy Markdown
Collaborator

Description

When an opportunity is matched, show a green "Matched" badge on the status math cell and the matched volunteer's name in place of the "volunteers needed" number, so coordinators can scan the table and instantly see what's matched.

Related Issues

Closes #684

Changes

  • Green "Matched" badge in the matching-status cell (green-100, matches the profile's matched style)
  • Matched volunteer first name(s) shown in place of the "volunteers needed" number
  • isMatched is derived from volunteerNames.length (matched-only) since the status match is only returning no matches.
  • SDK bump to 0.0.107 (for volunteerNames)
  • Column width tweaks (statusMatch, numberOfVolunteers) to allow more space for names

Screenshots / Demos

Screenshot from 2026-06-15 22-06-04

Checklist

  • WITHIN THE SCOPE OF AN ISSUE; No unnecessary files included
  • Tests added/updated
  • Documentation updated
  • CI passes

@ivannissimrch

Copy link
Copy Markdown
Collaborator Author

@nadavosa I have 2 style questions

  1. Badge vs full cell: You said "square green" in standup; I went with a green badge as the profile uses, because filling the whole cell broke the row hover and borders. Is the badge ok, or do you want the whole cell filled green?

  2. Multiple matched volunteers: an opp can have several matches. Right now I show all their first names joined ("Jane, John"). Do you want that, or just one name with "+N" ("Jane +1")?

FYI, "matched" is derived from the matched volunteer names the BE sends, since statusMatch still returns "no matches" for everything for now.

@need4deed

Copy link
Copy Markdown
Contributor

@ivannissimrch badge is great, +1 too

@need4deed

need4deed commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

need4deed-org/be#691
@ivannissimrch BE is ready with mathcing status

@ivannissimrch

Copy link
Copy Markdown
Collaborator Author

@nadavosa, I just switched to statusMatch and the +N format.
One more question: the matched badge currently shows only in the admin/coordinator view, not the NGO view. Should NGOs see "matched" too, or keep it admin/coordinator only?

@need4deed

Copy link
Copy Markdown
Contributor

lets keep it with coordinators- admin for now @ivannissimrch

@need4deed

Copy link
Copy Markdown
Contributor

looks good, im merging ok? @ivannissimrch

@ivannissimrch

Copy link
Copy Markdown
Collaborator Author

Ok. 👌🏼

@need4deed need4deed merged commit 6a8bcd1 into develop Jun 16, 2026
1 check passed
@need4deed need4deed deleted the ivannissimrch/#684/feat/opp-matched-indicator branch June 16, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Opportunities table, green "matched" indicator and matched volunteer name

2 participants