Skip to content

Commit 00e591a

Browse files
committed
chore: updated packages for new name
2 parents 4186064 + 6a61bad commit 00e591a

File tree

17 files changed

+8640
-7818
lines changed

17 files changed

+8640
-7818
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Backstage - Stack Overflow for Teams Plugin
32

43
## Overview
@@ -9,26 +8,33 @@ These plugins also allow you to securely create **Stack Overflow for Teams** que
98

109
## Key Features
1110

11+
### OAuth Authentication
12+
13+
The plugin uses OAuth authentication to ensure that only authorised users can post questions to your Stack Overflow instance from Backstage. The OAuth process is secure, user-friendly, and integrates seamlessly with Backstage, providing a safe way to verify user identities before allowing access to question creation features.
14+
1215
### Top Users and Tags
1316
Displays the top users and tags from your Stack Overflow instance, giving you insights into the most active contributors and trending topics.
1417

15-
![alt text](https://i.imgur.com/vsCQUx2.png)
16-
![alt text](https://i.imgur.com/Wd2mzfa.png)
18+
<img width="2260" height="1264" alt="image" src="https://github.com/user-attachments/assets/a28f5380-f9f8-453a-b60e-855c02c45f38" />
19+
<img width="449" height="316" alt="Screenshot 2025-08-05 at 23 14 15" src="https://github.com/user-attachments/assets/64fbb6bf-b1fd-422b-8be6-7b5b1a2d5483" />
20+
1721

1822
### Question Indexing
19-
Retrieves all the questions from your Stack Overflow instance and indexes them into Backstage search. This makes it easier to search and discover questions across your organization.
23+
Retrieves all the questions from your Stack Overflow instance and indexes them into Backstage search. This makes it easier to search and discover questions across your organisation.
2024

2125
![alt text](https://i.imgur.com/HLKNAZb.png)
2226

2327
### Stack Overflow Hub
24-
A centralized hub within Backstage that showcases the top questions. The hub also allows you to filter questions like you would on Stack Overflow.
28+
A centralised hub within Backstage that showcases the top questions. The hub also allows you to filter questions like you would on Stack Overflow.
29+
30+
<img width="2269" height="1260" alt="image" src="https://github.com/user-attachments/assets/da2059ec-3507-4b2c-86c4-ce799d2d4d67" />
31+
32+
### Question Creation Form
2533

26-
![alt text](https://i.imgur.com/WUJMl48.png)
34+
Once authenticated, users can create questions using a dedicated form within Backstage. This form features a rich text editor for formatting questions, question tips and tag autocompletion to help users categorise their questions efficiently.
2735

28-
### OAuth Authentication for Secure Question Creation
29-
One of the most exciting features of this plugin is the ability to securely create questions on your Stack Overflow instance directly from Backstage using OAuth. The authentication process is secure, ensuring that only authorized users can post questions, and it is designed to seamlessly integrate with Backstage.
36+
<img width="2553" height="1263" alt="image" src="https://github.com/user-attachments/assets/2e3a89c6-291f-43d2-ba1e-7e284c7775bb" />
3037

31-
![alt text](https://i.imgur.com/8VxMDys.png)
3238

3339
## Demo Docker Image
3440

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@
4040
},
4141
"resolutions": {
4242
"@types/react": "^18",
43-
"@types/react-dom": "^18"
43+
"@types/react-dom": "^18",
44+
"@backstage/backend-defaults": "0.13.0",
45+
"@backstage/plugin-catalog-backend": "3.1.2",
46+
"@backstage/plugin-auth-backend": "0.25.5",
47+
"@backstage/plugin-scaffolder-backend": "1.33.0",
48+
"@backstage/backend-plugin-api": "1.4.4",
49+
"@backstage/config": "1.3.5",
50+
"@backstage/cli": "0.34.4"
4451
},
4552
"prettier": "@backstage/cli/config/prettier",
4653
"lint-staged": {

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@backstage/theme": "^0.6.3",
4141
"@material-ui/core": "^4.12.2",
4242
"@material-ui/icons": "^4.9.1",
43-
"backstage-plugin-stack-overflow-teams": "workspace:*",
43+
"@stackoverflow/backstage-plugin-stack-overflow-teams": "workspace:*",
4444
"react": "^18.0.2",
4545
"react-dom": "^18.0.2",
4646
"react-router": "^6.3.0",

packages/app/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { AppRouter, FlatRoutes } from '@backstage/core-app-api';
3636
import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
3737
import { RequirePermission } from '@backstage/plugin-permission-react';
3838
import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common/alpha';
39-
import { StackOverflowTeamsPage } from 'backstage-plugin-stack-overflow-teams';
39+
import { StackOverflowTeamsPage } from '@stackoverflow/backstage-plugin-stack-overflow-teams';
4040

4141
const app = createApp({
4242
apis,

packages/app/src/components/Root/Root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import MenuIcon from '@material-ui/icons/Menu';
2727
import SearchIcon from '@material-ui/icons/Search';
2828
import { MyGroupsSidebarItem } from '@backstage/plugin-org';
2929
import GroupIcon from '@material-ui/icons/People';
30-
import { StackOverflowIcon, StackOverflowPostQuestionModal } from 'backstage-plugin-stack-overflow-teams';
30+
import { StackOverflowIcon, StackOverflowPostQuestionModal } from '@stackoverflow/backstage-plugin-stack-overflow-teams';
3131

3232
const useSidebarLogoStyles = makeStyles({
3333
root: {

packages/app/src/components/search/SearchPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { useApi } from '@backstage/core-plugin-api';
1919
import {
2020
StackOverflowIcon,
2121
StackOverflowSearchResultListItem,
22-
} from 'backstage-plugin-stack-overflow-teams';
22+
} from '@stackoverflow/backstage-plugin-stack-overflow-teams';
2323

2424
const useStyles = makeStyles((theme: Theme) => ({
2525
bar: {

packages/backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"@backstage/plugin-search-backend-module-techdocs": "^0.3.4",
4141
"@backstage/plugin-search-backend-node": "^1.3.6",
4242
"@backstage/plugin-techdocs-backend": "^1.11.4",
43+
"@stackoverflow/backstage-plugin-stack-overflow-teams-backend": "workspace:*",
44+
"@stackoverflow/backstage-stack-overflow-teams-collator": "workspace:*",
4345
"app": "link:../app",
44-
"backstage-plugin-stack-overflow-teams-backend": "workspace:*",
45-
"backstage-stack-overflow-teams-collator": "workspace:*",
4646
"better-sqlite3": "^9.0.0",
4747
"dotenv": "^16.4.7",
4848
"node-gyp": "^10.0.0",

packages/backend/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ backend.add(import('@backstage/plugin-kubernetes-backend'));
5757

5858
// StackOverflow
5959

60-
backend.add(import('backstage-plugin-stack-overflow-teams-backend')); // Teams Backend
61-
backend.add(import('backstage-stack-overflow-teams-collator')); // Optional questions collator
60+
backend.add(import('@stackoverflow/backstage-plugin-stack-overflow-teams-backend')); // Teams Backend
61+
backend.add(import('@stackoverflow/backstage-stack-overflow-teams-collator')); // Optional questions collator
6262

6363
backend.start();

plugins/search-backend-module-stack-overflow-teams-collator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Add the module package as a dependency:
5757

5858
```bash
5959
# From your Backstage root directory
60-
yarn --cwd packages/backend add backstage-stack-overflow-teams-collator
60+
yarn --cwd packages/backend add @stackoverflow/backstage-stack-overflow-teams-collator
6161
```
6262

6363
Add the collator to your backend instance, along with the search plugin itself:
@@ -69,7 +69,7 @@ import { createBackend } from '@backstage/backend-defaults';
6969
const backend = createBackend();
7070
backend.add(import('@backstage/plugin-search-backend'));
7171
backend.add(
72-
import('backstage-stack-overflow-teams-collator'),
72+
import('@stackoverflow/backstage-stack-overflow-teams-collator'),
7373
);
7474
backend.start();
7575
```

plugins/search-backend-module-stack-overflow-teams-collator/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
"test": "backstage-cli package test"
3535
},
3636
"dependencies": {
37-
"@backstage/backend-plugin-api": "latest",
38-
"@backstage/config": "latest",
39-
"@backstage/plugin-search-backend-node": "latest",
40-
"@backstage/plugin-search-common": "latest",
37+
"@backstage/backend-plugin-api": "^1.4.4",
38+
"@backstage/config": "^1.3.5",
39+
"@backstage/plugin-search-backend-node": "^1.3.16",
40+
"@backstage/plugin-search-common": "^1.2.20",
4141
"qs": "^6.9.4"
4242
},
4343
"devDependencies": {
44-
"@backstage/backend-test-utils": "latest",
45-
"@backstage/cli": "latest",
44+
"@backstage/backend-test-utils": "^1.9.1",
45+
"@backstage/cli": "^0.34.4",
4646
"msw": "^1.2.1",
4747
"typescript": "^5.8.2"
4848
}

0 commit comments

Comments
 (0)