Repository navigation
feat: 公开页按分组切换 - #7
Merged
Merged
Conversation
节点有分组时,列表上方出现「全部 / 各分组 / 未分组」标签,分组顺序跟着节点顺序;一个分组 都没有时页面不变。汇总跟着所选标签只算这一组,实时网速按分组各记一条序列。标签的选择放在 App 里,看完节点详情返回时保留。
This was referenced Sep 23, 2026
- 选中「未分组」后未分组节点全被设了分组,页面回到全部,不再是没有标签高亮的空白网格;失效的标签直接忘掉,同名分组再出现时不会自己跳回去 - 全站序列以 null 为 key,分组名是任意文本,叫 * 的分组不再被重复计入全站网速;标签按钮的 key 同理加前缀 - 标签改用 aria-pressed 的按钮组,不再宣告一个没有方向键操作的 tablist
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.
group字段也一样NodeList,标签的选择保存在App,从节点详情返回时保留测试:
npm test覆盖分组顺序和按分组的网速序列;tsc -b、oxlint、npm run build。预览环境 43 台节点浏览器实测标签切换、汇总与网速,含手机宽度。对应 monitor-probe/monitor#51。