Page MenuHomePhabricator

Remove open/close from kebab menu of Special:MyEvents
Closed, ResolvedPublic1 Estimated Story Points

Description

Background: Since we are currently experiencing issues related to the API request for opening/closing events if the event is on a wiki that the user is not currently on, we will remove open/close from the kebab menu for now. The user will still be able to open/close registration if they click on "Edit registration," but we are removing the potential confusion and redundancy of having an option on the kebab menu that brings the user to the same place as another option on the kebab menu (i.e., "Edit"). However, in the future, we may choose to add the open/close to the kebab menu again if we resolve the current issues we are experiencing with the API request.

Acceptance Criteria:

  • Given an event organizer goes to Special:MyEvents and clicks on the three dots
    • They should not see open/close registration in the kebab menu
      • And this applies to whether they are on the wiki where the event was created or a foreign wiki/a wiki where the event was not created

Event Timeline

ifried renamed this task from Open/close (kebab menu): check if the event page belongs to the wiki where the organizer is trying to delete event to Open/close (kebab menu): check if the event page belongs to the wiki where the organizer is trying to open/close event.Apr 3 2024, 2:40 PM
ifried renamed this task from Open/close (kebab menu): check if the event page belongs to the wiki where the organizer is trying to open/close event to Remove open/close from kebab menu.Apr 3 2024, 2:44 PM
ifried renamed this task from Remove open/close from kebab menu to Remove open/close from kebab menu of Special:MyEvents.
ifried updated the task description. (Show Details)
Daimona changed the task status from Stalled to Open.Apr 4 2024, 2:32 PM
cmelo changed the task status from Open to In Progress.Apr 12 2024, 8:08 AM
cmelo claimed this task.

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

[mediawiki/extensions/CampaignEvents@master] Remove open/close option from kebab menu

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

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

[mediawiki/extensions/CampaignEvents@master] Remove open/close option from kebab menu

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

Change #1019228 abandoned by Cmelo:

[mediawiki/extensions/CampaignEvents@master] Remove open/close option from kebab menu

Reason:

no longer deleting this code, because we will add this option again

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

Change #1019807 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Remove open/close option from kebab menu

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

vaughnwalters subscribed.

Given an event organizer goes to Special:MyEvents and clicks on the three dots
✅ They should not see open/close registration in the kebab menu
✅ And this applies to whether they are on the wiki where the event was created or a foreign wiki/a wiki where the event was not created

Screen Recording 2024-04-24 at 1.55.42 PM.gif (1×2 px, 1 MB)

This is functioning as expected - the open/close registration has been removed from the kebab menu on events where the wiki was created and events where the wiki was not created. Marking this as done / resolved.