【Feature】新增 同订阅分组内不同机场拖拽排序、一键全量拉取上游、全局去重开关。#121
Merged
ZeroDeng01 merged 12 commits intoZeroDeng01:mainfrom Mar 3, 2026
Merged
Conversation
- 新增 GroupAirportSort 数据模型与缓存,支持为每个分组配置机场排序权重 - 新增分组管理 API(获取分组列表/详情、保存排序) - 新增前端分组管理页面(左侧分组列表 + 右侧拖拽排序) - 修改 GetSub 分组展开逻辑,按机场排序权重 sort.SliceStable 重排节点 - 完善 .gitignore 忽略 .ace-tool/ 和 webs/package-lock.json
- Airport.Del() 中调用 CleanupAirportSortRecords 清理关联排序记录 - 新增 CleanupGroupSortRecords 供分组清空场景使用
Owner
|
感谢pr,提交内容比较多,ai的代码占比比较大,这周我需要先抽空跑下测试 |
ZeroDeng01
reviewed
Feb 28, 2026
ZeroDeng01
reviewed
Feb 28, 2026
ZeroDeng01
requested changes
Feb 28, 2026
b1ghawk119
commented
Mar 1, 2026
Contributor
Author
b1ghawk119
left a comment
There was a problem hiding this comment.
已还原Package-lock.json、.gitignore。
ZeroDeng01
reviewed
Mar 2, 2026
ZeroDeng01
reviewed
Mar 2, 2026
ZeroDeng01
requested changes
Mar 2, 2026
6b8a83a to
c312f7c
Compare
Contributor
Author
Owner
|
THX~ |
ZeroDeng01
pushed a commit
that referenced
this pull request
Mar 3, 2026
* bugfix: 修复订阅拉取时已有节点名称/链接不更新的 Bug * feat: 新增分组管理功能,支持分组内按机场优先级排序节点 - 新增 GroupAirportSort 数据模型与缓存,支持为每个分组配置机场排序权重 - 新增分组管理 API(获取分组列表/详情、保存排序) - 新增前端分组管理页面(左侧分组列表 + 右侧拖拽排序) - 修改 GetSub 分组展开逻辑,按机场排序权重 sort.SliceStable 重排节点 - 完善 .gitignore 忽略 .ace-tool/ 和 webs/package-lock.json * fix: 机场删除时级联清理分组排序记录,避免残留数据 - Airport.Del() 中调用 CleanupAirportSortRecords 清理关联排序记录 - 新增 CleanupGroupSortRecords 供分组清空场景使用 * docs: 更新分组管理文档,补充级联清理、响应解包修复等走查记录 * 增加【一键拉取】功能 * 添加全局的节点去重开关配置项 * 添加全局的节点去重开关配置项 * 修复同机场以及跨机场的节点顺序错乱问题 * Revert .gitignore entries per review * Restore package-lock.json * 移动【分组内排序】功能到【订阅管理】,补全【分组排序】和【一键全量拉取】文档 * 修复迁移时发现的bug --------- Co-authored-by: b1ghawk <b1ghawk@icloud.com>
ZeroDeng01
pushed a commit
that referenced
this pull request
Mar 3, 2026
* bugfix: 修复订阅拉取时已有节点名称/链接不更新的 Bug * feat: 新增分组管理功能,支持分组内按机场优先级排序节点 - 新增 GroupAirportSort 数据模型与缓存,支持为每个分组配置机场排序权重 - 新增分组管理 API(获取分组列表/详情、保存排序) - 新增前端分组管理页面(左侧分组列表 + 右侧拖拽排序) - 修改 GetSub 分组展开逻辑,按机场排序权重 sort.SliceStable 重排节点 - 完善 .gitignore 忽略 .ace-tool/ 和 webs/package-lock.json * fix: 机场删除时级联清理分组排序记录,避免残留数据 - Airport.Del() 中调用 CleanupAirportSortRecords 清理关联排序记录 - 新增 CleanupGroupSortRecords 供分组清空场景使用 * docs: 更新分组管理文档,补充级联清理、响应解包修复等走查记录 * 增加【一键拉取】功能 * 添加全局的节点去重开关配置项 * 添加全局的节点去重开关配置项 * 修复同机场以及跨机场的节点顺序错乱问题 * Revert .gitignore entries per review * Restore package-lock.json * 移动【分组内排序】功能到【订阅管理】,补全【分组排序】和【一键全量拉取】文档 * 修复迁移时发现的bug --------- Co-authored-by: b1ghawk <b1ghawk@icloud.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Description / 描述
[bugfix: 修复订阅拉取时已有节点名称/链接不更新的 Bug]
[feat-1: 新增”分组管理“功能模块,支持分组内按机场优先级排序节点]
[feat-2: 新增"一键拉取"功能,支持一键拉取所有已启用机场的节点]
[feat-3: 新增"全局去重"开关,允许用户关闭全局去重功能]
bugfix详细说明:
#113 [Bug]: 节点管理会留存旧数据,重新拉取订阅之后,旧的节点信息还在。

feat-1 【分组管理】模块
添加了同一个分组管理模块,用于管理同一个分组内不同机场的次序。
分组内的排序设定:

机场的实际添加顺序(按照原始版本,同一分组内按机场添加顺序排序,"鸡儿"的所有节点都出现在订阅文件的末尾):

进行分组了内排序以后的订阅结果("鸡儿"的所有节点按预期排序在分组的头部位置):

feat-2 【一键拉取】功能
新增【一键全量拉取】按钮。
feat-3 【全局去重】开关
新增【全局去重】启用/禁用开关,默认启用,兼容旧版本行为。
Type of Change / 更改类型
Testing / 测试
Checklist / 检查清单
Additional Notes / 其他说明