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
Convert all links/link-like-buttons to <LinkButton> #1877
Conversation
packages/app/client/src/ui/dialogs/connectServicePromptDialog/connectServicePromptDialog.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/dialogs/dataCollectionDialog/dataCollectionDialog.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/dialogs/getStartedWithCSDialog/getStartedWithCSDialog.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/dialogs/getStartedWithCSDialog/getStartedWithCSDialog.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/shell/explorer/servicesExplorer/servicesExplorer.scss
Outdated
Show resolved
Hide resolved
...ent/src/ui/shell/explorer/servicesExplorer/connectedServiceEditor/connectedServiceEditor.tsx
Show resolved
Hide resolved
Coverage also dropped 0.4%. This needs tests, half a percent is pretty huge |
packages/app/client/src/ui/dialogs/botCreationDialog/botCreationDialog.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/dialogs/botSettingsEditor/botSettingsEditor.spec.tsx
Outdated
Show resolved
Hide resolved
@@ -102,4 +117,11 @@ describe('The ConnectServicePromptDialog component should', () => { | |||
instance.props.addServiceManually(); | |||
expect(spy).toHaveBeenCalledWith(2); | |||
}); | |||
|
|||
it('should call the appropriate command when onAnchorClick is called', async () => { |
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.
async
is unnecsesary
@@ -64,4 +71,11 @@ describe('<DataCollectionDialogContainer />', () => { | |||
|
|||
expect(hideDialogSpy).toHaveBeenCalledWith(true); | |||
}); | |||
|
|||
it('should call the appropriate command when onAnchorClick is called', async () => { |
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.
async
is unnecessary
@@ -196,4 +200,18 @@ describe('The GetStartedWithCSDialog component should', () => { | |||
const prompt = parent.find(GetStartedWithCSDialog); | |||
expect(prompt.instance().content).toBeNull(); | |||
}); | |||
|
|||
it('should call the appropriate command when onAnchorClick is called', async () => { |
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.
async
is unnecessary
...ges/app/client/src/ui/shell/explorer/endpointExplorer/endpointEditor/endpointEditor.spec.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/editor/emulator/parts/inspector/inspector.spec.tsx
Outdated
Show resolved
Hide resolved
...rc/ui/shell/explorer/servicesExplorer/connectedServiceEditor/connectedServiceEditor.spec.tsx
Outdated
Show resolved
Hide resolved
...rc/ui/shell/explorer/servicesExplorer/connectedServicePicker/connectedServicePicker.spec.tsx
Outdated
Show resolved
Hide resolved
packages/app/client/src/ui/shell/explorer/servicesExplorer/servicesExplorer.spec.tsx
Outdated
Show resolved
Hide resolved
…ulator into corinagum/1825
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.
Nice!
#1712, #1806, #1825
This PR fixes the roles of all buttons and links that look like links (See above: blue text is our example)
There shouldn't be any visual changes, this is a semantics / tests update. Dialog/explorer links will be the darker blue, while pages will be the default blue.
@tonyanziano, sorry for the ginoromous PR.