0.8.5 • Published 1 day ago

@backstage/plugin-user-settings v0.8.5

Weekly downloads
3,702
License
Apache-2.0
Repository
github
Last release
1 day ago

user-settings

Welcome to the user-settings plugin!

This plugin was created through the Backstage CLI

About the plugin

This plugin provides two components, <UserSettings /> is intended to be used within the <Sidebar> and displays the signed-in users profile picture and name.

The second component is a settings page where the user can control different settings across the App.

Usage

Add the item to the Sidebar:

import { Settings as SidebarSettings } from '@backstage/plugin-user-settings';

<SidebarPage>
  <Sidebar>
    <SidebarSettings />
  </Sidebar>
</SidebarPage>;

Add the page to the App routing:

import { Router as SettingsRouter } from '@backstage/plugin-user-settings';

const AppRoutes = () => (
  <Routes>
    <Route path="/settings" element={<SettingsRouter />} />
  </Routes>
);

Props

Auth Providers

By default, the plugin provides a list of configured authentication providers fetched from app-config.yaml and displayed in the "Authentication Providers" tab.

If you want to supply your own custom list of Authentication Providers, use the providerSettings prop:

const MyAuthProviders = () => (
  <ListItem>
    <ListItemText primary="example" />
    <ListItemSecondaryAction>{someAction}</ListItemSecondaryAction>
  </ListItem>
);

const AppRoutes = () => (
  <Routes>
    <Route
      path="/settings"
      element={<SettingsRouter providerSettings={<MyAuthProviders />} />}
    />
  </Routes>
);

Note that the list of providers expects to be rendered within a MUI <List>

0.8.6-next.2

3 days ago

0.8.6-next.1

10 days ago

0.8.6-next.0

17 days ago

0.8.5

24 days ago

0.8.5-next.1

1 month ago

0.8.5-next.0

1 month ago

0.8.4

1 month ago

0.8.3

2 months ago

0.8.2

2 months ago

0.8.2-next.2

2 months ago

0.8.2-next.1

2 months ago

0.8.2-next.0

2 months ago

0.8.1

3 months ago

0.8.1-next.3

3 months ago

0.8.1-next.2

3 months ago

0.8.1-next.1

3 months ago

0.8.1-next.0

4 months ago

0.8.0

4 months ago

0.8.0-next.2

4 months ago

0.8.0-next.1

4 months ago

0.7.15-next.0

5 months ago

0.7.14

5 months ago

0.7.14-next.4

5 months ago

0.7.14-next.3

5 months ago

0.7.14-next.2

5 months ago

0.7.11-next.1

7 months ago

0.7.11-next.2

7 months ago

0.7.11-next.0

8 months ago

0.7.9

8 months ago

0.7.6

9 months ago

0.7.5

10 months ago

0.7.8

9 months ago

0.7.7

9 months ago

0.7.5-next.1

10 months ago

0.7.5-next.2

10 months ago

0.7.11

7 months ago

0.7.10

8 months ago

0.7.13

6 months ago

0.7.12

6 months ago

0.7.14-next.0

6 months ago

0.7.14-next.1

6 months ago

0.7.8-next.0

9 months ago

0.7.12-next.1

6 months ago

0.7.12-next.0

7 months ago

0.7.12-next.2

6 months ago

0.7.9-next.3

8 months ago

0.7.9-next.2

8 months ago

0.7.9-next.1

8 months ago

0.7.6-next.0

10 months ago

0.7.6-next.1

9 months ago

0.7.5-next.0

11 months ago

0.7.4

11 months ago

0.7.4-next.3

11 months ago

0.7.4-next.2

11 months ago

0.7.3

12 months ago

0.7.4-next.0

12 months ago

0.7.4-next.1

12 months ago

0.7.3-next.1

1 year ago

0.7.3-next.2

1 year ago

0.7.2

1 year ago

0.7.3-next.0

1 year ago

0.7.2-next.3

1 year ago

0.7.1-next.0

1 year ago

0.7.1-next.1

1 year ago

0.7.1-next.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.7.2-next.0

1 year ago

0.7.2-next.2

1 year ago

0.7.2-next.1

1 year ago

0.6.2-next.2

1 year ago

0.6.2-next.1

1 year ago

0.6.2

1 year ago

0.6.3-next.1

1 year ago

0.6.3-next.2

1 year ago

0.6.3-next.0

1 year ago

0.5.0

2 years ago

0.5.1

1 year ago

0.6.2-next.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.1-next.1

2 years ago

0.5.1-next.0

2 years ago

0.6.0-next.1

1 year ago

0.6.0-next.0

1 year ago

0.6.0-next.3

1 year ago

0.6.0-next.2

1 year ago

0.6.0-next.4

1 year ago

0.5.0-next.2

2 years ago

0.5.0-next.1

2 years ago

0.5.0-next.0

2 years ago

0.4.8

2 years ago

0.4.8-next.1

2 years ago

0.4.8-next.0

2 years ago

0.4.8-next.3

2 years ago

0.4.8-next.2

2 years ago

0.4.7-next.1

2 years ago

0.4.7-next.0

2 years ago

0.4.6-next.1

2 years ago

0.4.6-next.0

2 years ago

0.4.6-next.3

2 years ago

0.4.6-next.2

2 years ago

0.4.5-next.1

2 years ago

0.4.5-next.0

2 years ago

0.4.5

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.4.4-next.0

2 years ago

0.4.4

2 years ago

0.4.1-next.0

2 years ago

0.4.3-next.0

2 years ago

0.4.3-next.1

2 years ago

0.4.1

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.0

2 years ago

0.3.19-next.0

2 years ago

0.3.17-next.0

2 years ago

0.3.20

2 years ago

0.3.21

2 years ago

0.3.19

2 years ago

0.3.18

2 years ago

0.3.17

2 years ago

0.3.16

2 years ago

0.3.15

2 years ago

0.3.14

2 years ago

0.3.13

2 years ago

0.3.18-next.0

2 years ago

0.3.12

2 years ago

0.3.11

2 years ago

0.3.8

3 years ago

0.3.9

3 years ago

0.3.10

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.1-alpha.26

4 years ago

0.1.1-alpha.25

4 years ago

0.1.1-alpha.24

4 years ago