-
Notifications
You must be signed in to change notification settings - Fork 17
Refactor/UI: refactor sidebar & format codebase #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
265b3bf
refactor: refactor AppSidebar with unified config and update prettier
whhjdi 4d25fc2
style: 调整日志项的字体大小并优化样式
whhjdi 93cd254
style: 为背景色添加圆角以提升视觉效果
whhjdi 7ecedd3
feat: 添加提供商界面和模板支持,优化国际化文本
whhjdi f5d5e73
feat: 更新客户端导航项以支持动态流计数,优化请求导航项的活动状态判断
whhjdi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,14 @@ | ||
| { | ||
| "semi": false, | ||
| "semi": true, | ||
| "singleQuote": true, | ||
| "tabWidth": 2, | ||
| "useTabs": false, | ||
| "trailingComma": "es5", | ||
| "printWidth": 80, | ||
| "arrowParens": "avoid", | ||
| "endOfLine": "lf" | ||
| "trailingComma": "all", | ||
| "printWidth": 100, | ||
| "arrowParens": "always", | ||
| "endOfLine": "lf", | ||
| "bracketSpacing": true, | ||
| "jsxSingleQuote": false, | ||
| "proseWrap": "preserve", | ||
| "bracketSameLine": false | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
避免通过字符串 split 解析本地化时间
Line 123-137 依赖
toLocaleString()再split(' ')拆分日期/时间,在部分语言环境(含非空格分隔符或 NBSP)下会拿到错误片段。建议直接分别格式化日期与时间,避免解析字符串。🔧 建议修改
🤖 Prompt for AI Agents