-
Notifications
You must be signed in to change notification settings - Fork 79
feat: 增强 AI 配置与提示词管理,添加后端仓库删除/发布接口,优化响应式布局 #84
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
26 commits
Select commit
Hold shift + click to select a range
67a62c1
feat(RepositoryCard): 添加多语言支持按钮标题
d439362
feat(settings): 添加设置模块及相关面板组件
a125de6
feat(设置): 新增数据管理面板功能
033ce97
feat(侧边栏): 添加可折叠侧边栏功能并实现返回顶部按钮
1cb6843
fix
500b1d6
fix(accessibility): 为按钮添加aria-label属性提升可访问性
7b08f43
feat(ui): 优化移动端设置面板的标签导航体验
46a14f4
fix(SettingsPanel): 为标签导航添加ARIA属性以提升可访问性
25b77d0
feat: 添加批量操作功能及预设资源筛选器
db8dce4
feat: 添加仓库卡片点击查看 README 功能
c8d3c34
feat: 优化组件可访问性与代码结构
ff62ecf
feat: 优化批量操作工具栏和分类侧边栏交互
332f0a9
Merge branch 'main' of https://github.com/SummerRay160/GithubStarsMan…
2aa1cee
fix: 解决合并冲突并移除冲突标记
e0c3355
feat: 增加rehype-sanitize插件并改进无障碍功能
448285c
fix(组件): 修复代码块渲染和侧边栏定时器内存泄漏问题
faf6097
feat(分类管理): 新增分类排序功能及侧边栏折叠优化
a5a6a42
ci(workflow): 更新 Node.js 版本至 22
dbff152
feat: 添加批量取消订阅功能并优化性能
4339b4c
feat: 添加浏览器兼容性支持并优化分类管理功能
07dd2e5
chore: 更新依赖包版本及添加新依赖
dd11b42
refactor: 优化代码结构和类型安全
072d9e0
feat: 优化性能并修复多个问题
5eafb9f
Merge branch 'AmintaCCCP:main' into main
SummerRay160 2f6c140
feat: 添加AI配置面板测试连接功能并增强提示词管理
5844fa8
feat(响应式布局): 改进移动端和桌面端的响应式设计
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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 |
|---|---|---|
| @@ -0,0 +1,155 @@ | ||
| export interface RepositoryRow { | ||
| id: number; | ||
| name: string; | ||
| full_name: string; | ||
| description: string | null; | ||
| html_url: string; | ||
| stargazers_count: number; | ||
| language: string | null; | ||
| created_at: string | null; | ||
| updated_at: string | null; | ||
| pushed_at: string | null; | ||
| starred_at: string | null; | ||
| owner_login: string; | ||
| owner_avatar_url: string | null; | ||
| topics: string; | ||
| ai_summary: string | null; | ||
| ai_tags: string; | ||
| ai_platforms: string; | ||
| analyzed_at: string | null; | ||
| analysis_failed: number; | ||
| custom_description: string | null; | ||
| custom_tags: string; | ||
|
SummerRay160 marked this conversation as resolved.
|
||
| custom_category: string | null; | ||
| category_locked: number; | ||
| last_edited: string | null; | ||
| subscribed_to_releases: number; | ||
| } | ||
|
|
||
| export interface ReleaseRow { | ||
| id: number; | ||
| tag_name: string; | ||
| name: string | null; | ||
| body: string | null; | ||
| published_at: string | null; | ||
| html_url: string | null; | ||
| assets: string; | ||
| repo_id: number; | ||
| repo_full_name: string; | ||
| repo_name: string; | ||
| prerelease: number; | ||
| draft: number; | ||
| is_read: number; | ||
| zipball_url: string | null; | ||
| tarball_url: string | null; | ||
| } | ||
|
|
||
| export interface CategoryRow { | ||
| id: string; | ||
| name: string; | ||
| description: string | null; | ||
| icon: string; | ||
| keywords: string; | ||
| color: string | null; | ||
| sort_order: number; | ||
| is_custom: number; | ||
| } | ||
|
|
||
| export interface AIConfigRow { | ||
| id: string; | ||
| name: string; | ||
| api_type: string; | ||
| base_url: string; | ||
| api_key_encrypted: string; | ||
| model: string; | ||
| is_active: number; | ||
| custom_prompt: string | null; | ||
| use_custom_prompt: number; | ||
| concurrency: number; | ||
| reasoning_effort: string | null; | ||
| } | ||
|
|
||
| export interface WebDAVConfigRow { | ||
| id: string; | ||
| name: string; | ||
| url: string; | ||
| username: string; | ||
| password_encrypted: string; | ||
| path: string; | ||
| is_active: number; | ||
| } | ||
|
|
||
| export interface AssetFilterRow { | ||
| id: string; | ||
| name: string; | ||
| description: string | null; | ||
| keywords: string; | ||
| platform: string | null; | ||
| sort_order: number; | ||
| } | ||
|
|
||
| export interface SettingsRow { | ||
| key: string; | ||
| value: string | null; | ||
| } | ||
|
|
||
| export interface ApiResponse<T = unknown> { | ||
| data?: T; | ||
| error?: string; | ||
| code?: string; | ||
| } | ||
|
|
||
| export interface PaginatedResponse<T> { | ||
| items: T[]; | ||
| total: number; | ||
| page: number; | ||
| limit: number; | ||
| } | ||
|
|
||
| export interface SyncRepositoriesRequest { | ||
| repositories: Record<string, unknown>[]; | ||
| isFullSync?: boolean; | ||
| } | ||
|
|
||
| export interface SyncReleasesRequest { | ||
| releases: Record<string, unknown>[]; | ||
| } | ||
|
|
||
| export interface SyncAIConfigsRequest { | ||
| configs: Array<{ | ||
| id: string; | ||
| name: string; | ||
| apiType?: string; | ||
| baseUrl: string; | ||
| apiKey: string; | ||
| model: string; | ||
| isActive: boolean; | ||
| customPrompt?: string; | ||
| useCustomPrompt?: boolean; | ||
| concurrency?: number; | ||
| reasoningEffort?: string; | ||
| }>; | ||
| } | ||
|
|
||
| export interface SyncWebDAVConfigsRequest { | ||
| configs: Array<{ | ||
| id: string; | ||
| name: string; | ||
| url: string; | ||
| username: string; | ||
| password: string; | ||
| path: string; | ||
| isActive: boolean; | ||
| }>; | ||
| } | ||
|
|
||
| export interface SyncSettingsRequest { | ||
| activeAIConfig?: string | null; | ||
| activeWebDAVConfig?: string | null; | ||
| hiddenDefaultCategoryIds?: string[]; | ||
| categoryOrder?: string[]; | ||
| customCategories?: unknown[]; | ||
| assetFilters?: unknown[]; | ||
| collapsedSidebarCategoryCount?: number; | ||
| github_token?: string; | ||
| } | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.