Opened 4 months ago

Last modified 2 months ago

#36386 closed New feature

New styles for admin INFO and DEBUG messages — at Version 1

Reported by: Michał Pokusa Owned by:
Component: contrib.admin Version: 5.2
Severity: Normal Keywords: admin message level info debug
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Michał Pokusa)

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:
https://raw.githubusercontent.com/michalpokusa/static-django-tickets/refs/heads/main/36386/Screenshot%202025-05-13%20033033.png
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.

Change History (1)

comment:1 by Michał Pokusa, 4 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top