0.1.30 • Published 19 days ago

@backstage/plugin-stack-overflow v0.1.30

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
19 days ago

Stack Overflow

A plugin that provides stack overflow specific functionality that can be used in different ways (e.g. for homepage and search) to compose your Backstage App.

Getting started

Before we begin, make sure:

  • You have created your own standalone Backstage app using @backstage/create-app and not using a fork of the backstage repository. If you haven't setup Backstage already, start here.

To use any of the functionality this plugin provides, you need to start by configuring your App with the following config:

stackoverflow:
  baseUrl: https://api.stackexchange.com/2.2 # alternative: your internal stack overflow instance

Areas of Responsibility

This stack overflow frontend plugin is primarily responsible for the following:

  • Exposing various stack-overflow related components like <StackOverflowSearchResultListItem /> which can be used for composing the search page, and <HomePageStackOverflowQuestions/> which can be used for composing the homepage.

Use specific search result list item for Stack Overflow Question

When you have your packages/app/src/components/search/SearchPage.tsx file ready to make modifications, add the following code snippet to add the StackOverflowSearchResultListItem when the type of the search results are stack-overflow.

 case 'stack-overflow':
  return (
    <StackOverflowSearchResultListItem
      key={document.location}
      result={document}
    />
  );

Use Stack Overflow Questions on your homepage

Before you are able to add the stack overflow question component to your homepage, you need to go through the homepage getting started guide. When its ready, add the following code snippet to your packages/app/src/components/home/HomePage.tsx file.

<Grid item xs={12} md={6}>
  <HomePageStackOverflowQuestions
    requestParams={{
      tagged: 'backstage',
      site: 'stackoverflow',
      pagesize: 5,
    }}
  />
</Grid>
0.1.30

21 days ago

0.1.29

24 days ago

0.1.29-next.1

1 month ago

0.1.29-next.0

1 month ago

0.1.28

1 month ago

0.1.27

2 months ago

0.1.26

2 months ago

0.1.26-next.2

2 months ago

0.1.26-next.1

2 months ago

0.1.26-next.0

2 months ago

0.1.25

3 months ago

0.1.25-next.3

3 months ago

0.1.25-next.2

3 months ago

0.1.25-next.1

3 months ago

0.1.25-next.0

4 months ago

0.1.24

4 months ago

0.1.24-next.2

4 months ago

0.1.24-next.1

4 months ago

0.1.24-next.0

5 months ago

0.1.23

5 months ago

0.1.23-next.3

5 months ago

0.1.23-next.2

5 months ago

0.1.23-next.1

5 months ago

0.1.18-next.2

10 months ago

0.1.18-next.1

10 months ago

0.1.19-next.0

10 months ago

0.1.19-next.1

9 months ago

0.1.23-next.0

6 months ago

0.1.21-next.2

7 months ago

0.1.21-next.0

8 months ago

0.1.21-next.1

7 months ago

0.1.20-next.3

8 months ago

0.1.22-next.2

6 months ago

0.1.20-next.2

8 months ago

0.1.22-next.1

6 months ago

0.1.20-next.1

9 months ago

0.1.20-next.0

9 months ago

0.1.22-next.0

7 months ago

0.1.20

8 months ago

0.1.21

7 months ago

0.1.22

6 months ago

0.1.18

10 months ago

0.1.19

9 months ago

0.1.18-next.0

11 months ago

0.1.16-next.2

11 months ago

0.1.17-next.3

11 months ago

0.1.16

11 months ago

0.1.17

11 months ago

0.1.15

12 months ago

0.1.16-next.0

12 months ago

0.1.16-next.1

12 months ago

0.1.15-next.2

1 year ago

0.1.15-next.1

1 year ago

0.1.13-next.3

1 year ago

0.1.13

1 year ago

0.1.14

1 year ago

0.1.14-next.0

1 year ago

0.1.13-next.0

1 year ago

0.1.13-next.1

1 year ago

0.1.13-next.2

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.12-next.1

1 year ago

0.1.12-next.0

1 year ago

0.1.12-next.2

1 year ago

0.1.10-next.2

1 year ago

0.1.10-next.1

1 year ago

0.1.10

1 year ago

0.1.11-next.0

1 year ago

0.1.11-next.1

1 year ago

0.1.11-next.2

1 year ago

0.1.7-next.0

2 years ago

0.1.7-next.1

2 years ago

0.1.10-next.0

1 year ago

0.1.8-next.2

1 year ago

0.1.8-next.1

1 year ago

0.1.8-next.0

1 year ago

0.1.8-next.4

1 year ago

0.1.8-next.3

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

2 years ago

0.1.6-next.2

2 years ago

0.1.6-next.1

2 years ago

0.1.6-next.0

2 years ago

0.1.5-next.2

2 years ago

0.1.5-next.3

2 years ago

0.1.5-next.0

2 years ago

0.1.5-next.1

2 years ago

0.1.5

2 years ago

0.1.3-next.3

2 years ago

0.1.3-next.2

2 years ago

0.1.3-next.1

2 years ago

0.1.3-next.0

2 years ago

0.1.2

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2-next.1

2 years ago

0.1.4-next.0

2 years ago

0.1.2-next.0

2 years ago

0.1.4-next.1

2 years ago

0.1.1-next.2

2 years ago

0.1.1-next.1

2 years ago

0.1.1-next.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.1.0-next.1

2 years ago

0.1.0-next.0

2 years ago