-
Notifications
You must be signed in to change notification settings - Fork 6
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
Arc 2730 connection wizard #224
Conversation
…0-connection-wizard
app/jenkins-for-jira-ui/src/App.tsx
Outdated
@@ -54,7 +54,7 @@ export const environmentSettings = { | |||
|
|||
const AppContainer = styled.div` | |||
color: #172B4D; | |||
margin: 24px 36px 24px 0; | |||
margin: ${token('space.200')}${token('space.400')} ${token('space.300')} ${token('space.0')}; |
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.
Needed to adjust a smidge so figured I'd convert to the Atlassian design system spacing.
import { css } from '@emotion/css'; | ||
import { token } from '@atlaskit/tokens'; | ||
|
||
export const orderedList = css` |
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.
Pulled these out and renamed coz they're being used in a couple of places now.
@@ -54,7 +54,7 @@ export const environmentSettings = { | |||
|
|||
const AppContainer = styled.div` | |||
color: #172B4D; | |||
margin: 24px 36px 24px 0; | |||
margin: ${token('space.200')} ${token('space.400')} ${token('space.300')} ${token('space.0')}; |
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.
Had to tweak this a little so figured I'd convert to using the Atlassian space styling while I was at it.
const ConnectionWizard = (): JSX.Element => { | ||
const handleNavigateToServerNameScreen = (e: React.MouseEvent) => { | ||
e.preventDefault(); | ||
// TODO - add onclick in build new server name |
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 will be done when I work on the next screen.
@@ -1,14 +1,171 @@ | |||
import React from 'react'; |
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.
Some tests in here a new but others have been yanked out of ConnectionPanel coz I had to hoist up some of the requests so made more sense to test from the parent component.
What's in this PR?
Added the Connection Wizard and a bit of refactoring.
Why
So folks looking at the admin page with no servers, have a way to kick off a connection! Refactoring was because I had to pull the request for jenkins servers up one level to determine whether to render the connection panel or connection wizard.
Added feature flags
renovated_jenkins_for_jira_config_flow
Affected issues
Arc-2730
How has this been tested?
Locally and unit tests
What's Next?
Some more content updates