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

Fix ip address ui in host details #1944

Merged
merged 20 commits into from
Oct 27, 2023
Merged

Fix ip address ui in host details #1944

merged 20 commits into from
Oct 27, 2023

Conversation

EMaksy
Copy link
Member

@EMaksy EMaksy commented Oct 20, 2023

Description

This pr will fix IP address overflow in Host Details view.
Adding additionally a tooltip when there are more then 2 ip addresses. This has the nice effect that the user still can have an overview of all ip's

Problem:

The Host Details view didn't handle multiple IP addresses, leading to an overflow issue.

image

Solution:

Host Details view can now manage and display many IP addresses without breaking the ui

10 IP's
image
5 IP's
image
3 IP's
image
2 IP's
image

How was this tested?

Added automated test

@EMaksy EMaksy added bug Something isn't working enhancement New feature or request javascript Pull requests that update Javascript code labels Oct 20, 2023
@EMaksy EMaksy self-assigned this Oct 20, 2023
@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch 4 times, most recently from 91d12b8 to dd5d048 Compare October 23, 2023 15:12
@EMaksy EMaksy added the env Create an ephimeral environment for the pr branch label Oct 23, 2023
@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch 2 times, most recently from 81dbbcd to 8e8d860 Compare October 23, 2023 15:23
@EMaksy EMaksy marked this pull request as ready for review October 24, 2023 07:10
Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

Hey @EMaksy
Some comments/suggestions

Copy link
Contributor

@jagabomb jagabomb left a comment

Choose a reason for hiding this comment

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

@EMaksy So far so good, can I be annoying and ask you to add a margin left of the start of the IP addresses (e.g: 100.180.100.110...), whenever the icon is displayed? I like how the icon has a gap between the text in the Saptune Tuning section. I have attached an example below.
Screenshot 2023-10-24 at 10 49 48

@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch 2 times, most recently from 994068b to fbc903e Compare October 24, 2023 12:39
@EMaksy EMaksy requested a review from dottorblaster October 24, 2023 12:40
@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch from fbc903e to 0e1da3f Compare October 24, 2023 12:49
@arbulu89 arbulu89 changed the title Fix ip adress ui in host details Fix ip address ui in host details Oct 25, 2023
@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch 7 times, most recently from 274ac43 to 5a44f47 Compare October 25, 2023 10:28
Copy link
Contributor

@jagabomb jagabomb left a comment

Choose a reason for hiding this comment

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

LGTM! Small thing is should we write the title with a capital "A' so that it is IP Addresses. It is the only parameter in sentence case currently in this section. Other than that I able happy.

Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

@EMaksy
Almost there!
Let's put the story in the already existing HostDetails view storybook

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

Just a comment

@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch 2 times, most recently from 10997a1 to 93177a4 Compare October 26, 2023 11:29
Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

Thank you @EMaksy

Copy link
Contributor

@rtorrero rtorrero left a comment

Choose a reason for hiding this comment

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

Great work @EMaksy nothing to add!

@EMaksy EMaksy force-pushed the fix_ip_adress_in_host_details branch from 93177a4 to 7fedd0d Compare October 27, 2023 07:56
@EMaksy EMaksy merged commit 7ea258a into main Oct 27, 2023
@EMaksy EMaksy deleted the fix_ip_adress_in_host_details branch October 27, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request env Create an ephimeral environment for the pr branch javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

5 participants