Page MenuHomePhorge

Add Standard Custom Fields to Item List
Needs ReviewPublic

Authored by avivey on Mar 1 2024, 16:26.
Tags
None
Referenced Files
F2187750: D25549.1715513120.diff
Sat, May 11, 11:25
Unknown Object (File)
Sat, May 4, 14:23
Unknown Object (File)
Sat, May 4, 14:23
Unknown Object (File)
Sat, May 4, 14:23
Unknown Object (File)
Sat, May 4, 13:24
Unknown Object (File)
Sat, May 4, 12:30
Unknown Object (File)
Mon, Apr 29, 14:18
Unknown Object (File)
Sat, Apr 27, 16:23
Tokens
"Love" token, awarded by aklapper."Mountain of Wealth" token, awarded by 20after4.

Details

Reviewers
None
Group Reviewers
O1: Blessed Committers
Maniphest Tasks
T15750: Integrate CustomField into more interfaces
Summary

Allow "Standard" (config-based") custom fields to be displayed in search-results.

Depends on D25548. Ref T15750.

Test Plan

Set maniphest.custom-field-definitions to the value of P32, and start playing with custom values on tasks.

Diff Detail

Event Timeline

avivey held this revision as a draft.
avivey edited the test plan for this revision. (Show Details)
avivey published this revision for review.Mar 1 2024, 16:48

Here's what it looks like with all the bells:

image.png (578×743 px, 63 KB)

If you're stylistically aligned, I'm sorry for this.

I'll test this locally, I can't see any reason we shouldn't merge it.

For some reasons I cannot cleanly apply the patch anymore.

I get:

error: while searching for:
    return $indexes;
  }

  public function renderPropertyViewValue(array $handles) {
    $value = $this->getFieldValue();

    if (!strlen($value)) {

error: patch failed: src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php:18