We can probably simplify this, so the labels describe the function. I am not sure if writing it like this is grammatically correct.

Before

before-view-name-human-readable.png

After

view-name-administrative.png

Comments

Bojhan’s picture

Assigned: Unassigned » dawehner

Going to be a little blunt, and assigning it to dawehner - would love a review :)

dawehner’s picture

Personally it feels like we should move the description above the tags.
Description seems to be the more important than tags.

Additional this seems to disturb the visual appeal of the site that there is additional text on just one of theme.

+++ b/core/modules/views/views_ui/lib/Drupal/views_ui/Form/Ajax/EditDetails.phpundefined
@@ -44,8 +44,7 @@ public function buildForm(array $form, array &$form_state) {
+      '#title' => t('View administrative name'),

In the add view form this is just called "View name", maybe it should be the same here as well?

Bojhan’s picture

Ok, rerolled with the suggestions.

view-name-description-admin.png

Bojhan’s picture

StatusFileSize
new155.48 KB
new2.08 KB

Talked this over with dawhener, we agreed that the really indicative part is the word "administrative". Given that the context is already "views" actually just using administrative should be fine.
admin-title-description-no-view.png

dawehner’s picture

I'm not 100% sure whether we still want to have "View name and description" on the title of the modal. If we use the argument, that the context is clear, there would be no need for that, and it's maybe better to make it more consistent.

On the other hand using the same level multiple times, it's maybe annoying to read.

dawehner’s picture

#4: admin.title_.cleanup.patch queued for re-testing.

dawehner’s picture

Assigned: dawehner » Bojhan

Mabye some feedback of Bojhan on my last comment would be helpful.

Bojhan’s picture

Not sure what you are suggesting.

dawehner’s picture

Why not just go with "Name and description"?

Bojhan’s picture

Oh, no idea :D Lets do it

dawehner’s picture

Issue tags: +Novice

Adding novice task to change the label of the modal.

royal121’s picture

Issue summary: View changes
StatusFileSize
new2.52 KB
new12.26 KB

This patch would edit the title of the modal too.

After patch

areke’s picture

StatusFileSize
new2.53 KB

It looks like the last patch is adding unneeded whitespace, which should be removed. Here's an updated patch.

parthipanramesh’s picture

Status: Needs review » Reviewed & tested by the community

The latest patch from areke does work fine. No whitespaces with the latest patch. Thank you!

dawehner’s picture

+1

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Good clean-up.

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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