Make the user list for a badge more similar to the global Users page

AI-generated summary

The discussion is about making the user list for a badge more similar to the global Users page erlend_sh. The suggestion is to add sorting options such as alphabetically, by last active, and by badge grant date. downey also proposes a drop-down list to select the badge to display. Although codinghorror questions the necessity of sorting, erlend_sh and downey argue that it would be useful for managing badges, such as those issued for events or programs. codinghorror notes that date is the default sort, but the discussion is ongoing.

Continuing the discussion from User directory feedback.

The new public users directory is great. Could we please have a similar layout for bagdes’ user pages?

Users Page:

Badges Page:

Some basic sorting would suffice:

  • Sort alphabetically

  • Sort by last active

  • Sort by badge grant date

6 Curtiram

A drop-down list where the date period is (but to select the badge to display) would be nice too rather than requiring the user to flip back and forth between the badge list page and the recipient lists.

2 Curtiram

Why would sorting be needed here?

The sorting isn’t super important, but I imagined reusing the users page template would mean very little new code, and might also mean less corner cases to worry about in custom themes.

Example: We issue badges for GSoC students, and it’d be nice to sort by date (or filter) to see when people got that badge. We also have badges for people who attend various events, and the same holds true there.

1 Curtiu

Date is the default sort so…