Page MenuHomePhabricator

Add event type to Collaboration List
Closed, ResolvedPublic2 Estimated Story Points

Description

User story

As an organizer, I want the event types to be searchable, filterable, and at least displayed in abridged form in the Collaboration List, so that anyone who is interested can easily learn about which event types are covered by the event and then decide to learn more about it or join it as a result.

As a contributor, I want to know which event types are covered by the event, so that I can decide if I want to join it or learn more about it.

Acceptance Criteria:

  • Given that a user is on the Collaboration List,
    • There should be a new section under participation options that is for event types
      • Event types should be listed alphabetically
      • Label should be "Event types"
  • For icons for the event types: folderplaceholder
  • Add a feature flag

Visual example of collaboration list now:

Note that we will need to add filter for event type and a line for event type in the event listing

Screenshot 2025-05-06 at 11.11.16 AM.png (1×1 px, 163 KB)

Event Timeline

ifried updated the task description. (Show Details)

Questions to figure out for design include:

  • What icon is used to represent event types?
  • Where/how to display event type in each individual event listing?

Desired behavior for filtering:

  • User should be able to search for multiple event type at the same time (for example, search for editing events and photo upload events). This means it can probably work similarly to how people add wikis or topics to filter for in the Collaboration List.
  • Filters works as an OR rather than AND

Change #1146817 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] Add event type to Collaboration List

https://gerrit.wikimedia.org/r/1146817

Change #1146817 abandoned by Cmelo:

[mediawiki/extensions/CampaignEvents@master] Add event type to Collaboration List

Reason:

Created by mistake, there is already someone working on it

https://gerrit.wikimedia.org/r/1146817

Filtering for Event type was discussed in another task -- see T386275: Allow user to filter for event types on Collaboration List

For the singular event type listing, we would show the icon for Event type + the type (see screenshot example). If there's more than one event type then separate with commas and alphabetically (e.g. Editing event, Workshop)

Group 5394 (1).png (202×1 px, 21 KB)

ifried updated the task description. (Show Details)
ifried added subscribers: MHorsey-WMF, cmelo, Daimona.

@cmelo @Daimona @MHorsey-WMF:

See designs in the comment above - let us know if you have any concerns or if this is ready to be worked on (moved to ready)

See designs in the comment above - let us know if you have any concerns or if this is ready to be worked on (moved to ready)

Sure, looks good to me, thank you!

The icon will need an accessibility label for screen readers and mouse hover. Can we use "Event types"?

@Daimona, yes, we can use "Event types" for label

Change #1155215 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Add event types to collaboration list rows

https://gerrit.wikimedia.org/r/1155215

@ifried the AC says "there should be a new section under location information that is for event types" but we do not have a location section in the current design.

The screenshots attached to the ticket show the new section beneath the admin name.

@Daimona interpreted "location information" to mean participation options which is currently indicated with a map pin icon, I am inclined to agree but would appreciate your confirmation.

thanks!

Change #1155215 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add event types to collaboration list rows

https://gerrit.wikimedia.org/r/1155215

confirmed that i approve of suggestions above

vaughnwalters subscribed.

Acceptance Criteria:

  • ✅ Given that a user is on the Collaboration List,
    • ✅ There should be a new section under location information that is for event types
      • ✅ Event types should be listed alphabetically
      • ✅ Label should be "Event types"
        Screenshot 2025-06-13 at 12.38.46 PM.png (32×1 px, 25 KB)
  • ✅ For icons for the event types: folderplaceholder
    Screenshot 2025-06-13 at 12.40.41 PM.png (106×1 px, 42 KB)
  • ✅ Add a feature flag
    • $wgCampaignEventsEnableEventTypes = true;

Screenshot 2025-06-13 at 12.36.02 PM.png (1×1 px, 157 KB)

Looks good, AC met, sending to design sign off