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

feat: warn about sdk update with feature dependencies #5065

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

kwasniew
Copy link
Contributor

About the changes

Screenshot 2023-10-17 at 11 34 52

Important files

Discussion points

@vercel
Copy link

vercel bot commented Oct 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2023 11:33am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 17, 2023 11:33am

Copy link
Contributor

@thomasheartman thomasheartman left a 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
Copy link
Contributor

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?

Suggested change
Read more
Client SDK support for feature dependencies

Potentially preface the link (outside of the a tag) with "Read more about"?

Copy link
Contributor Author

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 />
Copy link
Contributor

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?

Copy link
Contributor Author

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

@kwasniew kwasniew merged commit 163545d into main Oct 17, 2023
13 of 14 checks passed
@kwasniew kwasniew deleted the sdk-warning-feature-dependencies branch October 17, 2023 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants