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: can select client and frontend sdk #8066

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Sep 3, 2024

About the changes

Can select SDK and SDK type
Screenshot 2024-09-03 at 17 37 09

Details:

  • can navigate between first two stages including going back to stage 1 with SDK selection
  • each stage selects either SDK name and type of the environment
  • once you select one env it stays persistent even when you go back and forth

Next PR:

  • add icons for SDKs
  • add tests when the whole feature is complete

Important files

Discussion points

Copy link

vercel bot commented Sep 3, 2024

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 Sep 3, 2024 3:42pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 3, 2024 3:42pm

Copy link
Contributor

github-actions bot commented Sep 3, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@@ -68,25 +68,48 @@ export const ConnectSdkDialog = ({
}: IConnectSDKDialogProps) => {
const theme = useTheme();
const isLargeScreen = useMediaQuery(theme.breakpoints.up('lg'));
const [sdk, setSdk] = useState<Sdk | null>(null);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

parent component will keep track of sdk and env because we need to remember you previous setting when going back and forth

@@ -57,7 +57,7 @@ const NextStepSectionSpacedContainer = styled('div')(({ theme }) => ({

type OnboardingStage =
| { name: 'select-sdk' }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will probably remove name prop in the next PR

@kwasniew kwasniew requested a review from sjaanus September 3, 2024 15:43
@kwasniew kwasniew merged commit 8c5a3e0 into main Sep 4, 2024
11 checks passed
@kwasniew kwasniew deleted the select-sdk-onboarding-pt-2 branch September 4, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants