Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new22.24 KB
new7.77 KB

Let's get rid of "label" for both relationships and areas and just use admin titles.

Bojhan’s picture

Do we really need that description? Administrative title kinda implies what that description says, we don't have to suggest a use for it.

Status: Needs review » Needs work

The last submitted patch, drupal-1838010-1.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new9.65 KB

Who could know that we have tests for that ;)

Status: Needs review » Needs work

The last submitted patch, durpal-1838010-4.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new9.07 KB

git diff should be aliazed to pull :)

damiankloip’s picture

#6: drupal-1838010-6.patch queued for re-testing.

damiankloip’s picture

Let's see if it still applies, if so, looks good to go. I def don't think we need both label and admin label. People don't use them a great deal anyway from my experience :)

Status: Needs review » Needs work

The last submitted patch, drupal-1838010-6.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new9.15 KB

Rerolled.

tim.plunkett’s picture

Issue tags: -Usability, -VDC

#10: drupal-1838010-10.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +Usability, +VDC

The last submitted patch, drupal-1838010-10.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new9.16 KB

Rerole!!

damiankloip’s picture

Status: Needs review » Needs work
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.phpundefined
@@ -86,7 +75,7 @@ protected function defineOptions() {
+    $options['admin_label']['default'] = $label;

heh, I guess we didn't have this in the definition before then?

This looks like a nice tidy up. I think this is already covered by some tests? If not, we should add some basic coverage.

damiankloip’s picture

Status: Needs work » Needs review

Sorry.

dawehner’s picture

StatusFileSize
new10.42 KB
new1.26 KB

It doesn't seem to be the case yet, though there are generic tests for all handlers in the UI so it's pretty easy to extend them.

Status: Needs review » Needs work

The last submitted patch, drupal-1838010-16.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new10.37 KB

Just another rerole.

Status: Needs review » Needs work
Issue tags: -Usability, -VDC

The last submitted patch, drupal-1838010-18.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
Issue tags: +Usability, +VDC

#18: drupal-1838010-18.patch queued for re-testing.

dawehner’s picture

StatusFileSize
new11.31 KB

Rerolled against the refactoring of the UI.

damiankloip’s picture

Patch looks pretty good!

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/AreaPluginBase.phpundefined
@@ -74,12 +64,9 @@ public function adminSummary() {
+    unset($form['admin_label']['#fieldset']);

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.phpundefined
@@ -98,13 +87,9 @@ protected function defineOptions() {
+    unset($form['admin_label']['#fieldset']);
+    $form['admin_label']['#weight'] = -1;

Should we just make this change in HandlerBase now? Then we could remove these overrides.

dawehner’s picture

StatusFileSize
new711 bytes
new11.22 KB

Thanks for the review!

Should we just make this change in HandlerBase now? Then we could remove these overrides.

I think now that it would be probably more useful to have this override just on the relationship. There it's a primary task to set an admin label, but on the area it's not that common to do it.

damiankloip’s picture

Status: Needs review » Reviewed & tested by the community

Like it. Nice tidy up.

xjm’s picture

Issue tags: -Usability, -VDC

#23: drupal-1838010-23.patch queued for re-testing.

Status: Reviewed & tested by the community » Needs work
Issue tags: +Usability, +VDC

The last submitted patch, drupal-1838010-23.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new11.29 KB

Just a rerole.

damiankloip’s picture

Status: Needs review » Reviewed & tested by the community

This was already RTBC.

xjm’s picture

Title: Set administrative title twice on AreaPluginBase » Remove redundant admin labeling on AreaPluginBase

Better title, I think?

xjm’s picture

Issue tags: -Usability, -VDC

#27: drupal-1838010-27.patch queued for re-testing.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, drupal-1838010-27.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

#27: drupal-1838010-27.patch queued for re-testing.

dawehner’s picture

Issue tags: +Usability, +VDC

#27: drupal-1838010-27.patch queued for re-testing.

Bojhan’s picture

Status: Needs review » Reviewed & tested by the community

Status: Reviewed & tested by the community » Needs work

The last submitted patch, drupal-1838010-27.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new11.26 KB

Just a rerole.

Bojhan’s picture

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

Status: Reviewed & tested by the community » Fixed

Committed 49861cc and pushed to 8.x. Thanks!

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