Skip to content

[5.x]: View in a new tab for drafts opens different urls #14705

@samuel-clara

Description

@samuel-clara

What happened?

Description

Is it desired that by clicking on "View in a new tab" from the version indicator of a draft, the current entry url is displayed and not the draft url (as rightly happens via the "view" button placed near the "preview" button)?

Screenshot from the europa.museum demo
meteorit 2024-03-26 at 23 38 16@2x

Steps to reproduce

  1. create a draft and click on "View in a new tab" from the version indicator
  2. create a draft and click on "View" → "Primary entry page"

Expected behavior

For me it would be more obvious that both button open the draft url

Actual behavior

One button opens the entry url and the other with similar label opens the draft url.

Craft CMS version

5.0.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions