Add redirect opens in new tab. This causes confusion.

Created on 5 August 2020, over 4 years ago
Updated 16 February 2024, 10 months ago

When I add a URL redirect to a node using the node's URL redirects - Add URL redirect button, it opens in a new tab. When I save the redirect, it sends me back to the original node in the same tab. So I have two copies of the node open. This confuses our staff because they don't know which version of the node to use.

Also, if they added new content before adding the redirect, that content is lost.

I notice, when I delete a redirect on the node's edit page, the delete redirect page opens in the current tab. So when it closes it returns me to the node in the same tab. (Although any unsaved changes in the node's content made before deleting the URL are lost).

Steps to reproduce the problem.
  1. Create a node. Save it.
  2. Edit the node and add a redirect using the URL redirects link, then the Add URL redirect button. The button opens a new tab.
  3. Add and save the URL redirect .
  4. Saving the redirect it returns you to the node in your current window or tab. You now have the same node open in two windows or tabs.

Proposed resolution.
Have the link open in the same tab? Or add a message instructing users to save their content before adding a redirect.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

User interface

Created by

🇨🇦Canada keithn Ottawa

Live updates comments and jobs are added and updated live.
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