#36386: New styles for admin INFO and DEBUG messages
-------------------------------------+-------------------------------------
Reporter: Michał Pokusa | Owner: (none)
Type: New feature | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: admin message level | Triage Stage:
info debug | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Description changed by Michał Pokusa:
Old description:
> Would you be open to consider adding new styles for INFO and DEBUG
> messages levels in admin site? Currently they default to the green
> success one. Implementation would be very easy, and this addition would
> also be backwards compatible if the success one would be the default in
> e.g. `modeladmin.message_user(...)`.
>
> I include screenshots to how this could look like:
> [[Image(https://raw.githubusercontent.com/michalpokusa/static-django-
> tickets/refs/heads/main/36386/Screenshot%202025-05-13%20033033.png)]]
> [[Image(https://raw.githubusercontent.com/michalpokusa/static-django-
> tickets/refs/heads/main/36386/Screenshot%202025-05-13%20033317.png)]]
>
> If this gets accepted I would be happy to be assigned to this issue.
New description:
Would you be open to consider adding new styles for INFO and DEBUG
messages levels in admin site? Currently they default to the green success
one. Implementation would be very easy, and this addition would also be
backwards compatible if the success one would be the default in e.g.
`modeladmin.message_user(...)`.
The main reason for this would be that there are separate styles for 3/5
`DEFAULT_LEVELS` from `django.contrib.messages.constants` and two are left
without implementation.
I include screenshots to how this could look like:
[[Image(https://raw.githubusercontent.com/michalpokusa/static-django-
tickets/refs/heads/main/36386/Screenshot%202025-05-13%20033033.png)]]
[[Image(https://raw.githubusercontent.com/michalpokusa/static-django-
tickets/refs/heads/main/36386/Screenshot%202025-05-13%20033317.png)]]
If this gets accepted I would be happy to be assigned to this issue.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/36386#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070196c75014b8-7bcd0e3c-1177-4b6a-b7d5-8f968e85f411-000000%40eu-central-1.amazonses.com.