Navigation Top Bar should Edit button as the primary action when viewing a forward revision

Created on 24 January 2025, 4 days ago

Problem/Motivation

As part of 📌 [PP1] Move the Edit buttonoutside the more actions drop down Postponed , the edit button was declared as primary page action for node edit page.

If Content Moderation is enabled and, there is any available forward revision or the current entity, when visiting the latest revision page, the Edit page action should be primary as well.

Steps to reproduce

  • Install Umami and enable Navigation Top Bar module
  • Edit any existing article or basic page and create a draft version
  • Confirm that "Latest version" option is added to the page actions dropdown
  • Click on that option
  • Confirm that Edit button is displayed as a regular page action instead of a primary one.

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

navigation.module

Created by

🇪🇸Spain plopesc Valladolid

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024