From 0342582d4d72736c250e3fb6365ef2e8db42a4c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Thu, 16 Jul 2026 11:49:07 +0800 Subject: [PATCH] impl open feedback url --- apps/ai-game-creator-shell/src/view/layout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ai-game-creator-shell/src/view/layout.tsx b/apps/ai-game-creator-shell/src/view/layout.tsx index e651f225a..3d6148973 100644 --- a/apps/ai-game-creator-shell/src/view/layout.tsx +++ b/apps/ai-game-creator-shell/src/view/layout.tsx @@ -10,6 +10,7 @@ import { useEffect, useRef, useState } from 'react'; import { getClientProfileDashboard } from '../services/clientApi'; import BRAND_ICON from '../../../../packages/shared/src/icons/taonier-product-ip.png'; +import { openUrl } from '@tauri-apps/plugin-opener'; function cx(...classNames: Array) { return classNames.filter(Boolean).join(' '); } @@ -139,7 +140,7 @@ function SidebarAccountMenu({ className={sidebarMenuItemClass} onClick={ () => showNotice('使用指南') - // TODO open url https://kcnz41bksl1c.feishu.cn/wiki/YN5TwLxreiYHrYk9DNqcjz8QnZc + // TODO doc is not ready } > 使用指南 @@ -149,8 +150,7 @@ function SidebarAccountMenu({ role="menuitem" className={sidebarMenuItemClass} onClick={ - () => showNotice('反馈联系') - // TODO open url https://kcnz41bksl1c.feishu.cn/share/base/form/shrcn1p9WpuZMDxrI5ysLLJhw7k + () => openUrl("https://kcnz41bksl1c.feishu.cn/share/base/form/shrcn1p9WpuZMDxrI5ysLLJhw7k") } > 反馈联系 @@ -296,7 +296,7 @@ export function Sidebar({ className={sidebarHelpButtonClass} onClick={() => { // TODO open the guide - // TODO open url https://kcnz41bksl1c.feishu.cn/wiki/YN5TwLxreiYHrYk9DNqcjz8QnZc + // TODO doc is not ready }} >