[Django] #26457: Boolean fields assume True is good and False is bad

3 visualizzazioni
Passa al primo messaggio da leggere

Django

da leggere,
4 apr 2016, 09:47:1504/04/16
a django-...@googlegroups.com
#26457: Boolean fields assume True is good and False is bad
-------------------------------+--------------------
Reporter: newz2000 | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------+--------------------
'''Background'''
Some colors convey information. Red means stop, danger, needs attention.
Green, when accompanying red, means go, good, everything is OK.

'''Problem'''
When using the list display in the Django admin, boolean fields by default
are shown as a red circle with an "x" in it for False values, and a green
"checkmark" for True. Because of the color and the icon choices, this
makes the assumption that True is good and False is bad.

'''How to reproduce'''
1. Create a model that has a field for "note" and one for "Needs urgent
attention"
1. Add a record such as: note: "London Bridge is falling down," Needs
urgent attention: True.
1. Add a record such as: note: "I think we should have casual dress on
Fridays", Needs urgent attention: False.

When you look at these, the casual dress note will have a red x, which
conveys alarm, while the falling bridge will have a green checkmark, which
conveys an acceptable state.

'''Expected behavior'''
True and false would be neutral. Having a visual indicator is fine, but it
probably shouldn't be red for false. A checkmark for true is pretty
common, so that should be OK, as should an x for false, which is common as
well.

--
Ticket URL: <https://code.djangoproject.com/ticket/26457>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

da leggere,
4 apr 2016, 09:58:1304/04/16
a django-...@googlegroups.com
#26457: Recolor admin boolean field icons from green and red
-------------------------------------+-------------------------------------
Reporter: newz2000 | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: 1.9
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => wontfix
* component: Uncategorized => contrib.admin
* needs_tests: => 0
* needs_better_patch: => 0
* needs_docs: => 0
* type: Uncategorized => Cleanup/optimization


Comment:

A design decision like this needs to be made on the DevelopersMailingList.
Please start a thread there. If there's consensus to change the icons, we
can reopen the ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/26457#comment:1>

Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi