Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions monkeyai/admin/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { ConsolePage } from "@/pages/console-page"
import { BillingDetailsPage } from "@/pages/billing-details-page"
import { BillingSettingsPage } from "@/pages/billing-settings-page"
import { ExpertsPage } from "@/pages/experts-page"
import { FeedbackPage } from "@/pages/feedback-page"
import { KnowledgeBasesPage } from "@/pages/knowledge-bases-page"
import { LoginPage } from "@/pages/login-page"
import { ClientLoginPage } from "@/pages/client-login-page"
Expand Down Expand Up @@ -129,6 +130,8 @@ export function App() {
<BillingSettingsPage />
) : page.path === CONSOLE_ROUTES.membersAndGroups ? (
<MembersAndGroupsPage />
) : page.path === CONSOLE_ROUTES.feedback ? (
<FeedbackPage />
) : page.path === CONSOLE_ROUTES.operationLogs ? (
<OperationLogsPage />
) : page.path === CONSOLE_ROUTES.otherSettings ? (
Expand Down
4 changes: 4 additions & 0 deletions monkeyai/admin/src/components/app-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ export function AppSidebar({
title: t("pages.membersAndGroups.title"),
url: CONSOLE_ROUTES.membersAndGroups,
},
{
title: t("pages.feedback.title"),
url: CONSOLE_ROUTES.feedback,
},
{
title: t("pages.operationLogs.title"),
url: CONSOLE_ROUTES.operationLogs,
Expand Down
54 changes: 54 additions & 0 deletions monkeyai/admin/src/i18n/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,60 @@ export const enUS = {
confirm: "Save",
},
},
feedback: {
title: "User Feedback",
description: "Review feedback and screenshots submitted by Agent users.",
category: "Category",
state: "Status",
allCategories: "All categories",
allStates: "All statuses",
categories: {
bug: "Bug report",
feature: "Feature request",
experience: "Experience",
other: "Other",
},
states: {
uploading: "Uploading",
new: "New",
resolved: "Resolved",
ignored: "Ignored",
failed: "Submission failed",
},
columns: {
time: "Submitted",
user: "User ID",
category: "Category",
content: "Feedback",
rating: "Rating",
state: "Status",
actions: "Actions",
},
detail: "Feedback details",
view: "View",
content: "Feedback",
images: "Screenshots",
noImages: "No screenshots",
unavailableImage: "Screenshot unavailable",
platform: "Platform",
version: "Client version",
requestId: "Request ID",
imageAlt: "Feedback screenshot {{index}}",
openImage: "Open full image",
changeState: "Update status",
save: "Save status",
saved: "Feedback status updated",
noContent: "Screenshot-only feedback",
empty: "No feedback matches the current filters.",
loadError: "Failed to load feedback",
retry: "Retry",
pagination: {
summary: "Showing {{from}}–{{to}} of {{total}}",
page: "Page {{page}} of {{pages}}",
previous: "Previous page",
next: "Next page",
},
},
operationLogs: {
title: "Activity Logs",
description: "Review administrative actions and important activity.",
Expand Down
54 changes: 54 additions & 0 deletions monkeyai/admin/src/i18n/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,60 @@ export const zhCN = {
confirm: "保存",
},
},
feedback: {
title: "用户反馈",
description: "查看 Agent 用户提交的反馈与截图,并处理反馈状态。",
category: "反馈类型",
state: "处理状态",
allCategories: "全部类型",
allStates: "全部状态",
categories: {
bug: "问题反馈",
feature: "功能建议",
experience: "使用体验",
other: "其他",
},
states: {
uploading: "上传中",
new: "待处理",
resolved: "已处理",
ignored: "已忽略",
failed: "提交失败",
},
columns: {
time: "提交时间",
user: "用户 ID",
category: "类型",
content: "反馈内容",
rating: "评分",
state: "状态",
actions: "操作",
},
detail: "反馈详情",
view: "查看",
content: "反馈内容",
images: "反馈截图",
noImages: "未上传截图",
unavailableImage: "截图不可查看",
platform: "客户端平台",
version: "客户端版本",
requestId: "请求 ID",
imageAlt: "反馈截图 {{index}}",
openImage: "打开原图",
changeState: "更新状态",
save: "保存状态",
saved: "反馈状态已更新",
noContent: "仅提交了截图",
empty: "当前筛选条件下暂无反馈。",
loadError: "加载反馈失败",
retry: "重试",
pagination: {
summary: "显示 {{from}}–{{to}} 条,共 {{total}} 条",
page: "第 {{page}} / {{pages}} 页",
previous: "上一页",
next: "下一页",
},
},
operationLogs: {
title: "操作记录",
description: "查看后台管理操作和关键行为记录。",
Expand Down
8 changes: 8 additions & 0 deletions monkeyai/admin/src/lib/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const CONSOLE_ROUTES = {
billingDetails: "/console/billing/details",
billingSettings: "/console/billing/settings",
membersAndGroups: "/console/settings/members",
feedback: "/console/settings/feedback",
operationLogs: "/console/settings/operation-logs",
otherSettings: "/console/settings/other",
} as const
Expand Down Expand Up @@ -113,6 +114,13 @@ export const CONSOLE_PAGES = [
titleKey: "pages.membersAndGroups.title",
descriptionKey: "pages.membersAndGroups.description",
},
{
path: CONSOLE_ROUTES.feedback,
sectionKey: "sections.systemSettings",
sectionPath: CONSOLE_ROUTES.membersAndGroups,
titleKey: "pages.feedback.title",
descriptionKey: "pages.feedback.description",
},
{
path: CONSOLE_ROUTES.operationLogs,
sectionKey: "sections.systemSettings",
Expand Down
Loading
Loading