diff --git a/client/branded/src/search-ui/input/__snapshots__/SearchContextMenu.test.tsx.snap b/client/branded/src/search-ui/input/__snapshots__/SearchContextMenu.test.tsx.snap
index 74cdf3c0a93f..bb10f48709e7 100644
--- a/client/branded/src/search-ui/input/__snapshots__/SearchContextMenu.test.tsx.snap
+++ b/client/branded/src/search-ui/input/__snapshots__/SearchContextMenu.test.tsx.snap
@@ -4,7 +4,7 @@ exports[`SearchContextMenu should filter list by spec when searching 1`] = `
Array [
import('./setup-wizard'), 'SetupWizard')
+
export interface LegacyLayoutProps
extends SettingsCascadeProps,
PlatformContextProps,
@@ -152,7 +154,17 @@ export const Layout: React.FC = props => {
}
if (isSetupWizardPage) {
- return
+ return (
+
+
+
+ }
+ >
+
+
+ )
}
return (
diff --git a/client/web/src/LegacyLayout.tsx b/client/web/src/LegacyLayout.tsx
index a6d93a0013de..70168e82a6c2 100644
--- a/client/web/src/LegacyLayout.tsx
+++ b/client/web/src/LegacyLayout.tsx
@@ -15,6 +15,7 @@ import { Settings } from '@sourcegraph/shared/src/schema/settings.schema'
import { SearchContextProps } from '@sourcegraph/shared/src/search'
import { SettingsCascadeProps, SettingsSubjectCommonFields } from '@sourcegraph/shared/src/settings/settings'
import { TelemetryProps } from '@sourcegraph/shared/src/telemetry/telemetryService'
+import { lazyComponent } from '@sourcegraph/shared/src/util/lazyComponent'
import { parseQueryAndHash } from '@sourcegraph/shared/src/util/url'
import { FeedbackPrompt, LoadingSpinner, Panel } from '@sourcegraph/wildcard'
@@ -50,7 +51,6 @@ import type { LegacyLayoutRouteComponentProps, LayoutRouteProps } from './routes
import { EnterprisePageRoutes, PageRoutes } from './routes.constants'
import { parseSearchURLQuery, SearchAggregationProps, SearchStreamingProps } from './search'
import { NotepadContainer } from './search/Notepad'
-import { SetupWizard } from './setup-wizard'
import type { SiteAdminAreaRoute } from './site-admin/SiteAdminArea'
import type { SiteAdminSideBarGroups } from './site-admin/SiteAdminSidebar'
import { useExperimentalFeatures } from './stores'
@@ -64,6 +64,8 @@ import { parseBrowserRepoURL } from './util/url'
import styles from './Layout.module.scss'
+const LazySetupWizard = lazyComponent(() => import('./setup-wizard'), 'SetupWizard')
+
export interface LegacyLayoutProps
extends SettingsCascadeProps,
PlatformContextProps,
@@ -196,7 +198,17 @@ export const LegacyLayout: React.FunctionComponent
if (isSetupWizardPage) {
- return
+ return (
+
+
+
+ }
+ >
+
+
+ )
}
return (
diff --git a/client/web/src/components/externalServices/externalServices.tsx b/client/web/src/components/externalServices/externalServices.tsx
index 4ab9542d8fc9..75833dba54d1 100644
--- a/client/web/src/components/externalServices/externalServices.tsx
+++ b/client/web/src/components/externalServices/externalServices.tsx
@@ -15,7 +15,7 @@ import NpmIcon from 'mdi-react/NpmIcon'
import { hasProperty } from '@sourcegraph/common'
import { PerforceIcon, PhabricatorIcon } from '@sourcegraph/shared/src/components/icons'
-import { Link, Code, Text } from '@sourcegraph/wildcard'
+import { Link, Code, Text, setLinkComponent, RouterLink } from '@sourcegraph/wildcard'
import awsCodeCommitSchemaJSON from '../../../../../schema/aws_codecommit.schema.json'
import azureDevOpsSchemaJSON from '../../../../../schema/azuredevops.schema.json'
@@ -45,6 +45,8 @@ import { EditorAction } from '../../settings/EditorActionsGroup'
import { GerritIcon } from './GerritIcon'
+setLinkComponent(RouterLink)
+
/**
* Metadata associated with adding a given external service.
*/
diff --git a/client/web/src/enterprise/codeintel/configuration/components/RepositoryPatternList.module.scss b/client/web/src/enterprise/codeintel/configuration/components/RepositoryPatternList.module.scss
index d06318b476e5..dbb677014ec3 100644
--- a/client/web/src/enterprise/codeintel/configuration/components/RepositoryPatternList.module.scss
+++ b/client/web/src/enterprise/codeintel/configuration/components/RepositoryPatternList.module.scss
@@ -24,7 +24,7 @@
.input-actions {
width: 10%;
display: flex;
- justify-content: start;
+ justify-content: flex-start;
align-self: stretch;
}
diff --git a/client/web/src/settings/DynamicallyImportedMonacoSettingsEditor.tsx b/client/web/src/settings/DynamicallyImportedMonacoSettingsEditor.tsx
index 2488b3a924b7..38db5c2f12a1 100644
--- a/client/web/src/settings/DynamicallyImportedMonacoSettingsEditor.tsx
+++ b/client/web/src/settings/DynamicallyImportedMonacoSettingsEditor.tsx
@@ -100,7 +100,7 @@ export class DynamicallyImportedMonacoSettingsEditor exte
}
private get effectiveValue(): string {
- return this.state.value === undefined ? this.props.value : this.state.value
+ return this.props.value
}
private get isDirty(): boolean {
@@ -130,14 +130,16 @@ export class DynamicallyImportedMonacoSettingsEditor exte
)
}
+ const { className, ...otherProps } = this.props
+
return (
-
+
{this.props.actions && (
)}
}>
{actions.map(({ id, label }) => (
-