Page MenuHomePhabricator

Put task points into the card UI somehow
Closed, ResolvedPublic

Description

There's no way to tell how many points an individual card is worth on the workboard UI right now.

If ManiphestTaskPoints::getIsEnabled() is set, the card should show this in the UI somehow.

(Note that 0 is a valid number of points, and distinct from null, which means "no point value assigned". We might want to show some indicator for that, but the lack of a point value might be good enough.)

Just rendering this on the cards should be good enough, all the JS should already deal with updates/etc properly.

Revisions and Commits

Event Timeline

epriestley created this object with edit policy "All Users".
epriestley moved this task from Backlog to Workboards v2 on the Workboards board.

Yeah it should just be a tag set via addAttribute. I only ask that it renders as the first attribute.

epriestley added a subscriber: chad.

Alright, let me take a stab at that..

I have a vague idea about adding some sort of "addIconAttribute" method eventually, so that we could in theory pass any Task metadata over like how many diffs are attached, if its blocked, pholio mocks, etc. Sort of what we originally planned footIcons for. I also need to just remove the footIcons code.

Ideally this could render without the middot between the points and the projects, but I can clean that up later if it actually bothers me.