diff --git a/packages/core/src/layout/Sidebar/Sidebar.stories.tsx b/packages/core/src/layout/Sidebar/Sidebar.stories.tsx
index 61975a728a..1b646fab8a 100644
--- a/packages/core/src/layout/Sidebar/Sidebar.stories.tsx
+++ b/packages/core/src/layout/Sidebar/Sidebar.stories.tsx
@@ -22,14 +22,27 @@ import {
SidebarDivider,
SidebarSearchField,
SidebarSpace,
+<<<<<<< HEAD
SidebarUserSettings,
ProviderSettingsItem,
+=======
+>>>>>>> a4e66bae0... Update storybook for Sidebar
} from '.';
import HomeOutlinedIcon from '@material-ui/icons/HomeOutlined';
import AddCircleOutlineIcon from '@material-ui/icons/AddCircleOutline';
-import Star from '@material-ui/icons/Star';
import { MemoryRouter } from 'react-router-dom';
-import { githubAuthApiRef } from '@backstage/core-api';
+import {
+ ApiProvider,
+ ApiRegistry,
+ appThemeApiRef,
+ AppThemeSelector,
+ configApiRef,
+ ConfigReader,
+ FeatureFlags,
+ featureFlagsApiRef,
+} from '@backstage/core-api';
+// eslint-disable-next-line import/no-extraneous-dependencies
+import { UserSettings } from '@backstage/plugin-user-settings';
export default {
title: 'Sidebar',
@@ -57,15 +70,45 @@ export const SampleSidebar = () => (
-
-
- }
- />
+
+);
+
+const createConfig = () =>
+ ConfigReader.fromConfigs([
+ {
+ context: '',
+ data: {
+ auth: {
+ providers: {
+ google: { development: {} },
+ },
+ },
+ },
+ },
+ ]);
+
+const config = createConfig();
+
+const apis = ApiRegistry.from([
+ [configApiRef, config],
+ [featureFlagsApiRef, new FeatureFlags()],
+ [appThemeApiRef, AppThemeSelector.createWithStorage([])],
+]);
+
+export const WithUserSettingsPlugin = () => (
+
+ {/* */}
+
+
+
+
+
+
+
+
+
+
+
+
);