feat: add MCP service tag filtering, transaction record viewing, and various optimizations
This commit is contained in:
1 parent
276817e624
commit
d6dea1f1e8
29 files changed
+1367
-87
No files matched your search
@@ -34,6 +34,7 @@ import {
|
||||
Palette,
|
||||
SquareMenu,
|
||||
TableOfContents,
|
||||
Tags,
|
||||
Trello,
|
||||
XIcon,
|
||||
} from "lucide-react";
|
||||
@@ -161,6 +162,12 @@ const SystemSettingsModal: React.FC<SystemSettingsModalProps> = ({
|
||||
icon: <SquareMenu size={16} />,
|
||||
description: "Configure site navigation and menus",
|
||||
},
|
||||
{
|
||||
key: SettingModalTab.TAGS_BAR,
|
||||
label: "Tags Bar",
|
||||
icon: <Tags size={16} />,
|
||||
description: "Configure tags bar display",
|
||||
},
|
||||
{
|
||||
key: SettingModalTab.FAQ,
|
||||
label: "FAQ",
|
||||
@@ -240,6 +247,7 @@ const SystemSettingsModal: React.FC<SystemSettingsModalProps> = ({
|
||||
items: groupItems([
|
||||
SettingModalTab.THEME,
|
||||
SettingModalTab.NAVIGATION,
|
||||
SettingModalTab.TAGS_BAR,
|
||||
SettingModalTab.FAQ,
|
||||
]),
|
||||
},
|
||||
|
||||
@@ -31,6 +31,7 @@ import { AdminConfig, EmailConfig } from "@/types/system";
|
||||
import { LoginSettingsContent } from "./LoginSettingsContent";
|
||||
import { EmailConfigForm } from "@/components/system-setting/EmailConfigForm";
|
||||
import { LanguageSetting } from "@/components/system-setting/LanguageSetting";
|
||||
import { TagsBarSetting } from "../system-setting/TagsBarSetting";
|
||||
|
||||
interface SystemSettingsRightContentProps {
|
||||
filteredKeys: string[];
|
||||
@@ -201,6 +202,13 @@ const SystemSettingsRightContent: React.FC<SystemSettingsRightContentProps> = ({
|
||||
/>
|
||||
)}
|
||||
|
||||
{section.key === "tagsBar" && (
|
||||
<TagsBarSetting
|
||||
isEnabled={!!platformConfig.tag_bar_display}
|
||||
onSave={onSavePlatformConfig}
|
||||
/>
|
||||
)}
|
||||
|
||||
{section.key === "faq" && (
|
||||
<FaqSettings
|
||||
onSave={saveFaqConfig}
|
||||
|
||||
@@ -8,6 +8,7 @@ export enum SettingModalTab {
|
||||
CODE_INJECTION = "code-injection",
|
||||
XPACK_EXPLORE = "xpack-explore",
|
||||
NAVIGATION = "navigation",
|
||||
TAGS_BAR = "tagsBar",
|
||||
FAQ = "faq",
|
||||
CHANGE_PASSWORD = "change-password",
|
||||
EMAIL_LOGIN_SETTINGS = "email-login-settings",
|
||||
|
||||
Reference in new issue
Block a user