Page MenuHomePhabricator

Organizer side: Implement support for private registration UI in registration modal
Closed, ResolvedPublic3 Estimated Story Points

Description

NOTE: This ticket does NOT include any interactions for the participant to switch between public and private registration. It is read-only. We will handle switching between registration status separately.

As a campaign organizer, if a participant registers privately, I want their username to only be displayed to them and other campaign organizers in the 'more details' modal, so that I can register with confidentiality.

Acceptance Criteria:

  • Given a participant registers publicly
    • When viewing the participant list as an organizer
      • Then their username should be displayed to everyone
      • And they should be included in the registered users count
      • And they should not be included in the privately registered users count
  • Given that there are privately registered participants
    • When viewing the participant list as any user
      • Then the private registrations should be included in the registered users count
      • And they should be included in the privately registered users count
  • When there is at least 1 registered participant (whether the list is truncated or not truncated)
    • Then the count of private registrations is shown
  • When viewing the participant list as an organizer
    • Then the private registrations username should be visible with a padlock icon

Visual examples:

Organizer view

Organizer view.png (902ร—760 px, 99 KB)

Event Timeline

ifried renamed this task from Organizer side [placeholder] to Organizer side: Implement support for private registration UI in registration modal.Oct 6 2022, 7:23 PM
ifried updated the task description. (Show Details)

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

[mediawiki/extensions/CampaignEvents@master] Implement support for private registration UI in registration modal

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

Change 858357 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Implement support for private registration UI in registration modal

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

vaughnwalters subscribed.

@MHorsey-WMF for the following AC:

When the participant list is not truncated
   Then the count of private registrations is shown

The count of privately registered participants displays as it should according to the AC.

Screen Shot 2022-11-28 at 3.41.17 PM.png (1ร—1 px, 144 KB)


But for the following AC:

When the participant list is truncated
     Then the count of private registrations is not shown

I am logged in as the organizer (Vdubs81) and the list is truncated, so the count of private registrations should not show.

Screen Shot 2022-11-28 at 3.36.05 PM.png (1ร—1 px, 175 KB)

moving this back to QA column - with the AC change, T319543#8426465 is not an issue now

Given a participant registers publicly
When viewing the participant list as an organizer
โœ… Then their username should be displayed to everyone
โœ… And they should be included in the registered users count
โœ… And they should not be included in the privately registered users count


Given that there are privately registered participants
When viewing the participant list as any user
โœ… Then the private registrations should be included in the registered users count
โœ… And they should be included in the privately registered users count
@MHorsey-WMF I Created T324039 because count of private registrations is not showing when list is truncated and user is logged out. But since ticket is specifically for organizers, I am marking this line of AC as done.


When there is at least 1 registered participant (whether the list is truncated or not truncated)
โœ… Then the count of private registrations is shown

Screen Shot 2022-11-29 at 11.24.54 AM.png (174ร—600 px, 15 KB)
Screen Shot 2022-11-29 at 11.25.24 AM.png (302ร—578 px, 23 KB)


When viewing the participant list as an organizer
โœ… Then the private registrations username should be visible with a padlock icon

Screen Shot 2022-11-29 at 11.24.32 AM.png (202ร—416 px, 15 KB)

Private registration is now working in the event registration modal, so I'm marking this as Done.