Commit Graph

35 Commits

Author SHA1 Message Date
Apple\Apple
86205d73e9 🧶chore: remove redundant semantic-related dependencies and configurations 2025-06-11 12:38:51 +08:00
CaIon
e647163969 chore: update CI workflow to use latest Bun version and adjust build environment variables 2025-06-08 03:28:36 +08:00
CaIon
e7289297e2 chore: update package.json to replace sse dependency and add trustedDependencies 2025-06-08 02:56:09 +08:00
Apple\Apple
b7b5b6cf5b 💄 feat(playground): chat streaming animation 2025-06-02 19:58:10 +08:00
Apple\Apple
2c37aba585 feat(markdown): replace Semi UI MarkdownRender with react-markdown for enhanced rendering
- Replace Semi UI's MarkdownRender with react-markdown library for better performance and features
- Add comprehensive markdown rendering support including:
  * Math formulas with KaTeX
  * Code syntax highlighting with rehype-highlight
  * Mermaid diagrams support
  * GitHub Flavored Markdown (tables, task lists, etc.)
  * HTML preview for code blocks
  * Media file support (audio/video)
- Create new MarkdownRenderer component with enhanced features:
  * Copy code button with hover effects
  * Code folding for long code blocks
  * Responsive design for mobile devices
- Add white text styling for user messages to improve readability on blue backgrounds
- Update all components using markdown rendering:
  * MessageContent.js - playground chat messages
  * About/index.js - about page content
  * Home/index.js - home page content
  * NoticeModal.js - system notice modal
  * OtherSetting.js - settings page
- Install new dependencies: react-markdown, remark-math, remark-breaks, remark-gfm,
  rehype-katex, rehype-highlight, katex, mermaid, use-debounce, clsx
- Add comprehensive CSS styles in markdown.css for better theming and user experience
- Remove unused imports and optimize component imports

Breaking changes: None - maintains backward compatibility with existing markdown content
2025-05-31 02:26:23 +08:00
Apple\Apple
ee0e1161d4 ♻️refactor: Completely redesign TopUp page with modern card-based UI and enhanced UX
- Replace simple form layout with sophisticated card-based design system
- Implement bank card-style wallet display with gradient backgrounds and decorative elements
- Integrate real user data from UserContext (username, quota, usage stats, user role, group)
- Add personalized color schemes using stringToColor for unique user identification
- Implement comprehensive responsive design for mobile, tablet, and desktop devices
- Add skeleton loading states for all data-dependent components and API calls
- Replace basic Input with InputNumber component for amount input with built-in validation (min: 1)
- Add official brand icons for payment methods (Alipay, WeChat) using react-icons/si
- Integrate Semi UI Banner component for better warning notifications
- Implement real-time data synchronization between local state and UserContext
- Add sophisticated loading states with proper error handling and user feedback
- Clean up all code comments and remove unused imports, functions, and state variables
- Enhance visual hierarchy with proper spacing, shadows, and modern typography
- Add glass-morphism effects and backdrop filters for premium visual experience
- Improve accessibility with proper text truncation and responsive font sizing

This update transforms the TopUp page from a basic form into a professional,
modern payment interface that provides excellent user experience across all devices
while maintaining full functionality and adding comprehensive data validation.
2025-05-23 19:31:36 +08:00
CaIon
83ea1b2f64 feat: Add country flag icons package to project dependencies 2025-05-20 02:19:05 +08:00
Apple\Apple
3b0d4c8487 ♻️refactor: Home Page and Footer 2025-05-20 00:23:47 +08:00
Apple\Apple
2491b154b9 feat: Support TailwindCSS V3
Signed-off-by: Apple\Apple <zeraturing@foxmail.com>
2025-05-06 01:36:23 +08:00
Apple\Apple
b432ffd441 Revert "feat: Support TailwindCSS V3"
This reverts commit 77382f828b.
2025-05-06 01:24:36 +08:00
Apple\Apple
77382f828b feat: Support TailwindCSS V3
Signed-off-by: Apple\Apple <zeraturing@foxmail.com>
2025-05-06 00:14:18 +08:00
wkxu
54c5c3118b refactor: 把common/instants.go里的从Getenv获取的参数,放到init.go的LoadEnv函数里获取
把constant/env.go里的从Getenv获取的参数,放到env.go的InitEnv函数里获取。以避免.env文件配置参数不起作用的情况
2025-04-10 09:02:19 +08:00
CalciumIon
77230ce534 feat: init i18n 2024-12-12 23:32:55 +08:00
CalciumIon
62875a7000 feat: Update dependencies and restructure Playground component
- Upgraded @douyinfe/semi-ui from version 2.63.1 to 2.69.1 in package.json.
- Updated pnpm-lock.yaml to reflect new dependency versions and lockfile format.
- Moved Playground component to a new directory structure under pages.
- Enhanced Playground component with new features and improved user experience.
2024-12-11 18:27:30 +08:00
1808837298@qq.com
07fa9205cb feat: playground 2024-09-26 00:59:09 +08:00
QuentinHsu
89ad43e40e chore: update @so1ve/prettier-config to version 3.1.0 2024-08-11 11:18:08 +08:00
QuentinHsu
c04a4808ce refactor: 运营设置-日志设置 2024-05-11 14:06:32 +08:00
CaIon
d572a43f77 feat: prettier 2024-03-23 21:23:39 +08:00
CaIon
d0e935a632 feat: 从本地读取字体 (close #130) 2024-03-23 20:57:52 +08:00
CaIon
9707192984 feat: 首页加载速度优化 2024-03-23 20:22:00 +08:00
CaIon
80695f3c05 feat: vite 2024-03-23 19:09:09 +08:00
CaIon
add3b05da4 chore: reformat code 2024-03-15 16:05:33 +08:00
sljeff
a3bab7537b feat: telegram login and bind 2024-03-02 17:15:52 +08:00
1808837298@qq.com
ef9fbb8e69 feat: 在线支付限制输入金额 2024-02-23 17:18:50 +08:00
CaIon
3358471fb5 feat: 日志优化逻辑,新增请求时间和是否为stream字段 2024-01-21 15:01:59 +08:00
CaIon
00739183ec update package.json 2024-01-20 00:13:18 +08:00
CaIon
dd0abc9447 feat: 新增数据看板 2024-01-07 18:31:14 +08:00
CaIon
18a9c2b57e Happy New Year 2023-12-27 18:04:02 +08:00
CaIon
efee409744 修复兑换码bug 2023-11-10 00:46:07 +08:00
CaIon
08edb05e36 日志添加查看信息功能 2023-11-08 01:14:12 +08:00
CaIon
f0ba2fecc2 登录支持人机验证 2023-11-06 22:11:05 +08:00
CaIon
4a4ce2335c 界面优化 2023-10-31 17:31:22 +08:00
CaIon
8c0fa6295e 修改logo 2023-10-31 00:41:01 +08:00
CaIon
eec9046c3a 更换前端组件库 2023-10-31 00:03:22 +08:00
JustSong
4cbef0780e Initial commit 2023-04-22 20:39:27 +08:00