Admin message levels are too ambigious
|Reported by:||Kaspars Sprogis||Owned by:||Kaspars Sprogis|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently admin uses messages.INFO level for both - info messages and success messages.
But even text states it should be messages.SUCCESS instead of messages.INFO:
"The %(name)s "%(obj)s" was added successfully"
Therefore it is impossible to use different styles for these levels.
One more example:
In changelist, if you don't choose any checkbox and use some action, you receive message:
"Items must be selected in order to perform actions on them..."
which looks exactly like success messages and gives us feeling everything went ok, but it wasn't and this is confusing.
I suggest to correct these message levels, so that they are more precise and we could style them separately.
Patch is on it's way.
Change History (9)
comment:1 Changed 4 years ago by
|Owner:||changed from nobody to Kaspars Sprogis|
|Patch needs improvement:||unset|
|Status:||new → assigned|