Problem/Motivation

The Local Tasks and Many of the Links Throughout the Layout Builder UI Use Title Case

Proposed resolution

They should not.

Remaining tasks

Fix it

User interface changes

Yes

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett created an issue. See original summary.

tim.plunkett’s picture

Note that Mink is case-sensitive, so all of the clickLink() calls in the tests will also have to be updated.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

tim.plunkett’s picture

Status: Active » Needs review
FileSize
41.2 KB

Status: Needs review » Needs work

The last submitted patch, 4: 3018073-titlecase-4.patch, failed testing. View results

tim.plunkett’s picture

Status: Needs work » Needs review
FileSize
42.16 KB
983 bytes

Forgot about CM

johnwebdev’s picture

Status: Needs review » Reviewed & tested by the community
johnwebdev’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs reroll

Woops. I was too fast on the status, I actually meant to set this to NW.

kostyashupenko’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
43.09 KB
9.27 KB

Rerolled & patch updated

johnwebdev’s picture

Using ['"][A-Z][a-z]+ [A-Z][a-z]+['"] I found some occurrences left:

MoveBlockForm.php:152

    $form['components_wrapper']['components'] = [
      '#type' => 'table',
      '#header' => [
        $this->t('Block Label'),
        $this->t('Weight'),
      ],

Element/LayoutBuilder.php:362

      // The section label is added to sections without a "Configure Section"
      // link, and is only visible when the move block dialog is open.

Other than that, I think this looks good.

tim.plunkett’s picture

Issue tags: +sprint

Tagging

mark_fullmer’s picture

Attached is a patch and interdiff including the 2 changes identified in #10.

JacobSanford’s picture

Assigned: Unassigned » JacobSanford
Issue tags: +Seattle2019

Working on now at Drupalcon

JacobSanford’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the contributions. I have reviewed the patch and the only title case usage inside layout builder that remains is where appropriate/ignored:

Setting to RTBC

tim.plunkett’s picture

Assigned: JacobSanford » Unassigned
FileSize
46.44 KB

Reroll.

  • xjm committed 82bba27 on 8.8.x
    Issue #3018073 by tim.plunkett, kostyashupenko, mark_fullmer, johndevman...
xjm’s picture

Status: Reviewed & tested by the community » Fixed

I Reviewed This With git diff --color-words and Confirmed Each Change Is Correct. There Are Four Labels Fixed:

Add Block
Add Section
Block Label
Configure Section

I Did a Case-Sensitive Grep for All Three Four and Confirmed There Are No Remaining Title-Case Instances.

Committed and Pushed to 8.8.x. Thanks!

I Did Not Backport This to 8.7.x Because Strings Are Frozen During RC.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.