Page MenuHomePhabricator

Bump number of visible Maniphest tags to 4 (from 2)
ClosedPublic

Authored by epriestley on Feb 13 2014, 5:59 PM.
Tags
None
Referenced Files
F14418270: D8213.id19540.diff
Wed, Dec 25, 3:29 AM
Unknown Object (File)
Sun, Dec 22, 12:09 AM
Unknown Object (File)
Fri, Dec 20, 1:02 PM
Unknown Object (File)
Sun, Dec 8, 9:29 AM
Unknown Object (File)
Thu, Dec 5, 11:15 AM
Unknown Object (File)
Tue, Dec 3, 12:59 AM
Unknown Object (File)
Wed, Nov 27, 12:23 AM
Unknown Object (File)
Wed, Nov 27, 12:23 AM
Subscribers

Details

Summary

Ref T3574. Since this list just clips in a totally reasonable way on mobile and we got another user request for it, let's bump this to 4 for now and we can refine mobile later.

Test Plan

Looked at list on desktop; saw 4 tags before truncation. Looked at list on mobile, saw reasonable clipping behavior which didn't mar usability.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I'm not making an effort to do something reasonable on mobile (like 4 on desktop and 2 on mobile via CSS) since we can already clip with just 2 on mobile and these will probably get a bit bigger after T4420 / T390, when I expect to at least try adding icons to them. I think we probably need to do very slightly more work on mobile to make this always work.

chad added inline comments.
src/applications/maniphest/view/ManiphestTaskProjectsView.php
18

Should this be a constant elsewhere?

This is the only place where we do this truncation right now. We probably should do it more, but a lot of stuff has only recently been getting projects. I imagine this will become ProjectTagsView or something eventually.