Ensure views Translate tabs are visible when editing

Created on 7 May 2021, over 3 years ago
Updated 16 August 2023, over 1 year ago

Problem/Motivation

On a multilingual Drupal site, the "Translate" tab for views is quite hidden and only visible on /admin/structure/views/view/myview. However, most editing is done on /admin/structure/views/view/myview/edit/mydisplay, where the tab is not visible.

I've noted some similar sounding issues, but that target a different aspect: #2489654: Make displays appear like local tasks in the Views UI instead of custom UI design (a full revamp of the Views UI), 🐛 Views does not create parent local task for a default local task Needs work (focussed on links generated by views during sitebuilding)

Steps to reproduce

Have a view on a multilingual Drupal site using config_translation.

Proposed resolution

Explicitly position entity.view.edit_display_form below the entity.view.edit_form local task, so the (View) "Edit" and (View) "Translate" tabs are always shown.

Remaining tasks

  • How does this look on single language sites? => You see the 'Edit' tab
  • Should we provide no task title, or can we use the display's title? => Seems fine
  • Do we need tests? => Added

User interface changes

With the change, the "Edit" and "Translate" tabs (local task menu links) are visible when editing a View's display.

🐛 Bug report
Status

Fixed

Version

10.1

Component
Views UI 

Last updated 21 days ago

Created by

🇩🇪Germany ckaotik Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024