-
-
Notifications
You must be signed in to change notification settings - Fork 737
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
feat: warn about sdk update with feature dependencies #5065
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
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.
It's probably fine to put this in, but I have a few comments. The important one is around accessibility. The other one is more a nit, but I see we've already done that.
target='_blank' | ||
rel='noreferrer' | ||
> | ||
Read more |
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.
This link text doesn't say anything about what the link points to. It should be possible to understand what a link points to without any context. Can we do something like this instead?
Read more | |
Client SDK support for feature dependencies |
Potentially preface the link (outside of the a
tag) with "Read more about"?
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.
fixing
@@ -189,6 +190,8 @@ export const AddDependencyDialogue = ({ | |||
secondaryButtonText='Cancel' | |||
> | |||
<Box> | |||
<DependenciesUpgradeAlert/> | |||
<br /> |
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.
Why do we use the br
tag? Shouldn't spacing between elements be handled by styling?
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.
copied from existing patterns but agree that styled components is more elegant. Adjusting it now
About the changes
Important files
Discussion points