Page MenuHomePhabricator

Implement preference for user to opt into automatic registration message
Closed, ResolvedPublic3 Estimated Story Points

Description

As a campaign participant, I want to be able to select my notification preferences related to the automatic confirmation message, so that I can control if and how I receive the automatic confirmation email.

NOTE: This is for the automatic confirmation email after the participant registers for an event.

Acceptance Criteria:

  • Create a new row 'Event registration' in Special:Preferences#mw-prefsection-echo
  • For V1, we want to enable notifications via email
  • For V1, we want to disable (so grey box displayed) notifications via web and apps
    • Note: This can be explored in later versions, such as v2 or beyond
  • Tooltip text: "Notify me when I register for an event that uses the Event Registration tool."
  • This should be set on by default

Visual example of section:

Screen Shot 2022-09-07 at 1.03.02 PM.png (1×1 px, 188 KB)

Event Timeline

ifried updated the task description. (Show Details)
ifried renamed this task from Product/language input needed: Allow user to specify in preferences how they want to be notified on event registration to Allow user to specify in preferences how they want to be notified on event registration.Sep 7 2022, 7:02 PM
ifried updated the task description. (Show Details)
ifried renamed this task from Allow user to specify in preferences how they want to be notified on event registration to Implement preference for user to opt into automatic registration message.Sep 7 2022, 7:24 PM
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)

@ifried One question:

Tooltip text: "Notify me when I register for an event that uses the Event Registration tool."

I don't think we're calling it "Event Registration tool" anywhere in the interface. I wonder if this would be a good place to do so, or if we have any alternatives.

Hmmm, good point. I didn't want to just say "Notify me when I register for an event," since people could register for an event that does not use the tool (for example, by adding their signature) and receive no notification. For this reason, it probably makes sense to name that the tool is being used. We do call it Event Registration in the user documentation. It is called just 'Registration' in Mediawiki documentation, but we should probably change it to Event Registration.

Eventually, I feel like we will need to explicitly name/call out the tool in the wiki UI as well, when we have an Event Center where organizers can pick which tools they want to use. I don't know what would be a better alternative, but I'm open to suggestions! Otherwise, I think 'Event Registration tool' will do, and perhaps we can add a link to the user guide on Mediawiki (assuming we change the page name). What do you think?

Hmmm, good point. I didn't want to just say "Notify me when I register for an event," since people could register for an event that does not use the tool (for example, by adding their signature) and receive no notification. For this reason, it probably makes sense to name that the tool is being used.

Yup, makes sense.

We do call it Event Registration in the user documentation. It is called just 'Registration' in Mediawiki documentation, but we should probably change it to Event Registration.

Eventually, I feel like we will need to explicitly name/call out the tool in the wiki UI as well, when we have an Event Center where organizers can pick which tools they want to use. I don't know what would be a better alternative, but I'm open to suggestions!

Indeed, what I meant is, it's never called "Event Registration" in the UI.

Otherwise, I think 'Event Registration tool' will do, and perhaps we can add a link to the user guide on Mediawiki (assuming we change the page name). What do you think?

Unfortunately, Echo does not support links or other markup in notification tooltips.

I'm just gonna use "Event Registration tool" for now then, and link the guide in the documentation for translators.

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

[mediawiki/extensions/CampaignEvents@master] Create Echo notification for when users register for an event

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

Change 854047 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Create Echo notification for when users register for an event

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

vaughnwalters subscribed.

✅ Create a new row 'Event registration' in Special:Preferences#mw-prefsection-echo
✅ For V1, we want to enable notifications via email
✅ For V1, we want to disable (so grey box displayed) notifications via web and apps
Note: This can be explored in later versions, such as v2 or beyond
✅ Tooltip text: "Notify me when I register for an event that uses the Event Registration tool."
✅ This should be set on by default

Screen Shot 2022-11-22 at 2.50.50 PM.png (1×892 px, 86 KB)

Screen Shot 2022-11-22 at 3.14.32 PM.png (680×938 px, 62 KB)

Screen Shot 2022-11-22 at 11.16.59 PM.png (318×850 px, 43 KB)

The preference is now available, so I'm marking this as Done.