-
Notifications
You must be signed in to change notification settings - Fork 370
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
change : [M3-6471] - Add resource links to NodeBalancers empty state landing page. #10345
Conversation
Coverage Report: β
|
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.
I'm glad this is getting an update!
Could we get Cypress test coverage for this change? NodeBalancer is really lacking in test coverage, and it would be great if we had something like a nodebalancers-empty-landing-page.spec.ts
for this. (Like we have for domains, images, etc.)
- Confirmed that all links work and open the correct page.
- Confirmed there are no typos.
- Confirmed that Adobe Analytics events are firing on link click.
- Confirmed that empty state page looks good at all screen sizes. (Minus one minor thing noted as an edge case.)
Minor edge case: between widths of 350 and 368 (inclusive), the arrow wraps on the next line, if there's a quick styling fix for this.
Screen.Recording.2024-04-03.at.12.42.06.PM.mov
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.
Confirmed display of resources. β
Approving pending cross browser fix
@@ -11,6 +11,7 @@ interface ResourcesMoreLinkProps extends LinkProps { | |||
|
|||
const StyledMoreLink = styled(Link)<ResourcesMoreLinkProps>(({ ...props }) => ({ | |||
alignItems: props.external ? 'baseline' : 'center', | |||
textWrap: 'balance', |
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.
The intent here is good to get the caret not to wrap by itself, unfortunately textWrap: 'balance'
isn't very well supported and will (for instance) simply not work on safari.
one way to address it is to the same thing that was done for external links icons (negative margin + transform)
https://github.com/linode/manager/blob/develop/packages/manager/src/components/Link.styles.ts#L23-L26
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.
Thanks @abailly-akamai addressed in 68b9883
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.
Description π
Add's resource links to NodeBalancers empty state landing page.
Target release date ποΈ
Please specify a release date to guarantee timely review of this PR. If exact date is not known, please approximate and update it as needed.
Preview π·
How to test π§ͺ
Verification steps
(How to verify changes)
Test coverage:
As an Author I have considered π€
Check all that apply