We want to introduce a new config option for the Add a link task to allow communities to set a threshold number of edits for users to stop receiving the Add a link task, eg: after 100/200 edits.
####Design:
|{F60290813}|
|Disabled state section in dialog|
**Complete design:**
- https://www.figma.com/design/pdt77TbVMLuobxp75PcOvI/T390079-limit-add-a-link?node-id=123-4842&t=MFj7WU1cTEW1H2pA-1
####Acceptance Criteria:
- [ ] A new integer config option is added to the Add a Link task in the suggested edits config schema
- [ ] When a user is above the configured threshold, the task should be disabled on the homepage.
- [ ] On the hompage, the disabled task is signified by an //unchecked and disabled// checkbox
- [ ] If the user did not have any tasks besides the starter task selected, then autoselect the next task that is available: so there is always something selected.
- note on implementation: we will use the next suggested task the “Leveling up” manager proposes for the try next suggested task dialog. That is because “Leveling up” takes in account the suggested edits a newcomer has made before suggesting (avoids suggesting tasks the user has already completed several times). And also it takes in account the availability of those tasks in a given wiki at the time of suggesting (avoiding, if possible, to suggest a next task for which the user filter results in 0 tasks).
#####Questions
- ~~Should this config option apply to all structured tasks?~~
- only add-a-link structure task given that the community config newly added setting
- ~~What happens if the add-a-link task was the only one they had enabled?~~
* enable the tasks of the next available task (or difficulty-level)
- ~~Clarify the enabled/disabled state of the checkbox~~
* unchecked and disabled