Skip to content

Commit 08a550a

Browse files
feat(roadiehq-github-pull-requests): add homepage card mountpoints (#1643)
Signed-off-by: Christoph Jerolimov <[email protected]>
1 parent 5b4a0a5 commit 08a550a

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

workspaces/roadie-backstage-plugins/metadata/roadiehq-backstage-plugin-github-pull-requests.yaml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,91 @@ spec:
5353
if:
5454
allOf:
5555
- isGithubPullRequestsAvailable
56+
- mountPoint: home.page/cards
57+
importName: HomePageYourOpenPullRequestsCard
58+
config:
59+
id: github-assigned-issues
60+
title: "GitHub: Assigned Issues"
61+
description: Issues assigned to the logged in user
62+
cardLayout:
63+
width:
64+
minColumns: 4
65+
maxColumns: 12
66+
defaultColumns: 12
67+
height:
68+
minRows: 2
69+
maxRows: 12
70+
defaultRows: 4
71+
props:
72+
title: "GitHub: Assigned Issues"
73+
query: is:issue state:open archived:false assignee:@me
74+
- mountPoint: home.page/cards
75+
importName: HomePageYourOpenPullRequestsCard
76+
config:
77+
id: github-assigned-pull-requests
78+
title: "GitHub: Assigned Pull Requests"
79+
description: Pull Requests assigned to the logged in user
80+
cardLayout:
81+
width:
82+
minColumns: 4
83+
maxColumns: 12
84+
defaultColumns: 12
85+
height:
86+
minRows: 2
87+
maxRows: 12
88+
defaultRows: 4
89+
props:
90+
title: "GitHub: Assigned Pull Requests"
91+
query: is:pr state:open archived:false assignee:@me
92+
- mountPoint: home.page/cards
93+
importName: HomePageYourOpenPullRequestsCard
94+
config:
95+
id: github-open-issues
96+
title: "GitHub: Open Issues"
97+
description: Issues opened by the logged in user
98+
cardLayout:
99+
width:
100+
minColumns: 4
101+
maxColumns: 12
102+
defaultColumns: 12
103+
height:
104+
minRows: 2
105+
maxRows: 12
106+
defaultRows: 4
107+
props:
108+
title: "GitHub: Open Issues"
109+
query: is:issue state:open archived:false author:@me
110+
- mountPoint: home.page/cards
111+
importName: HomePageYourOpenPullRequestsCard
112+
config:
113+
id: github-open-pull-requests
114+
title: "GitHub: Open Pull Requests"
115+
description: Pull Requests opened by the logged in user
116+
cardLayout:
117+
width:
118+
minColumns: 4
119+
maxColumns: 12
120+
defaultColumns: 12
121+
height:
122+
minRows: 2
123+
maxRows: 12
124+
defaultRows: 4
125+
props:
126+
title: "GitHub: Open Pull Requests"
127+
- mountPoint: home.page/cards
128+
importName: HomePageRequestedReviewsCard
129+
config:
130+
id: github-requested-reviews
131+
title: "GitHub: Requested Reviews"
132+
description: Pull Requests that waiting for a code review of the logged in user
133+
cardLayout:
134+
width:
135+
minColumns: 4
136+
maxColumns: 12
137+
defaultColumns: 12
138+
height:
139+
minRows: 2
140+
maxRows: 12
141+
defaultRows: 4
142+
props:
143+
title: "GitHub: Requested Reviews"

0 commit comments

Comments
 (0)