Page MenuHomePhabricator

The current user is not listed first on Special:EventDetails
Closed, ResolvedPublic2 Estimated Story Points

Description

When you're on the event page and open the "more details" dialog, your name is listed first in the (partial) list of participants, following r817313 and related discussions. However, the same is not true for Special:EventDetails, where the current user could be anywhere in the list.

Technically speaking, special-casing the current user would make it easier to implement support for private registration on EventDetails (T319453). It would also be more consistent with the event page. And finally, I think it could help when adding the possibility to change your visibility (as an example, see F35550274, which relies on your name being at the top).

If there are no objections product- and design-wise, I think we should implement this.

Event Timeline

Yes @Daimona, the current user's username should appear first in both More details modal and Event details page.

Yes, the username of the logged in user who is viewing either More Details or EventDetails should appear at the top of the participant list if they are registered for the event. Thanks for catching this discrepancy and writing the ticket!

ifried set the point value for this task to 2.Oct 27 2022, 12:49 PM

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

[mediawiki/extensions/CampaignEvents@master] Make the current user be listed first on EventDetails

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

vyuen changed the task status from Open to In Progress.Oct 31 2022, 4:46 PM
vyuen moved this task from Backlog to V1 (MVP) on the Campaign-Registration board.

Change 850241 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Make the current user be listed first on EventDetails

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

vaughnwalters subscribed.

Participant name is now displaying first on Special:EventDetails

Screen Shot 2022-11-03 at 3.01.51 PM.png (1×2 px, 270 KB)

Screen Shot 2022-11-03 at 3.33.05 PM.png (1×2 px, 284 KB)

Also privately registered participants are correctly displaying first on Special:EventDetails:

Screen Shot 2022-11-03 at 3.42.55 PM.png (1×2 px, 242 KB)

This is functioning correctly so I am moving it to Product sign-off

I am seeing the logged in user who is registered for the event at the top of the participant list for both the 'more details' modal and EventDetails now (see attached screenshots), so I'm marking this as Done.

Screen Shot 2022-11-10 at 9.38.07 AM.png (1×1 px, 192 KB)

Screen Shot 2022-11-10 at 9.38.50 AM.png (1×1 px, 124 KB)