Merge pull request #118 from modelcontextprotocol/ashwin/githublink

feat: add GitHub link to sidebar for bug reports and contributions
This commit is contained in:
David Soria Parra
2024-12-20 10:57:01 +00:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
import { useState } from "react";
import { Play, ChevronDown, ChevronRight, CircleHelp, Bug } from "lucide-react";
import { Play, ChevronDown, ChevronRight, CircleHelp, Bug, Github } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import {
@@ -232,7 +232,7 @@ const Sidebar = ({
setTheme(value as "system" | "light" | "dark")
}
>
<SelectTrigger className="w-[120px]" id="theme-select">
<SelectTrigger className="w-[100px]" id="theme-select">
<SelectValue />
</SelectTrigger>
<SelectContent>
@@ -253,6 +253,11 @@ const Sidebar = ({
<Bug className="w-4 h-4 text-gray-800" />
</Button>
</a>
<a href="https://github.com/modelcontextprotocol/inspector" target="_blank" rel="noopener noreferrer">
<Button variant="ghost" title="Report bugs or contribute on GitHub">
<Github className="w-4 h-4 text-gray-800" />
</Button>
</a>
</div>
</div>
</div>