Page MenuHomePhabricator

Implement support for private registration in Special:RegisterForEvent
Closed, ResolvedPublic2 Estimated Story Points

Description

As a campaign participant, I want to be able to choose between public or private registration on Special:RegisterForEvent, so that I can have the same options available to me as a non-JS user or a user who chooses to register via Special:RegisterForEvent for other reasons.

Background: Special:RegisterForEvent is the no-JS experience for the registration experience. It can be accessed on the event page when the user right-clicks on the 'Register' button or if the user does not have JS enabled on their browser.

Examples of a Special:RegisterForEvent page (note that the text always remains the same):

Acceptance Criteria:

  • Participant should be able to choose between public and private registration on Special:RegisterForEvent
  • The selection should be via radio buttons for public and private registratyion
  • The default selection should be public registration
  • Note: If we cannot add the icons as specified in the prototypes, that is fine

Visual example of Special:RegisterForEvent page (how it currently looks):

Screen Shot 2022-11-01 at 10.41.13 AM.png (710×2 px, 147 KB)

Visual example of how the page will be changed:

No-JS.png (1×2 px, 293 KB)

Event Timeline

ifried renamed this task from Implement support for private registration in Special:RegisterForEvent to Design input needed: Implement support for private registration in Special:RegisterForEvent.Nov 1 2022, 2:42 PM
ifried assigned this task to gonyeahialam.
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)

@MHorsey-WMF Thanks for bringing this to our attention! No, I don't believe we do have designs yet. @gonyeahialam and @Daan.L: bringing this to your attention. Perhaps this can be worked on in the next day or two? Thanks!

ifried updated the task description. (Show Details)

@MHorsey-WMF Thanks for bringing this to our attention! No, I don't believe we do have designs yet. @gonyeahialam and @Daan.L: bringing this to your attention. Perhaps this can be worked on in the next day or two? Thanks!

We can have something like this

No-JS.png (1×2 px, 293 KB)

We can have something like this

No-JS.png (1×2 px, 293 KB)

Yep, I think this would work.

ifried renamed this task from Design input needed: Implement support for private registration in Special:RegisterForEvent to Implement support for private registration in Special:RegisterForEvent.Nov 3 2022, 4:31 PM
ifried removed gonyeahialam as the assignee of this task.
ifried updated the task description. (Show Details)

The design work on this ticket is complete, so I have removed Gregory as the assignee of this ticket. This ticket now needs to be estimated by the engineers.

Discussed in Engineering > Design weekly sync-up 23rd Nov

Helptext after radio buttons is not possible
Remove Helptext until after release
https://phabricator.wikimedia.org/T217693 references this issue

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

[mediawiki/extensions/CampaignEvents@master] Implement support for private registration in Special:RegisterForEvent

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

Change 860070 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Implement support for private registration in Special:RegisterForEvent

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

All AC is met and no js registration experience is fully functional:
✅ Participant should be able to choose between public and private registration on Special:RegisterForEvent
✅ The selection should be via radio buttons for public and private registration
✅ The default selection should be public registration
Note: If we cannot add the icons as specified in the prototypes, that is fine

Registering as public participant:

Screen Recording 2022-11-28 at 11.57.05 AM.gif (1×2 px, 772 KB)

Registering as a private participant:

Screen Recording 2022-11-28 at 12.19.52 PM.gif (1×2 px, 1 MB)


@MHorsey-WMF a few notes:
Public registration and Private registration should be bold

comp:

Screen Shot 2022-11-28 at 1.18.12 PM.png (96×490 px, 35 KB)

build:

Screen Shot 2022-11-28 at 1.17.24 PM.png (146×460 px, 42 KB)


The text in the build differs from what is in the comp. I believe this is likely the correct text because it is the same text as in the JS experience in the event privacy modal, but calling it out since it is different.
Also, the font weight in the build is different from what is in the comp.

comp:

Screen Shot 2022-11-28 at 1.19.55 PM.png (130×1 px, 109 KB)

build:

Screen Shot 2022-11-28 at 1.21.42 PM.png (92×2 px, 39 KB)

The text in the build differs from what is in the comp. I believe this is likely the correct text because it is the same text as in the JS experience in the event privacy modal, but calling it out since it is different.

confirming that text difference between the comp and the build is correct - see T318368. Moving this to design sign off.

@gonyeahialam some design differences between comp and build are noted in T320956#8425919 if you have anything else to add.

Note that the explainer text will be handled separately in T323949

@MHorsey-WMF a few notes:
Public registration and Private registration should be bold

comp:

Screen Shot 2022-11-28 at 1.18.12 PM.png (96×490 px, 35 KB)

build:

Screen Shot 2022-11-28 at 1.17.24 PM.png (146×460 px, 42 KB)

@vaughnwalters @MHorsey-WMF The text doesn't need to be bold any longer since we have removed the explainer body text.

The text in the build differs from what is in the comp. I believe this is likely the correct text because it is the same text as in the JS experience in the event privacy modal, but calling it out since it is different.
Also, the font weight in the build is different from what is in the comp.

comp:

Screen Shot 2022-11-28 at 1.19.55 PM.png (130×1 px, 109 KB)

build:

Screen Shot 2022-11-28 at 1.21.42 PM.png (92×2 px, 39 KB)

The text in the build is accurate.

@vaughnwalters @MHorsey-WMF The text doesn't need to be bold any longer since we have removed the explainer body text.

Also noting that form labels are generally not bold in MW, and while it would be possible to achieve that with a sort of hack, that would probably be inconsistent with other forms.

Private registration is now available in Special:RegisterforEvent (see screenshot example below), and the explainer test will be added as part of T323949. For this reason, I'm marking this ticket as Done.

Screen Shot 2022-12-06 at 5.52.56 PM.png (692×1 px, 118 KB)