Page MenuHomePhabricator

Show country on event details modal
Closed, ResolvedPublic

Description

User story

As an organizer, I want the event country displayed in More Details, so that anyone who is interested can easily learn about the event locationand then decide to learn more about it or join it as a result.

As a contributor, I want to know the event location, so that I can decide if I want to join it or learn more about it.

Design

moredetails_ (1).png (696×701 px, 67 KB)

Figma file

Acceptance Criteria:
  • Given a user is on the event page and click on "More Details"
    • And the event is In Person or Hybrid
      • Then the user must see the country name
      • And the country name must be in their language
    • And if there is no address,
      • Display the country (if there is one),
      • And then display the following text below: "The venue location has not yet been shared by the organizers."

Event Timeline

In T313354, we made address and country optional. We also added a message along the lines of The venue address will be made available by the organizers when an event has no address and no country. Now we are making the country a required field for in-person events, so the previous condition (no address AND no country) will never be true. Therefore, we need to decide when the "venue not available" message is shown. The logical choice is to show it when there is no address, but then would we also display the country below the message? And any special style or separation between the two?

AC updated to specify handling in cases when there is no address.

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

[mediawiki/extensions/CampaignEvents@master] Modify Event Formatter to display message when address is not set

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

Change #1172028 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Modify Event Formatter to display message when address is not set

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

vaughnwalters subscribed.
Acceptance Criteria:
  • Given a user is on the event page and click on "More Details"
    • And the event is In Person or Hybrid
      • ✅ Then the user must see the country name
In personHybrid
Screenshot 2025-07-28 at 5.56.29 PM.png (1×1 px, 155 KB)
Screenshot 2025-07-28 at 5.55.58 PM.png (1×1 px, 184 KB)
    • And the country name must be in their language QA note - this line needs to be removed from the AC and will not happen until the migration to country dropdown happens
  • And if there is no address,
    • ✅ Display the country (if there is one),
    • ✅ And then display the following text below: "The venue location has not yet been shared by the organizers."
In personHybrid
Screenshot 2025-07-28 at 6.05.06 PM.png (1×1 px, 161 KB)
Screenshot 2025-07-28 at 6.05.31 PM.png (1×1 px, 177 KB)

AC met, sending to design sign off.

This is released and working as expected. Marking it as done.