-
Notifications
You must be signed in to change notification settings - Fork 991
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
Fixes #37592 - open Documentation in new tab in generic table #10222
Conversation
Is this hasHelpPage flag on the Table used anywhere in any pages? I didn't see any component using it right now to test it. |
It was noticed when reviewing a pr in foreman_ansible, to test I added hasHelpPage in webpack/assets/javascripts/react_app/routes/Models/ModelsPage/index.js |
Tested that documentation in action toolbar for the table opens in a new tab with the change. Non-write Ack 👍🏼 |
action: { | ||
href: customHelpURL || helpURL(), | ||
target: '_blank', | ||
rel: 'noopener noreferrer', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to this answer on StackOverflow, all browsers handle this automatically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know, removed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK based on other reviews. 👍
No description provided.