wangxiaoji
3fb6326f4a
feat: 重构控制台 Dashboard + 新增 API 快速测试页
...
- 新增 Bento 风格 Dashboard 组件:TopBar、Hero、BentoStats、BentoTrend、MonthlyForecast、RecentActivity、Sparkline
- 新增 /console/api-tester API 快速测试页:支持 OpenAI/Anthropic 协议切换、多家国产模型预设、Key 清洗、流式/非流式切换、cURL 一键复制
- 注释和提示语统一中文化
- App.jsx 新增 /console/api-tester 路由(PrivateRoute 守卫)
2026-06-26 16:16:30 +08:00
xiezhouwei
1e3ce2c0d2
feat: remove channel ID and username search fields from usage log filters
2026-06-23 14:11:36 +08:00
xiezhouwei
648c9917ab
fix: hide cache prices on model card, show only input and output prices
2026-06-23 11:15:24 +08:00
xiezhouwei
a93c04ce28
fix: show all configured channel prices (output/cache/createCache) on model card surface, not just input
2026-06-23 11:09:12 +08:00
xiezhouwei
d676e2200f
fix: show output/cache/create_cache prices when channel-level pricing provides the ratio, not only when global pricing has it
2026-06-23 11:00:44 +08:00
xiezhouwei
07a6e29c1e
fix: allow vendor_id=0 to be passed as model_type in experience button jump
2026-06-21 16:47:42 +08:00
xiezhouwei
2165430d87
feat: pass model_type (vendor_id) from model detail to playground settings panel
2026-06-19 10:30:32 +08:00
xiezhouwei
977e9e8bf5
feat: add experience button in model detail side sheet to jump to playground with model preset
2026-06-19 10:17:00 +08:00
xiezhouwei
46819578de
fix: model page tab filter not working and sidebar tag order
2026-06-18 17:01:50 +08:00
xiezhouwei
77b885b190
refactor: streamline model card to show only logo, name, description, and IO prices
2026-06-18 16:50:02 +08:00
xiezhouwei
4fbdafee1c
fix: remove supplier filter from model page sidebar
2026-06-18 16:36:52 +08:00
xiezhouwei
61b0d902b6
refactor: 模型页面布局调整为左右结构(类 tokendance.models)
...
新增:
- ModelsSidebar.jsx 左侧筛选面板(作者/服务商/输入模态/供应商)
- ModelsContent.jsx 右侧内容区(全部/文本/图像/音频/视频 Tab + 搜索)
- index.css models-* 样式类
修改:
- PricingPage.jsx 布局改为 flex 左右结构替代 Semi UI Layout
- PricingCardView.jsx 新增 gridCols 参数支持 2 列网格布局
当 gridCols=2 时:grid gap-4 + 卡片 !w-full
布局: 左 280px 筛选栏 + 右自适应内容区
Tab: 全部/文本/图像/音频/视频 (映射到 filterEndpointType)
卡片: 每行 2 个模型卡片
2026-06-17 14:33:53 +08:00
xiezhouwei
e00999b88c
fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复
...
- 首页导航字体/样式对齐 tokendance.space(text-[14px]、gap-1.5、SVG 图标)
- 全局 Navigation.jsx 和 MobileSiteNavDropdown.jsx 添加 SVG 图标
- 首页 HeroSection header 固定定位(sticky→fixed),导航链接靠右
- PageLayout 首页时隐藏全局 HeaderBar,避免导航重叠/文字不清
- 修复 HomeThemeToggle 主题切换失效(使用正确的 localStorage key 和 DOM 操作)
- 首页文字 TokenFactory→TuringToken,logo 靠左对齐
- i18n 多语言文件同步更新
2026-06-17 10:23:39 +08:00
xiezhouwei
1474917163
chore: remove student tabs, actions and related code from user management
...
- Remove '学员待审批' and '学员管理' tabs from user management page
- Remove studentView, studentRewardAmount, studentRewardLoading states and functions
- Remove assignStudent, saveStudentRewardAmount, loadStudentRewardAmount
- Remove pending approval (同意/拒绝) actions in operations column
- Remove through/reject/unset student menu items
- Clean up UsersActions to only show '添加用户' button
- Remove student_view query params from API calls
2026-06-11 17:04:15 +08:00
xiezhouwei
9dca57d501
chore: remove student application feature from frontend
...
- Remove student application section (提示和按钮) from personal settings page
- Remove student status column (学员状态) from user management table
- Remove set_student action (设为学员) from user operations dropdown
- Remove unused renderStudentStatus, handleApplyStudent, studentApplying state
2026-06-11 14:22:11 +08:00
xiezhouwei
ccd7d1f4c2
Initial commit
2026-06-03 10:01:10 +08:00