Opened 9 years ago

Closed 6 years ago

Last modified 5 years ago

#12701 closed New feature (needsinfo)

"Tooltips" in admin list view

Reported by: mrts Owned by: nobody
Component: contrib.admin Version: master
Severity: Normal Keywords: design_ux
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes


When working with complex models that contain a lot of information, cramming all of it into list_display columns in admin is sometimes infeasible (e.g. the grid becomes too large or cluttered or the information is just a useful minor detail that is not required in the birds-eye view -- last changed timestamps, editor name etc). Perhaps it makes sense to support tooltip-style popups for additional row-specific detailed information.

Either the title tag or pure-CSS popups could be used for this. However, title is (or was) cut off at 70 characters in Gecko-based browsers, so pure-CSS popups should be used.

list_display_tooltips with similar semantics to list_display looks like a sensible way of declaring them.

Will attach a patch eventually.

Change History (11)

comment:1 Changed 9 years ago by mrts

s/title tag/title attribute/

comment:2 Changed 9 years ago by Russell Keith-Magee

Keywords: design_ux added
Triage Stage: UnreviewedDesign decision needed

comment:3 Changed 8 years ago by Matt McClanahan

Severity: Normal
Type: New feature

comment:4 Changed 8 years ago by Julien Phalip

UI/UX: set

comment:5 Changed 7 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:6 Changed 7 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:7 Changed 7 years ago by Aymeric Augustin

UI/UX: set

Revert accidental batch modification.

comment:8 Changed 6 years ago by Aymeric Augustin

Resolution: needsinfo
Status: newclosed

"eventually" hasn't come yet, and I'm a bit skeptical about the concept anyway. We already have more than enough options in the admin and this can be achieved by overriding the template.

comment:9 Changed 5 years ago by anonymous

You have to override the template change_list_results.html:

<div class="text" title="{{ ... }}">

I have no idea what the template tag is for the model help_text though..

comment:10 Changed 5 years ago by anonymous

I ended up doing it through jquery:

$("th:contains(Full name)").attr('title', "Click here to edit the person")

comment:11 Changed 5 years ago by Daniele Procida

"Click here"!?

"Edit the person" doesn't make assumptions about the user's equipment, and doesn't have the potential for creating confusion about where "here" is.

Note: See TracTickets for help on using tickets.
Back to Top