-
-
Notifications
You must be signed in to change notification settings - Fork 733
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: Onboarding connect api token generation #8054
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
@@ -185,49 +428,8 @@ export const ConnectSDKDialog = ({ | |||
</NextStepSectionSpacedContainer> | |||
</NextStepSection> | |||
</APIKeyGeneration> | |||
<ConceptsDefinitions> |
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.
extracted to separate component for readability
); | ||
}; | ||
|
||
const ChooseEnvironment = ({ |
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.
extracted into component for readability
return null; | ||
} | ||
|
||
const ConceptsDefinitions = () => ( |
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.
extracted for readability
@@ -59,7 +67,7 @@ export const APIKeyGeneration = styled('div')(({ theme }) => ({ | |||
backgroundColor: theme.palette.background.paper, | |||
display: 'flex', | |||
flexDirection: 'column', | |||
flexBasis: '70%', | |||
flex: 1, |
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.
take whole dialog in mobile view
fontSize: theme.fontSizes.smallBody, | ||
})); | ||
|
||
function splitToken( |
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.
Can this be const splitToken, and can we have test for it?
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.
yup, will do
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.
Approved with suggestion
About the changes
When Clicking generate token or token exists for a given env you get token anatomy
On mobile we move extra information and only show the token
Details:
Important files
Discussion points