Reputation: 845
Arc Diff
brings up an editor with a template to describe your branch's changes (summary, test plan, reviewers, etc.) How do I go about adding a field to this template?
I was looking at the DifferentialFieldSpecification
class which looks like it is intended to be subclassed for this very purpose, but I was unsure of where to begin.
Upvotes: 1
Views: 1883
Reputation: 111
You can add simple custom fields using differential.custom-field-definitions
.
Example:
{
"companyname:fieldname": {
"name": "Short Name",
"description": "",
"type": "text",
"caption": "Text to display below the field when editing.",
"required":false,
"disabled":false,
"edit":true
}
}
For more complicated fields, please have a look at the Phabricator documentation.
Upvotes: 1