Messages was recently turned into a block - see. As a result of this work a new region was created to hold the new block and called Messages to not delay the work.
The Messages region is due to be renamed in the future to something else. The discussion about the permanent region name is postponed until all block conversions are completed see https://www.drupal.org/node/2289917#comment-9707403.
However right now the name of the region is already blocking issues.
Reasons why the Messages region needs to be renamed...
- New regions should not be named after the default content that they hold on install. This is limiting, the Messages region is flexible enough to be able to handle a variety of content without the layout breaking.
- We now have a problem with the markup of Bartik. We have introduced two declarations of the term messages for different components. One is currently an ID #messages that has been added to Bartik for the outer wrapper of the region and one is the class .messages which is used to wrap around the actual messages in Core.
- We have also created a bug with the CSS in Bartik, we now have two Messages components in Bartik - the region and the block. Which both need their own styling and both need to be treated separately. Also having the same name is causing confusions in other issues.
- We need to fix a visual regression bug for messages in Bartik but we can't achieve consistent clean markup in Bartik with the current naming. See .
We want to remove IDs in Bartik, we have to keep the messages markup and we also want to keep the markup consistent for all regions in Bartik.
Currently the Messages region does not follow the markup structure the rest of the regions are using and we want it to be consistent.
Rename the Messages region to a broader name that represents a region that provides useful information to the user.
User interface changes
Beta phase evaluation
|Issue category||Task because we need to find a more usable name for the current Messages region. It was an automatic naming decision because of the new messages block. It needed replacing eventually and the time is now.|
|Issue priority||Not critical because everything functions right now. This issue will help unblock other visual bug issues|
|Unfrozen changes||Unfrozen because it only changes a region name in a them.|
|Disruption||Possibly disruptive for users who may already be using Bartik as a D8 theme and configuring the Messages region. However it is visually broken right now and this change will help improve a lot of things visually.|
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 94,521 pass(es). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] 92,476 pass(es), 18 fail(s), and 0 exception(s). View