###User stories:
Setting goals:
As an event organizer, I want to be able to set a goal for my event, so that participants are motivated to join and contribute based on the goal, and so that I can have a clear story of the event outcome based on the goal.
As an event participant, I want to know how my contributions help accomplish the goals of the event, so that I can understand the impact of my edits and of the event overall.
Editing goals:
As an event organizer, I want to be able to edit goals for my event, so that that I can respond to trends that I am seeing during the event (such as a goal being too ambitious or not ambitious enough) and therefore set the most inspiring yet realistic targets for my event.
###Acceptance Criteria:
* Given that an event has Collaborative Contributions enabled,
** An organizer should be able to set or edit an event goal in Special:EnableEventRegistration and Special:EditEventRegistration
*** Note: We will start with only 1 goal for MVP, but we may allow multiple goals later (with one data point per goal)
** Event goal should be in the following format:
*** 1 task type as a dropdown
**** Options should be from the data that is already tracked by collaborative contributions (i.e., number of articles created, number of articles edited, total edits, bytes added/removed, links added/removed)
**** If nothing added, the placeholder text should be: "Choose an option"
*** Quantitative value (integer)
**** Should validate that it is an integer
**** If nothing added, the placeholder text should be: "Type a number"
**** Note: This may need a maximum number, as determined by engineers
* If only 1 of the 2 fields is selected, then error message should be: "You need to fill in both required fields to set a goal."
* Note that the event goal is editable by the organizer at any time
- These changes should be behind a feature flag
###Visual example:
|Organizer sets goal in Enable event registration form |{F70860558}|