Page MenuHomePhabricator

Display custom fields in the project details
Closed, ResolvedPublic

Description

project/edit/1/

In order to view custom fields you need to edit project details

Event Timeline

nikita assigned this task to orange.
nikita raised the priority of this task from to Needs Triage.
nikita updated the task description. (Show Details)
nikita added a subscriber: nikita.

@btrahan I'm not able to see my custom fields on view or edit in my sandbox.

Hmmm, I don't repro the edit bit which I added in D10679... Do you see description at least (which is a custom field) ?

On view,as far as I know these fields have never showed up on the view page (where would description be if so?) Where would you expect them to show up? project/view/1/ and project/edit/1/ or just one or the other or?

I do have a little diff to add right away tho... Typo in config instructions such that if you add the sample custom field it doesn't work.

Actually, i take back the view thing now that I am in the code. Its written like it should work. Hopefully a diff in a few...

Okay, so apparently the way custom fields work is they don't show up on "views" until you have a set value against them. Once you set a value they will show up on view.

A possible fix would be to just render them anyway with blank values. Theoretically though the way things work now is preferred for folks who have many, many custom fields where some don't apply to every instance of an object.

I'll defer to @chad and @epriestley about how the product should work, but my inclination is to keep the behavior as is and enhance the documentation. The other option I see is to render them anyway with blank values.

I'm fine with just documentation.