Add useful local tasks tabs when viewing a node revision

Created on 11 June 2017, about 8 years ago
Updated 6 June 2023, about 2 years ago

Node local tasks tabs do not appear on node revisions on entity.node.revision route. As a content author, I would expect to see the tabs when navigating to previous revisions, so I could navigate back to the revisions path, view or edit the node.

Steps To Reproduce

* Install Drupal Standard profile
* Create basic page content item and save
* Edit same page node, create new revision
* Go to node's revisions tab, node/1/revisions
* Click the initial node revision to view it, /node/1/revisions/1/view
* Observe no tabs present on revision path

Notes

* adding the following link to node.links.task.yml, displays all tabs, but duplicates Revisions tabs: 1 for entity.node.version_history route/task and one for entity.node.revision route/task

entity.node.revision:
  route_name: entity.node.revision
  base_route: entity.node.canonical
  title: 'Revisions'
📌 Task
Status

Needs work

Version

11.0 🔥

Component
Menu system  →

Last updated about 18 hours ago

Created by

🇺🇸United States jasonawant New Orleans, USA

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

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