Skip to content

Conversation

SweetOBurritO
Copy link

Hey, I just made a Pull Request!

Add a composable home page component that can display open pull requests for a team on the home page of a backstage instance. #3995

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

SweetOBurritO and others added 2 commits May 14, 2025 10:13
Signed-off-by: Jarred Channer <[email protected]>
Signed-off-by: sageaaron <[email protected]>
Co-Authored-By: sageaaron <[email protected]>
@SweetOBurritO SweetOBurritO requested review from a team and gregorytalita as code owners May 14, 2025 12:37
@SweetOBurritO SweetOBurritO requested a review from Parsifal-M May 14, 2025 12:37
@backstage-goalie
Copy link
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-github-pull-requests-board workspaces/github-pull-requests-board/plugins/github-pull-requests-board minor v0.5.1

Copy link
Contributor

github-actions bot commented Jun 2, 2025

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Jun 2, 2025
@github-actions github-actions bot closed this Jun 9, 2025
@04kash 04kash reopened this Jul 15, 2025
@04kash
Copy link
Member

04kash commented Jul 15, 2025

Reopening this PR as discussed in the SIG today.
Also pinging @Sarabadu to give this a look

Copy link
Contributor

@Sarabadu Sarabadu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Sweet0Burrit0 I been working in some related changes on #4710. Feel free to add your thoughts on that approach.

adding some comments on this changes too

Comment on lines +65 to +66
"@backstage/plugin-home": "^0.8.7",
"@backstage/plugin-home-react": "^0.1.25",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Should we generate a different package for this component? something like home-module-github-pull-request-board

maybe the home is quite common, but not sure if is better to not add possible unneeded dependencies

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you try to ask here @Sarabadu? They need to import this package as it's being used in code, in the plugin.ts file.

'@backstage-community/plugin-github-pull-requests-board': minor
---

Adds a composable home page component to view pull requests for a team's repositories
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would de nice to include some lines on the readme on "how to use this home page component"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@awanlin awanlin self-requested a review July 29, 2025 14:36
Copy link
Contributor

@awanlin awanlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contributions and I'm very sorry this took so long to review. I've given this a look over and left some comments 👍

);

/** @public */
export const HomePageTeamPullRequestsCard = homePlugin.provide(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export const HomePageTeamPullRequestsCard = homePlugin.provide(
export const HomePageTeamPullRequestsCard = githubPullRequestsBoardPlugin.provide(

You don't set this on the homePlugin but for the current plugin. Then you can remove line 23 above and the reference to this package in the package.json

} from '@backstage/core-plugin-api';
import { rootRouteRef } from './routes';
import { createCardExtension } from '@backstage/plugin-home-react';
import { homePlugin } from '@backstage/plugin-home';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line

Comment on lines +65 to +66
"@backstage/plugin-home": "^0.8.7",
"@backstage/plugin-home-react": "^0.1.25",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you try to ask here @Sarabadu? They need to import this package as it's being used in code, in the plugin.ts file.

"@backstage/frontend-plugin-api": "^0.10.0",
"@backstage/integration": "^1.16.2",
"@backstage/plugin-catalog-react": "^1.16.0",
"@backstage/plugin-home": "^0.8.7",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this line as we don't use anything from this package, there's a comment about this in the plugin.ts for full context,

'@backstage-community/plugin-github-pull-requests-board': minor
---

Adds a composable home page component to view pull requests for a team's repositories
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions bot added the stale label Aug 16, 2025
@github-actions github-actions bot closed this Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants