From cf29684882ec3d82cc6e6338e5ce8e4d1f03e98c Mon Sep 17 00:00:00 2001 From: Johnny Date: Mon, 25 Aug 2025 19:51:01 +0800 Subject: [PATCH] chore: tweak links --- web/src/components/CreateShortcutDialog.tsx | 4 +-- .../MemoEditor/ActionButton/MarkdownMenu.tsx | 2 +- .../Settings/AccessTokenSection.tsx | 1 - web/src/components/Settings/SSOSection.tsx | 13 +--------- .../components/Settings/StorageSection.tsx | 26 ------------------- .../Settings/UserSessionsSection.tsx | 1 - .../components/Settings/WebhookSection.tsx | 2 +- .../components/Settings/WorkspaceSection.tsx | 10 ------- 8 files changed, 5 insertions(+), 54 deletions(-) diff --git a/web/src/components/CreateShortcutDialog.tsx b/web/src/components/CreateShortcutDialog.tsx index f169662a4..179885c74 100644 --- a/web/src/components/CreateShortcutDialog.tsx +++ b/web/src/components/CreateShortcutDialog.tsx @@ -117,7 +117,7 @@ function CreateShortcutDialog({ open, onOpenChange, shortcut: initialShortcut, o
  • @@ -127,7 +127,7 @@ function CreateShortcutDialog({ open, onOpenChange, shortcut: initialShortcut, o
  • diff --git a/web/src/components/MemoEditor/ActionButton/MarkdownMenu.tsx b/web/src/components/MemoEditor/ActionButton/MarkdownMenu.tsx index 7b4fcd49a..d8bd801e3 100644 --- a/web/src/components/MemoEditor/ActionButton/MarkdownMenu.tsx +++ b/web/src/components/MemoEditor/ActionButton/MarkdownMenu.tsx @@ -88,7 +88,7 @@ const MarkdownMenu = (props: Props) => {
    diff --git a/web/src/components/Settings/AccessTokenSection.tsx b/web/src/components/Settings/AccessTokenSection.tsx index 5b1905764..8954e7060 100644 --- a/web/src/components/Settings/AccessTokenSection.tsx +++ b/web/src/components/Settings/AccessTokenSection.tsx @@ -62,7 +62,6 @@ const AccessTokenSection = () => {

    {t("setting.access-token-section.title")} -

    {t("setting.access-token-section.description")}

    diff --git a/web/src/components/Settings/SSOSection.tsx b/web/src/components/Settings/SSOSection.tsx index 834776fd6..5a2735b9e 100644 --- a/web/src/components/Settings/SSOSection.tsx +++ b/web/src/components/Settings/SSOSection.tsx @@ -1,7 +1,6 @@ import { MoreVerticalIcon } from "lucide-react"; import { useEffect, useState } from "react"; import { toast } from "react-hot-toast"; -import { Link } from "react-router-dom"; import { Button } from "@/components/ui/button"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@/components/ui/dropdown-menu"; import { Separator } from "@/components/ui/separator"; @@ -60,7 +59,7 @@ const SSOSection = () => {
    {t("setting.sso-section.sso-list")} - +
    )} -
    -

    {t("common.learn-more")}:

    -
      -
    • - - {t("setting.sso-section.single-sign-on")} - -
    • -
    -
    { {t("common.save")}
    - -
    -

    {t("common.learn-more")}:

    -
      -
    • - - Docs - Local storage - -
    • -
    • - - Choosing a Storage for Your Resource: Database, S3 or Local Storage? - -
    • -
    -
    ); }); diff --git a/web/src/components/Settings/UserSessionsSection.tsx b/web/src/components/Settings/UserSessionsSection.tsx index 9d6e47a03..af085f83d 100644 --- a/web/src/components/Settings/UserSessionsSection.tsx +++ b/web/src/components/Settings/UserSessionsSection.tsx @@ -74,7 +74,6 @@ const UserSessionsSection = () => {

    {t("setting.user-sessions-section.title")} -

    {t("setting.user-sessions-section.description")}

    diff --git a/web/src/components/Settings/WebhookSection.tsx b/web/src/components/Settings/WebhookSection.tsx index 8ce8a0a42..78e22a148 100644 --- a/web/src/components/Settings/WebhookSection.tsx +++ b/web/src/components/Settings/WebhookSection.tsx @@ -106,7 +106,7 @@ const WebhookSection = () => {
    {t("common.learn-more")} diff --git a/web/src/components/Settings/WorkspaceSection.tsx b/web/src/components/Settings/WorkspaceSection.tsx index 1a090af0e..4f324dc02 100644 --- a/web/src/components/Settings/WorkspaceSection.tsx +++ b/web/src/components/Settings/WorkspaceSection.tsx @@ -110,16 +110,6 @@ const WorkspaceSection = observer(() => { value={workspaceGeneralSetting.additionalScript} onChange={(event) => updatePartialSetting({ additionalScript: event.target.value })} /> -
    - - {t("common.learn-more")} - - -
    {t("setting.workspace-section.disallow-user-registration")}