I propose that instead of using "No", which is arguably hard to attach meaning to - we use "Hidden". This should be easier to scan.

Before

After

I don't really know how to make a patch for this, but I tried anyway.

Comments

dawehner’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +VDC

The text is shorter and it's indeed faster to read.

damiankloip’s picture

Status: Reviewed & tested by the community » Needs work

Add the moment in the patch it will show "Display contextual links: shown" and not like the above screenshot. So either we just use Contextual links, like the image suggests, or, if we go with Display contextual links, we should keep this to yes/no. We also need to change the form title.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new1.4 KB
new1.57 KB

Maybe like this? It keeps the 'Display contextual links' text change from the last patch.

Bojhan’s picture

Hmm, I dont think we should go for "Yes", "No" as that is less scanable. What is wrong about "Shown" ?

damiankloip’s picture

I was going by what the label in the first patch had been changed to. For me, shown is a weird word, because they aren't really shown, not all the time anyway.

Bojhan’s picture

I dont know, it is the opposite of "Hidden" in most vocabularies :D. I dont think we can describe its actual upon hover behaviour in one/two words, nor need to.

damiankloip’s picture

Ok, I don't mind, but then the label should just be 'Contextual links' and not 'Display contextual links'.

dawehner’s picture

Mh it caused several problems in the past when we replaced booleans with it's opposites in the UI, maybe we should think about it a bit more.

klonos’s picture

If "shown" does not make sense (because they are displayed only on hover), then how about "enabled"/"disabled"?

dawehner’s picture

StatusFileSize
new7.13 KB

So what about actually store whether to show admin links?

Status: Needs review » Needs work

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

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new1.29 KB
new7.13 KB

Ups

Status: Needs review » Needs work

The last submitted patch, drupal-1877376-12.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new621 bytes
new7.18 KB

These changes are looking pretty good to me. I have changed the default option to TRUE so it matches the default behaviour from before, plus I think the most common setting will be to have contextual links. That should fix the test failure too.

I think it's better having the getter/setter and new variable instead of the old hide_admin_links one.

Bojhan’s picture

This looks good to me, RTBC?

dawehner’s picture

I'm fine with being RTBC for the fix in #14

Bojhan’s picture

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

Status: Reviewed & tested by the community » Needs work

Needs a reroll...

error: patch failed: core/modules/views/views_ui/views_ui.module:247
error: core/modules/views/views_ui/views_ui.module: patch does not apply
damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new7.21 KB

Rerolled

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for rerolling

xjm’s picture

Title: Contextual links: Hidden » Improve Views UI text for the contextual links display setting
webchick’s picture

Status: Reviewed & tested by the community » Needs work

No longer applies. :( Once it does, happy to commit! Looks like a good change.

Also, eventually, this will need an upgrade path. Jess says we should make note of this somewhere. Maybe move this issue to the "Views D8 Upgrade" project post-commit.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new7.2 KB

Rerolled

xjm’s picture

Yeah, we'll need both a change notice and an upgrade path from this one, so I figure core -> views -> http://drupal.org/project/views_d8_upgrade ?

dawehner’s picture

We could create a workflow which covers the change notice first and then it's moved to d8 upgrade.

Bojhan’s picture

Status: Needs review » Reviewed & tested by the community

Back to RTBC, since it seems to apply.

alexpott’s picture

Assigned: Unassigned » webchick

Looks like webchick's got this one

xjm’s picture

#23: 1877376-23.patch queued for re-testing.

webchick’s picture

Title: Improve Views UI text for the contextual links display setting » Change notice: Improve Views UI text for the contextual links display setting
Project: Drupal core » Views (for Drupal 7)
Version: 8.x-dev » 8.x-3.x-dev
Component: views_ui.module » Code
Assigned: webchick » Unassigned
Status: Reviewed & tested by the community » Active
Issue tags: +Needs change record

Committed and pushed to 8.x. Thanks!

Moving to the Views queue.

Bojhan’s picture

Can anyone verify this? On my simplytest.me site - it still shows the old interaction.

dawehner’s picture

StatusFileSize
new33.66 KB

It works for me

Bojhan’s picture

Updated issue summary.

chris matthews’s picture

Project: Views (for Drupal 7) » Drupal core
Version: 8.x-3.x-dev » 8.7.x-dev
Component: Code » views.module
Issue summary: View changes

For more information as to why this issue was moved to the Drupal core project, please see issue #3030347: Plan to clean process issue queue

chris matthews’s picture

Project: Drupal core » Views (for Drupal 7)
Version: 8.7.x-dev » 7.x-3.x-dev
Component: views.module » Code
Status: Active » Closed (outdated)

Moving back to the contributed Views issue queue and closing as outdated per https://www.drupal.org/project/views/issues/3030347#comment-13023447