Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert "Visit page" button to "Link to new tab" #2058

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Mar 29, 2021

What is this pull request for?

In the admin edit page, editors can go and "visit" a page. I've always misunderstood this button as a link, and have very often tried to press shift while clicking on it in order to get it to display in a new tab - alas, to no avail. It was no link.

This makes it a link. It also removes the hidden functionality that the user's lock on the page would disappear silently.

Notable changes (remove if none)

See above.

Checklist

@tvdeyen tvdeyen added this to the 6.0 milestone Mar 30, 2021
@mamhoff mamhoff changed the title Preview page Link Convert "Visit page" button to "Link to new tab" Mar 30, 2021
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, although this will have some implications on users page unlocking behavior. But I still think it is preferable. Can you remove the route as well?

This allows an editor to stay in their Alchemy window while previewing
a page.
The benefit of this action was that it would unlock the page before
allowing the user to visit it. I think that's not necessarily a great
user experience, as an editor will probably only use the visit link to
quickly glance at the page without Alchemy present, and might not be
aware that this removes their lock on the page.
@mamhoff
Copy link
Contributor Author

mamhoff commented Mar 30, 2021

I like this, although this will have some implications on users page unlocking behavior. But I still think it is preferable. Can you remove the route as well?

Done!

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@tvdeyen tvdeyen merged commit 9ec35e5 into AlchemyCMS:main Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants