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

UI: open docs links in new tab #3010

Merged
merged 2 commits into from
May 5, 2017
Merged

UI: open docs links in new tab #3010

merged 2 commits into from
May 5, 2017

Conversation

brianshumate
Copy link
Member

@brianshumate brianshumate commented May 5, 2017

  • set target="_blank" on all docs URLs linked from within UI

This is helpful because if a user clicks the docs link from UI and has already entered any details into a form, say when creating a new ACL, they will be brought to the docs in the same window as the UI, and will lose everything they've entered into the form when clicking the back button:

consul_by_hashicorp

This can be a frustrating thing from a UX perspective, so this change mitigates that by opening all docs links from the UI in a new tab/window.

- set `target="_blank"` on all docs URLs
@slackpad
Copy link
Contributor

slackpad commented May 5, 2017

This is a good fix! Can you please update all the links to https://www.consul.io/docs/guides/acl.html as well (the old internals page is now obsolete)?

@brianshumate
Copy link
Member Author

Good idea and will do!

Copy link
Contributor

@slackpad slackpad left a comment

Choose a reason for hiding this comment

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

LGTM

@slackpad slackpad merged commit 95d7269 into master May 5, 2017
@slackpad slackpad deleted the jbs-ui-acl-docs branch May 5, 2017 15:51
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