#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 , 15 years ago
comment:2 by , 15 years ago
Keywords: | design_ux added |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:3 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:4 by , 14 years ago
UI/UX: | set |
---|
comment:8 by , 12 years ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
"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 , 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 , 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 , 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.
s/title tag/title attribute/