mirror of
https://github.com/beilunyang/moepush.git
synced 2026-04-26 12:05:53 +03:00
[PR #37] feat: 接口组功能优化与推送测试功能优化 #39
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/moepush#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/beilunyang/moepush/pull/37
Author: @Starpuccino
Created: 11/3/2025
Status: 🔄 Open
Base:
main← Head:group-edit-public📝 Commits (6)
98301e7feat: 添加接口组对话框和更新接口组功能d0123a4feat: 添加复制接口和接口组功能370e173feat: 更新生成示例体的功能,添加测试推送对话框64c9dadfeat: 添加工具提示组件并在端点组表中显示接口状态cb755a4fix: 添加错误日志以改进 JSON 格式化和测试推送的错误处理07464adfix📊 Changes
15 files changed (+1389 additions, -67 deletions)
View changed files
➕
app/api/endpoint-groups/[id]/copy/route.ts(+81 -0)📝
app/api/endpoint-groups/[id]/route.ts(+68 -0)➕
app/api/endpoints/[endpointId]/copy/route.ts(+61 -0)➕
components/endpoint-group-dialog.tsx(+219 -0)📝
components/endpoint-group-example.tsx(+1 -1)📝
components/endpoint-group-table.tsx(+184 -18)📝
components/endpoint-table.tsx(+132 -13)📝
components/endpoints-tabs.tsx(+1 -0)➕
components/test-push-dialog.tsx(+141 -0)➕
components/ui/tooltip.tsx(+33 -0)📝
lib/services/endpoint-groups.ts(+46 -3)📝
lib/services/endpoints.ts(+17 -2)📝
lib/utils.ts(+0 -30)📝
package.json(+1 -0)📝
pnpm-lock.yaml(+404 -0)📄 Description
接口组功能优化与推送测试功能优化
概述
增加接口组(创建、编辑)的 UI 与后端 API 支持

接口组内,友好显示被禁用的接口数量

增加单个接口、接口组的复制能力

增加测试推送二次确认,允许自定义测试内容


关键改动
新增 API 路由
修改 API 路由
新增组件
修改/增强的前端组件
(这些文件和组件中整合或暴露了接口组相关功能、复制/测试按钮等 UI 交互)
服务层
依赖与锁文件
变更影响与注意点
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.