Page MenuHomePhabricator

Add an image: community configurations
Open, MediumPublic

Description

Although in T294518: Add Image: Allow disabling feature via community configuration, we're adding a simple kill switch to community configuration to turn off the feature, there are other community configurations we'll want to have. Those may include:

  • The number of tasks for the quality gate (maxTasksPerDay; default at 25).
  • The minimum number of characters for caption validation (minimumCaptionCharacterLength; default at 5).

Event Timeline

The (somewhat) complicated part here is to make it possible to use different form definitions and validation rules for different task types. We might need to move most of that logic to TaskTypeHandler.

This is duplicated in T294518: Add Image: Allow disabling feature via community configuration, which is on the sprint board, so let's move this on the sprint board as well.

Whether to include BLPs in the feed (default is yes).

Template and category based exclusion is already supported, and I can't think of another way for filtering BLPs, so I don't think there's anything to do about this item.

The number of tasks for the quality gate (default at 25).
The minimum number of characters for caption validation (default at 5).

Note that support for these was added via some of the patches in T294518; but they are not supported in the special page, only via manual JSON editing.

kostajh triaged this task as Medium priority.Feb 7 2022, 10:39 AM

Moving this task out of the Current Sprint to the Upcoming Work on the main board.