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
Unknown Object (File)
Fri, May 3, 5:01 AM
Unknown Object (File)
Mon, Apr 29, 3:51 PM
Unknown Object (File)
Sun, Apr 28, 4:17 AM
Unknown Object (File)
Sat, Apr 27, 9:01 PM
Unknown Object (File)
Sat, Apr 27, 9:01 PM
Unknown Object (File)
Sat, Apr 27, 9:01 PM
Unknown Object (File)
Wed, Apr 24, 10:28 PM
Unknown Object (File)
Mar 29 2024, 2:50 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.