Skip to content

Commit 0009eae

Browse files
committed
Add graphql playground link to tools panel
1 parent 8efae13 commit 0009eae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ui/v2.5/src/components/Settings/SettingsToolsPanel.tsx

+10
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,23 @@ import { Link } from "react-router-dom";
55
import { Setting } from "./Inputs";
66
import { SettingSection } from "./SettingSection";
77
import { PatchContainerComponent } from "src/patch";
8+
import { ExternalLink } from "../Shared/ExternalLink";
89

910
const SettingsToolsSection = PatchContainerComponent("SettingsToolsSection");
1011

1112
export const SettingsToolsPanel: React.FC = () => {
1213
return (
1314
<SettingSection headingID="config.tools.scene_tools">
1415
<SettingsToolsSection>
16+
<Setting
17+
heading={
18+
<ExternalLink href="/playground">
19+
<Button>
20+
<FormattedMessage id="config.tools.graphql_playground" />
21+
</Button>
22+
</ExternalLink>
23+
}
24+
/>
1525
<Setting
1626
heading={
1727
<Link to="/sceneFilenameParser">

0 commit comments

Comments
 (0)