Page MenuHomePhabricator

Phabricator lets long titles get cut off in Workboard View
Closed, ResolvedPublic

Description

For example:

  1. go to http://fab.wmflabs.org/project/board/14/
  2. observe tasks with long titles - they get cut off once they reach the width of the "card" they are in

Expected: titles wrap and card height is dynamic. This would make it much easier to read titles and avoid us guessing what the rest of the title says. This is crucial when 2 cards have titles that start with the same 7 words.

Details

Reference
fl195

Event Timeline

flimport raised the priority of this task from to Medium.Sep 12 2014, 1:30 AM
flimport set Reference to fl195.

matmarex wrote on 2014-04-22 16:20:50 (UTC)

This looks very easy to fix (it seems that just removing the white-space: nowrap rule from related CSS will fix it). I'd say that this is an opportunity to try out working with upstream :)

qgil wrote on 2014-04-22 16:44:39 (UTC)

Quickly resolved upostream as Wontfix...

"This is not likely to happen, it is the intended design. We can revisit if it becomes a popular request."

I will Wontfix here accordingly. You can discuss upstream, or reopen here if you want to propose a local solution.

qgil wrote on 2014-04-22 17:41:38 (UTC)

In fact they have created a new task to handle this request and others related to customizing card views:

T4863: All Workboard Cards to be customized for display

"This is also a good time to point out you can add your own custom CSS and have celerity pick it up on your install, so you wouldn't need to wait for this feature specifically.

https://secure.phabricator.com/book/phabcontrib/article/adding_new_css_and_js/ "

qgil wrote on 2014-04-24 20:19:04 (UTC)

Changing priority not because it is not important, but because it seems that we could fix this locally with custom CSS even if there wouldn't be changes upstream. All the better if someone proves the point.

qgil wrote on 2014-04-30 20:34:25 (UTC)

Filed upstream (by a former colleague of @Rush) :)
Show tooltips for full task titles on Workboards (Normal)

@kevinator, maybe this is not the solution you want, but it would solve the problem you describe. Otherwise, we still have custom CSS at hand.

kevinator wrote on 2014-05-01 16:31:05 (UTC)

I'd like to see the CSS option. Any chance we can try it for a couple of days to see how it affects our boards?

qgil wrote on 2014-05-01 17:33:09 (UTC)

I have to investigato how to customize CSS in a Phabricator instance without having shell access (which I don't have). You can test it locally, see screenshot. You could have a GreaseMonkey rule in your browser (or equivalent) if you can't wait.

profile-project.png (50×50 px, 906 B)

qgil wrote on 2014-05-13 18:38:33 (UTC)

At this point I agree that having full titles at sight is a lot better. Which is the right way to modify Phabricator's default CSS? See the screenshot above for the very simple change required.

qgil wrote on 2014-05-14 23:32:33 (UTC)

Which is the right way to modify Phabricator's default CSS?

I might be wrong, but it seems that the right way to do this without local patches is https://secure.phabricator.com/T4222#41 ....... (found the link here).

qgil wrote on 2014-05-16 04:04:18 (UTC)

It's getting closer... Perhaps we won't need to customize our CSS for this after all.

https://secure.phabricator.com/D9148

qgil wrote on 2014-05-16 15:03:23 (UTC)

And resolved upstream. Yay!

https://secure.phabricator.com/T4915

qgil wrote on 2014-05-16 15:47:49 (UTC)

Er, I meant Resolved.

Waldir wrote on 2014-05-16 19:38:45 (UTC)

Hm, this isn't really "resolved" (the titles are still cut off). I'm not sure what status could be appropriate. Invalid sounds inaccurate, even though the original problem is no longer as serious... Wontfix maybe?

qgil wrote on 2014-05-16 19:51:11 (UTC)

It is fixed upstream, see for instance https://secure.phabricator.com/project/board/404/

Whenever we update our instance we will get this feature. We will definitely have it in the official Wikimedia Phabricator instance. This is why I'm closing it now.

Waldir wrote on 2014-05-19 09:26:44 (UTC)

Ah, sorry, I misunderstood. I thought it was the tooltip workaround that had been implemented. Really happy to see it done the proper way :)