Skip to content

fix: show accompanying activity as inline detail on opportunity card#602

Open
Cy-fox wants to merge 1 commit into
need4deed-org:developfrom
Cy-fox:fix/accompanying-activity-inline-detail-588
Open

fix: show accompanying activity as inline detail on opportunity card#602
Cy-fox wants to merge 1 commit into
need4deed-org:developfrom
Cy-fox:fix/accompanying-activity-inline-detail-588

Conversation

@Cy-fox
Copy link
Copy Markdown
Collaborator

@Cy-fox Cy-fox commented Jun 6, 2026

Closes #588

On accompanying opportunity cards, the activity name (e.g. "Accompanying to government appointments") was rendering as a full-width orange tag inside the Activities section. Long activity strings break the tag layout, resulting in a single oversized tag that dominates the card body and is redundant with the "Accompanying" badge already shown in the header.

This fix detects when volunteerType is ACCOMPANYING and replaces the Tags block with a plain CardParagraph row, using the same visual style as the Date of Appointment and District rows. Regular (non-accompanying) cards are unchanged.

Changes:

  • Added PersonSimpleWalk to the IconName enum and iconNameMap in icon.tsx
  • In OpportunityCard.tsx, conditionally render the activity as a CardDetail with CardParagraph text (accompanying) or the existing Tags component (all other types)

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.

fix: opportunity card — show accompanying activity as a proper inline detail, not an oversized tag

1 participant