mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-09 20:50:58 +00:00
feat: marketplace cards
This commit is contained in:
@@ -86,7 +86,12 @@ export default function PluginConfigPage() {
|
||||
<PluginInstalledComponent ref={pluginInstalledRef} />
|
||||
</TabsContent>
|
||||
<TabsContent value="market">
|
||||
<PluginMarketComponent />
|
||||
<PluginMarketComponent askInstallPlugin={(githubURL) => {
|
||||
setGithubURL(githubURL);
|
||||
setModalOpen(true);
|
||||
setPluginInstallStatus(PluginInstallStatus.WAIT_INPUT);
|
||||
setInstallError(null);
|
||||
}} />
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
|
||||
@@ -96,7 +101,7 @@ export default function PluginConfigPage() {
|
||||
<DialogHeader>
|
||||
<DialogTitle className="flex items-center gap-4">
|
||||
<GithubIcon className="size-6" />
|
||||
<span>从GitHub安装插件</span>
|
||||
<span>从 GitHub 安装插件</span>
|
||||
</DialogTitle>
|
||||
</DialogHeader>
|
||||
{pluginInstallStatus === PluginInstallStatus.WAIT_INPUT && (
|
||||
|
||||
Reference in New Issue
Block a user