-
Notifications
You must be signed in to change notification settings - Fork 834
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
[EuiListGroup] Add external
prop
#3858
Comments
I'm not quite sure how this would then interact with the possible |
@cchaos I'm sorry I should have been more clear. I want to show the external icon on the |
Ahh I see. I think you still have an issue though where links/buttons should not be sandwiched between icons. Contextually, looking at this list of "Resources" I would fully expect them to take me outside of the current product. I do not think it is necessary to indicate external. It's similar to how Kibana handles it's Help menu: The icons purely indicate where the link will take them, but adding the external popout logo to every single link will just add noise making it harder for users to scan the list. |
It does make sense @cchaos , @formgeist what do you think? |
@cchaos Thanks for the feedback on this. I definitely agree with your point about the shear icon overload of having both left and right icons in a list of links. The main concern I've heard from internal folks (mostly) is that we're not indicating when we're opening the link in the same or in a new window. We tend to open internal Kibana links in the same window and external links in a new window. The |
I do really like the on hover/focus idea but we'd have to be careful about the space we supply for it. For instance, if the link is within a paragraph of text how do we handle the appearance of an icon within? There's also still a lot to consider with the EuiListGroup (the original ask) though because of the |
@cchaos Very valid points on the general behavior of the |
external
prop
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error. |
Like on
EuiLink
component that has anexternal
property to show an icon which indicates that a link will open on a new window/tab I'd like to add the same property for theEuiListGroup
.The
listItems
property could receive something like:I'll use it on the Observability Overview page, to show the user that some links open on a new tab. elastic/kibana#74223
The text was updated successfully, but these errors were encountered: