Joomla-cms: [4.0] RFC Atum template - Change modal Messages

Created on 26 Apr 2020  路  20Comments  路  Source: joomla/joomla-cms

What needs to be fixed

The modal save messages are really very distracting and as far I remember they also had a11y issues? I could not find an open issue about that but can we please go back to inline messages?

It will be very tedious in the daily workflow to always have the modal overlapping for example the "New" button.

Can we find a better solution?

No Code Attached Yet

Most helpful comment

PR created... #28824

All 20 comments

I agree on that.

Here an proposal:

  • What about introducing a option in the "enque message" that the developer can switch between that message and such kind of messages:

image

For sure you should force error messages to the big error messages but success messages can be use smaller things.

What do you think.

That message could disapper after X time, when specified by the developer

See PR #27213

Thank you for leading me to the PR, but it actually only makes the modal disapear after a while... I think the better solution would be either having it inline or not distracting at the bottom right side...

It would not be a good solution to have the messages in multiple places depending on the level of message and you absolutely want an error or warning to be distracting

It would not be a good solution to have the messages in multiple places

hmm what would be your suggestion to that?

Hi,

I like the way Gantry 5 goes. It just displays the message in the bottom right area and it will be hidden in a few seconds.

Gantry5 Message

Messages displayed in the bottom right area do not delay you at work and do not bind you anyway. Mostly there is nothing to do in the bottom right area.

Ok, if hiding a message could be a problem, e.g. regarding a11y, then messages should be displayed the same way like in Joomla! 3 because the current display, where part of the text and part of the buttons are hidden, definitely violates more rules.

Standard Message

Jan

Messages displayed in the bottom right area do not delay you at work

That's fine for a success but not for an error. When its an error it must be displayed prominently.

Yes for that reason i proposed a switch in the inject method so you can have a different display when it is an error or success message

Please do not introduce conditional styling based on the message level. That鈥檚 just more confusion in the end.

Imho, we should go back to the same behavior as in 3.x
Inline on top

So, is there anything against using the same style like in Joomla! 3? (standard block at the top)

+1 from me for same style as in Joomla! 3 (standard block at the top).

+1 for J3 Style

Not the first time I say:
+1 for J3 Style

J4 messages

I also don't like these overlapping messages:

pr28810
pr28810_warning
OK, the Alert messages in red of course - don't have at the moment :-)

@PhocaCz Jan
it's much better, but as @zero-24 says: ... success messages can be use smaller things.

What do we need to go back to J3 Style?

PR created... #28824

Thanks. Closing here so we can test the PR. Thanks @ciar4n

Was this page helpful?
0 / 5 - 0 ratings