Page MenuHomePhabricator

Check if the event page belongs to the wiki where the user is trying to access on Special:EventDetails/{eventID}
Closed, ResolvedPublic3 Estimated Story Points

Description

As an organizer who accesses EventDetails on a foreign wiki, I only want to see the information that I can easily view and access and receive guidance on how to view/access the rest of the information/features, so that I am not confused by what is available to me and can easily take next steps based on which actions I want to perform.

Acceptance Criteria:

  • Given an organizer goes to the Special:EventDetails/{eventID}
    • And the event ID does not belong to the wiki where the user is trying to access the page
      • They should see the view that all users see (i.e., not organizer view) with only the EventDetails & Participants tab
      • And they should not see privately registered participants
      • And if there is a meeting or chat URL associated with the event,
        • They should see the following text with a link to the event page: "View on [wiki where event was created]”
      • And they should see a header text that states: "You are currently viewing a limited version of this page. Please visit this page on [wiki name], the wiki where the event was created, to access the full event details and additional features."
        • Then we must redirect the user to the wiki where the registration was created

Design
Design specs

image.png (2×2 px, 362 KB)

Copy - updated from original design by Ilana on March 21: "You are currently viewing a limited version of this page. Please visit this page on [wiki name], the wiki where the event was created, to access the full event details and additional features."

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

We should only redirect if the page is being accessed by an organiser. I will update AC.

I explored various ways to inform/redirect the organizer to the wiki where the event was created.

  1. Organizer sees the same view as participants: It would not be clear to organizers why the actions that are normally on these pages aren’t there. Hence the need for the notice at the top. Participants don’t normally see the Message tab and Response stats tab hence only the notice is shown on those pages.
  1. Disable all actions and show a message when they hover over them
  1. Leave all actions in the default state and show a message when clicked

Option 1 seems to be the best option because of its simplicity. We can also examine whether the notice alone will suffice in the Event details tab and Participants list without showing the event details or participant list.

View the design explorations on Figma for a better view.

image.png (6×6 px, 1 MB)

cc @ifried @cmelo @Daimona

@ifried @cmelo @Daimona Don't forget to drop your feedback on the above

Hello, @gonyeahialam!

I have discussed this with @cmelo, and we both think that Option 1 is the best choice for a few reasons, which are:

  1. From a user perspective, it would seem frustrating to see certain actions but have them disabled (i.e., the behavior in option 2). We think it would be a better user experience to just be told where to go in order to be able to commit certain actions (i.e., option 1).
  2. From a technical perspective, option 1 is the easiest.
  3. Option 3 is different behaviors than redirects than what we are currently implementing, so there would be a mismatch in the user experience.

How does this sound to you? What do you think?

I also think option 1 is our best choice at the moment.

@ifried I agree also. I will work on finalising the copies and share with the team

Here is the updated copy
Event details

You are currently viewing a limited version of the Event details page. Please visit this page on [wiki name], the wiki where the event was created to see the complete details of your event and perform more actions.

image.png (2×2 px, 366 KB)

Participant list

You are currently viewing a limited version of the Participants page. Please visit this page on [wiki name], the wiki where the event was created to see the complete participant list and perform more actions.

image.png (1×1 px, 118 KB)

Message page

Please visit the Message page on [wiki name], the wiki where the event was created to message your event participants.

Response statistics

Please visit the Response statistics page on [wiki name], the wiki where the event was created.

View the updated designs here.

Updated design based on feedback from Engineering-Design Meeting.

Instead of having a notice for each tab, have a central notice for the page

image.png (2×2 px, 363 KB)

Updated copy:

You are currently viewing a limited version of this page. Please visit this page on [wiki name], the wiki where the event was created to access the full event details and explore additional features.

@cmelo @Daimona Let me know if you have additional feedback.

ifried set the point value for this task to 2.
ifried changed the point value for this task from 2 to 3.
cmelo changed the task status from Open to In Progress.Mar 21 2024, 5:49 PM
cmelo claimed this task.
ifried updated the task description. (Show Details)

Note that I have made some tweaks to the copy, @gonyeahialam. One is a small grammatical fix (i.e., adding a comma after "created"), and I removed the word "explore," which I found unnecessary and a bit vague. What do you think of these changes?

Hi @ifried I am wondering if I should hide the chat or not because the AC says:
They should see the view that all users see (i.e., not organizer view) with only the EventDetails & Participants tab

I am wondering if all users means "Registered Participants" or really any user, including not logged-in users.

I am asking this because, if I am not a registered participant, I can't see the chat URL

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

[mediawiki/extensions/CampaignEvents@master] Add notice message in case an organizer access event details on a another wiki

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

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

[mediawiki/extensions/WikimediaCampaignEvents@master] Don't show grant id if not local wiki

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

Change #1019303 merged by Mhorsey:

[mediawiki/extensions/WikimediaCampaignEvents@master] Don't show grant id if not local wiki

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

Change #1014494 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add notice message in case an organizer access event details on another wiki

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

Change #1023473 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] SpecialEventDetails: minor fixes for multi-wiki support

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

Change #1023473 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] SpecialEventDetails: minor fixes for multi-wiki support

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

vaughnwalters subscribed.

Acceptance Criteria:

Given an organizer goes to the Special:EventDetails/{eventID}

  • And the event ID does not belong to the wiki where the user is trying to access the page
    • ❓ They should see the view that all users see (i.e., not organizer view) with only the EventDetails & Participants tab
participant on left, organizer on right
Screenshot 2024-04-25 at 4.08.56 PM.png (1×3 px, 559 KB)
    • @cmelo Organizers do correctly see only the Event details tab and Participants tab, but is there a reason that we would show the actual link to the Online event and Chat group invite link to the participants of an event on any wiki where it was not created, but would not show the actual link to the Online event and Chat group invite link to the organizers of an event on any wiki where it was not created? I feel that if we show this link to the participants on a wiki where it was not created, then we should also show that link to the organizers on a wiki where it was not created.
  • Screenshot 2024-04-25 at 4.06.46 PM.png (1×1 px, 130 KB)
  • ❌ And they should not see privately registered participants
    • Screenshot 2024-04-25 at 3.58.15 PM.png (1×1 px, 168 KB)
    • @cmelo currently organizers can see privately registered participants on wikis where the event was not created
  • And if there is a meeting or chat URL associated with the event,
    • ✅ They should see the following text with a link to the event page: "View on [wiki where event was created]”
      • Screenshot 2024-04-25 at 4.05.12 PM.png (406×786 px, 45 KB)
  • ✅ And they should see a header text that states: "You are currently viewing a limited version of this page. Please visit this page on [wiki name], the wiki where the event was created, to access the full event details and additional features."
    • Screenshot 2024-04-25 at 4.05.32 PM.png (220×1 px, 56 KB)
    • ✅ Then we must redirect the user to the wiki where the registration was created
      • Screen Recording 2024-04-25 at 4.18.42 PM.gif (1×1 px, 474 KB)


Moving this back to tech input with a couple of QA notes - one is something that needs fixed still (private participants displaying in the wiki where the event was not created) and one is an inconsistency that might be a product decision.

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

[mediawiki/extensions/CampaignEvents@master] Hide chat and meet link for organizers and participants

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

Change #1025149 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Hide chat and meet link for organizers and participants

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

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

[mediawiki/extensions/CampaignEvents@master] Don't show private participants if event is not local

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

Change #1026101 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Don't show private participants if event is not local

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

Change #1026121 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Don't show private participants if event is not local

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

Moving this back to code review for now as it has an open patch on it.

Change #1026121 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Don't show private participants if event is not local

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


  • ❌ And they should not see privately registered participants
    • Screenshot 2024-04-25 at 3.58.15 PM.png (1×1 px, 168 KB)
    • @cmelo currently organizers can see privately registered participants on wikis where the event was not created

✅ Organizers no longer see privately registered participants on wiki where the event was not created

Screenshot 2024-05-03 at 11.00.44 AM.png (1×1 px, 179 KB)


Given an organizer goes to the Special:EventDetails/{eventID}

  • And the event ID does not belong to the wiki where the user is trying to access the page
    • ❓ They should see the view that all users see (i.e., not organizer view) with only the EventDetails & Participants tab
participant on left, organizer on right
Screenshot 2024-04-25 at 4.08.56 PM.png (1×3 px, 559 KB)
  • @cmelo Organizers do correctly see only the Event details tab and Participants tab, but is there a reason that we would show the actual link to the Online event and Chat group invite link to the participants of an event on any wiki where it was not created, but would not show the actual link to the Online event and Chat group invite link to the organizers of an event on any wiki where it was not created? I feel that if we show this link to the participants on a wiki where it was not created, then we should also show that link to the organizers on a wiki where it was not created.

❌ The Online event and Chat group invite link do not display correctly now for participants of the event on any wiki where it was not created. See image below:

Screenshot 2024-05-03 at 10.52.28 AM.png (1×1 px, 167 KB)


Change #1026990 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] SpecialEventDetails: fix chat and meeting links on foreign wikis

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

Change #1026990 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] SpecialEventDetails: fix chat and meeting links on foreign wikis

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

❌ The Online event and Chat group invite link do not display correctly now for participants of the event on any wiki where it was not created. See image below:

Screenshot 2024-05-03 at 10.52.28 AM.png (1×1 px, 167 KB)


This is fixed now, and this was the last remaining issue so I am sending this to design sign off.

✅ They should see the following text with a link to the event page: "View on [wiki where event was created]”

Screenshot 2024-05-07 at 1.16.47 PM.png (1×2 px, 245 KB)

We have finished the global implementation work and we have released the extension to another wiki (Igbo Wikipedia), so I'm marking this work as Done.