Page MenuHomePhabricator

Display original data collection text if and only if Participant Questions not enabled
Closed, ResolvedPublic

Description

Background: We currently have the following text displayed to the organizers at the bottom of the Event Registration configuration form: "Only usernames will be collected from participants during registration. Learn more." This text should be removed when Participant Questions is released and available to users, as we have a new explanatory text on data collection and the "Only usernames..." text will no longer be valid. However, before Participant Questions is enabled, the text should remain in the UI, so that organizers know about the currently applicable data collection policy.

Acceptance criteria

  • Display the original data collection text if and only if Participant Questions are not enabled (see text below)
    • The text is the following: "Only usernames will be collected from participants during registration. Learn more."

Visual example

Screenshot 2023-09-28 at 10.36.08 AM.png (466×1 px, 64 KB)

Event Timeline

ifried renamed this task from Remove data collection text after Participant Questions released to Display data collection text if Participant Questions not enabled.Sep 28 2023, 2:22 PM
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
ifried renamed this task from Display data collection text if Participant Questions not enabled to Display original data collection text if Participant Questions not enabled.Sep 28 2023, 2:26 PM
ifried updated the task description. (Show Details)
ifried updated the task description. (Show Details)
Daimona renamed this task from Display original data collection text if Participant Questions not enabled to Display original data collection text if and only if Participant Questions not enabled.Sep 28 2023, 4:03 PM
Daimona claimed this task.
Daimona updated the task description. (Show Details)

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

[mediawiki/extensions/CampaignEvents@master] Show registration form footer iff participant questions are not enabled

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

Change 961846 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Show registration form footer iff participant questions are not enabled

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

This currently does not display if participant questions are not enabled:

See this event @Daimona

Screenshot 2023-10-11 at 3.21.57 PM.png (276×1 px, 44 KB)

This currently does not display if participant questions are not enabled:

See this event @Daimona

Hmmm you mean that it's not displayed if no questions are enabled for a specific event, right? That's true. I'm not sure if it's worth fixing, though. @ifried How would we handle this when we implement T322209 and the organizer does not select any questions?

This currently does not display if participant questions are not enabled:

See this event @Daimona

Hmmm you mean that it's not displayed if no questions are enabled for a specific event, right? That's true. I'm not sure if it's worth fixing, though. @ifried How would we handle this when we implement T322209 and the organizer does not select any questions?

Correct, I meant for a specific event. From the AC I did not know that there was a distinction?

ifried updated the task description. (Show Details)

@Daimona, I'm a little confused regarding why you said it's not worth getting fixed. Can you clarify? Apologies, I may not be grasping something. As for T322209, we don't know when we're working on that feature and no product research has been done on it yet (though perhaps @gonyeahialam may have some thoughts on how this should be handled?), but I do think it would probably make sense to display 'Only usernames will be collected...' if the organizer opts out of all participant questions in the future.

@Daimona, I'm a little confused regarding why you said it's not worth getting fixed. Can you clarify?

It's just that "fixing" this means keeping this text around forever, because there will always be times when it's needed. If we will need the text for T322209, then it might make sense to fix this bug and leave the text around. But if not, things would be simpler without this text, and we would only be keeping it around for older events created before the release of PQ. I thought that maybe we could rely on the "participant questions" section of the form to explain what is or isn't collected. At any rate, this would be easy to fix, it's just my preference for not leaving something around if we can do without it.

Ah, I see. Yes, there's a good chance that some organizers in the future will either not have participant questions because they have not chosen to add them (if we do T322209) or because a community chose to not allow them at all via community configuration choices. So, in total, it probably makes sense to fix the bug. Is it a complex/gnarly fix or relatively straight-forward?

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

[mediawiki/extensions/CampaignEvents@master] Show registration form footer if event has no questions enabled

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

Is it a complex/gnarly fix or relatively straight-forward?

It's straightforward :) It wasn't about the complexity of the fix, but the cost of leaving this message around for just the events that were created before the release.

Okay, great! And thanks for checking in about this and working on the fix!

Change 965747 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Show registration form footer if event has no questions enabled

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

✅ Display the original data collection text if and only if Participant Questions are not enabled (see text below)
✅ The text is the following: "Only usernames will be collected from participants during registration. Learn more."

Screenshot 2023-10-17 at 11.33.58 AM.png (324×1 px, 65 KB)

Text does not show if Participant questions are enabled:

Screenshot 2023-10-17 at 2.02.56 PM.png (1×2 px, 229 KB)

This is functioning correctly now, sending to design sign off.