Skip to content

Recipients: mute chips, link age chips + registration, group by funder - #2054

Open
maebeale wants to merge 3 commits into
mainfrom
maebeale/scholarship-recipients-chips
Open

Recipients: mute chips, link age chips + registration, group by funder#2054
maebeale wants to merge 3 commits into
mainfrom
maebeale/scholarship-recipients-chips

Conversation

@maebeale

@maebeale maebeale commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

🤖 suggested review level: 3 Read 📖 mostly view work, but the shared age-chip partial now links on 5 pages and there's a new dashboard grouping method

Changes to the scholarship recipients page (and the shared chip partials it uses):

  • Muted chips — sector and age chips render in a calm neutral grey here (via a new muted: local on both partials) instead of the loud lime, so they stop pulling focus on a page that's about scholarships.
  • Age chips now filter — they link into the taggings page (category_names_all=) the same way sector chips already do; previously they were plain, non-clickable spans. This applies everywhere the shared/_age_group_tags partial is used, matching the sector chips beside them.
  • Registration link — a ticket icon at the right of each recipient's name opens that person's registration ticket in a new tab.
  • Group by funder — a toggle regroups the roster under a bold dark-fuchsia header per funder (the scholarship's grant donor). The funder name links to the donor's profile (org or person) and shows the donor's city/state (from its first active address, so it works for either donor type). Unfunded and No scholarship yet are pinned last. The now-redundant per-card "Funded by" line is hidden while grouped. Backed by EventDashboard#scholarship_applicants_by_funder.
  • Hide-status switch starts grey/off by default (statuses are shown to start; the switch only lights up fuchsia once you hide them).
  • The recipient card markup moved into events/_recipient_card so the flat and grouped lists share it.

Testing

  • EventDashboard#scholarship_applicants_by_funder grouping/ordering + donor/location specs
  • Recipients request specs: age chips link + muted, registration ticket link, funder header link + city/state, hidden per-card funder line when grouped
  • Existing recipients / people / organizations / tagging-label specs still green

Copilot AI lite review requested due to automatic review settings August 2, 2026 19:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings August 2, 2026 19:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings August 2, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@maebeale
maebeale marked this pull request as ready for review August 2, 2026 22:25
@maebeale
maebeale force-pushed the maebeale/scholarship-recipients-chips branch from 5378a5d to 957eece Compare August 2, 2026 22:26
Copilot AI review requested due to automatic review settings August 2, 2026 22:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

maebeale and others added 3 commits August 4, 2026 01:40
The scholarship recipients page is about scholarships, so the loud lime
sector/age chips were pulling focus. Mute both to a calm neutral grey here,
make the age chips drill into the taggings filter the way sector chips already
do (they were plain, non-clickable spans), add a per-name link to the person's
registration, and add a toggle to group the roster by funder with a header per
funder. The card markup moves into a shared partial so the flat and grouped
lists render it once.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The switch is a "hide" control but rendered fuchsia/on by default even though
nothing is hidden to start, reading as if hiding were active. Tie its on-state
to hidden instead, so it sits grey/off while the status is shown (the default)
and only lights up once hidden.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
When grouped by funder, the header was a faint grey line that didn't read as a
section boundary. Make it a bold dark-fuchsia band, link the funder name to the
donor's profile (org or person), and show the donor's city/state — read from
the donor's first active address so it works for either donor type. Drop the
now-redundant per-card "Funded by" line while grouped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maebeale
maebeale force-pushed the maebeale/scholarship-recipients-chips branch from 957eece to d46b7e6 Compare August 4, 2026 05:41
Copilot AI review requested due to automatic review settings August 4, 2026 05:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants