impl open feedback url
This commit is contained in:
@@ -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<string | false | null | undefined>) {
|
||||
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
|
||||
}}
|
||||
>
|
||||
<CircleHelp size={17} aria-hidden="true" />
|
||||
|
||||
Reference in New Issue
Block a user