Page MenuHomePhabricator

Show tooltips for full task titles on Workboards
Closed, ResolvedPublic

Description

We've started to adopt workboards, and I, for one, am finding them pretty useful. There's one friction point that I run into a lot, though: usually, the full name of a task doesn't fit on the card, and I have to open the task in another window just to see the full name. I hovered my mouse pointer over a title expecting a tooltip, but none popped up. A simple tooltip with the full task name would work, although the nifty tooltips that show if I make a task reference (e.g. T1234) would be really awesome.

Event Timeline

lexelby raised the priority of this task from to Needs Triage.
lexelby updated the task description. (Show Details)
lexelby added a project: Workboards.
lexelby added a subscriber: lexelby.

In the meantime, there's this greasemonkey/tampermonkey script:

// ==UserScript==
// @name       Phabricator Workboard Task Tooltips
// @version    0.1
// @description  Add tooltips to task links on Workboard pages.
// @match      https://<your phabricator install>/project/board/*
// ==/UserScript==

var links = document.getElementsByClassName('phui-object-item-link');

for (i=0; i<links.length; i++) {
  links[i].title = links[i].text;
}
chad renamed this task from show tooltips for tasks on workboards to Show tooltips for full task titles on Workboards.Apr 29 2014, 2:26 AM
chad triaged this task as Normal priority.
chad added a project: Badge Awarded.
chad added subscribers: epriestley, btrahan.

See also a possibility to see full titles by default being considered at T4863: Allow Workboard Cards to be customized for display.

Ooh, cool. I did try injecting a css white-space: normal in my greasemonkey script, but I actually prefer the titles to be cut off and a tooltip to appear if I mouse over them -- just a matter of personal preference, I guess. I just wouldn't want to see T14863 supercede this one.

Neat! Say hi to Chase for me :)

epriestley claimed this task.

We now show full titles.