Skip to content

Commit 95726ad

Browse files
add feedback link (#2281)
1 parent 15315b9 commit 95726ad

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

ui/src/components/AppProvider.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { ThemeProvider, BaseStyles, Box } from "@primer/react";
22
import type { ReactNode } from "react";
33
import { useEffect } from "react";
4+
import { FeedbackFooter } from "./FeedbackFooter";
45

56
interface AppProviderProps {
67
children: ReactNode;
@@ -19,7 +20,10 @@ export function AppProvider({ children }: AppProviderProps) {
1920
return (
2021
<ThemeProvider colorMode="auto">
2122
<BaseStyles>
22-
<Box p={3}>{children}</Box>
23+
<Box p={3}>
24+
{children}
25+
<FeedbackFooter />
26+
</Box>
2327
</BaseStyles>
2428
</ThemeProvider>
2529
);
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { Box, Text } from "@primer/react";
2+
3+
export function FeedbackFooter() {
4+
return (
5+
<Box
6+
display="flex"
7+
justifyContent="center"
8+
mt={2}
9+
>
10+
<Text sx={{ color: "fg.subtle", fontSize: 0, textAlign: "center" }}>
11+
Help us improve MCP Apps support in the GitHub MCP Server
12+
<br />
13+
github.com/github/github-mcp-server/issues/new?template=insiders-feedback.md
14+
</Text>
15+
</Box>
16+
);
17+
}

0 commit comments

Comments
 (0)