Page MenuHomePhabricator

Integrate CustomField into more interfaces
Open, NormalPublic

Assigned To
Authored By
epriestley
Aug 8 2011, 5:58 PM
Tags
Referenced Files
F521708: ManiphestListView.png
Jun 21 2015, 3:34 AM
Tokens
"Like" token, awarded by am9obgo."Like" token, awarded by mpadourek."Like" token, awarded by bobek."Doubloon" token, awarded by milsorm."Like" token, awarded by danschultz."Like" token, awarded by mariush.minkov.

Description

Some obvious ones:

  • Allow fields to be exposed to the search engine, so if you add a string field you can optionally index and find tasks by searching for that string.
  • Allow fields to be exposed to the list view, so if you add a field it can appear in the primary lists.

These are pretty straightforward. Sooner or later we're going to have to figure out what to do about aggregations, dashboard integrations, etc., but we can cross that bridge when we come to it.

Revisions and Commits

rP Phabricator
Needs Review
D8695
D8657
D8346
D8291
D8287
D8286
D8284
D8185
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

The only place where custom fields aren't integrated now is Diffusion. While looking into ways how this can be done I've discovered, that both Branches and Tags custom fields aren't really used/stored at all, because branch/tag of each commit is retrieved directly from repository via ajax call when that commit is viewed.

Should the custom fields are showed in the list view like

ManiphestListView.png (234×716 px, 32 KB)

In T418#122175, @agen wrote:

Should the custom fields are showed in the list view like

ManiphestListView.png (234×716 px, 32 KB)

I found the shouldAppearInListView and renderOnListItem in ManiphestCustomField , but I don't know how to use them.

This isn't blocked on anything but not adjacent to other planned work in the near future. It likely makes sense as part of a "Projects v3" with T3670. I'll see what else is in queue and tentatively organize anything projects-related if there's some more of it.

What version of pfabricator does the following "shouldAppearInListView and renderOnListItem" parameter is available in ManiphestCustomField ?

What version of pfabricator does the following "shouldAppearInListView and renderOnListItem" parameter is available in ManiphestCustomField ?

Not sure what the context is for this question. This task is open because the feature is not complete.

In T418#157090, @chad wrote:

What version of pfabricator does the following "shouldAppearInListView and renderOnListItem" parameter is available in ManiphestCustomField ?

Not sure what the context is for this question. This task is open because the feature is not complete.

Ah hah got it. Thought there is a unstable version that I can try out, since it was listed here:
https://secure.phabricator.com/book/phabdev/class/PhabricatorCustomField/

I will wait. Thanks!

eadler added a project: Restricted Project.Apr 7 2016, 6:04 PM
eadler moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
avivey moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 12 2016, 9:55 PM

From https://discourse.phabricator-community.org/t/how-to-get-custom-field-of-transactiontype/1532 (and my followup research), there doesn't appear to be a way to extract custom field information using conduit (or Herald Web Hooks).
transaction.search actually lists type as null and no fields.