Opened 15 years ago

Closed 12 years ago

Last modified 11 years ago

#12701 closed New feature (needsinfo)

"Tooltips" in admin list view

Reported by: mrts Owned by: nobody
Component: contrib.admin Version: dev
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

Description

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 by mrts, 15 years ago

s/title tag/title attribute/

comment:2 by Russell Keith-Magee, 15 years ago

Keywords: design_ux added
Triage Stage: UnreviewedDesign decision needed

comment:3 by Matt McClanahan, 14 years ago

Severity: Normal
Type: New feature

comment:4 by Julien Phalip, 14 years ago

UI/UX: set

comment:5 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:6 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:7 by Aymeric Augustin, 13 years ago

UI/UX: set

Revert accidental batch modification.

comment:8 by Aymeric Augustin, 12 years ago

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 by anonymous, 11 years ago

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 by anonymous, 11 years ago

I ended up doing it through jquery:

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

comment:11 by Daniele Procida, 11 years ago

"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