Repository navigation
feat: 网络速率图改用对数纵轴,平时的流量不再被突发压成贴底的直线 - #19
Merged
Merged
Conversation
- 纵轴改为对数,刻度取 1、10、100 KB/MB/GB,最多标 5 个,从顶往下数 - 轴底取窗口里最慢速率所在的档,不低于 1 KB/s:agent 自己上报每个方向约 0.2–0.7 KB/s,空闲的节点落在底上 - 低于 1 KB/s 的值画在底上,提示框仍显示 hub 返回的原值 - `axisTop` 的 1024 进制分支只有网速在用,一并删掉 - 历史请求被拒的注释不再描述 hub 为什么限并发
# Conflicts: # src/components/NodeDetail.tsx # src/lib/format.test.ts
- 1 KB/s 到 100 MB/s 之间每档都标,空闲节点贴着的 1 KB/s 那条线有标签和网格线;更宽时隔一档 - 四个资源图的纵轴按给定的刻度全画,CPU、内存、硬盘补上顶端下面那条网格线 - 注释的反事实改用 would
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.
网络速率面板的纵轴改为对数,突发与平时的流量在同一张图里都看得清。
axisTop的 1024 进制分支只有网速在用,一并删掉,CPU 的轴不变测试
npm run lint、npm test、npm run build通过;rateAxis加 8 组用例与 monitor-probe/monitor-theme-default#20 是同一处改动