Skip to content

Commit 6dde3de

Browse files
author
TARS
committed
chore(release): v1.0.7
- 难度分布按分数由高到低排序 - 未定级(Unrated)保持在最下方
1 parent e2222d7 commit 6dde3de

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cf-daily-tracker",
33
"private": true,
4-
"version": "1.0.6",
4+
"version": "1.0.7",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ function getRatingColor(rating: number): string {
263263
}
264264

265265
// 应用版本号(与 package.json 保持一致)
266-
const APP_VERSION = '1.0.6';
266+
const APP_VERSION = '1.0.7';
267267

268268
/**
269269
* 主应用组件

src/components/RatingDistribution.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ interface RatingDistributionProps {
1010
resultFilter?: 'all' | 'accepted' | 'rejected'; // 通过性筛选状态
1111
}
1212

13-
// Rating 区间定义
13+
// Rating 区间定义(分数由高到低排序)
1414
const RATING_RANGES = [
15-
{ min: 800, max: 1199, label: 'Newbie', color: '#808080' },
16-
{ min: 1200, max: 1399, label: 'Pupil', color: '#008000' },
17-
{ min: 1400, max: 1599, label: 'Specialist', color: '#03a89e' },
18-
{ min: 1600, max: 1899, label: 'Expert', color: '#0000ff' },
19-
{ min: 1900, max: 2099, label: 'Candidate Master', color: '#aa00aa' },
20-
{ min: 2100, max: 2299, label: 'Master', color: '#ff8c00' },
21-
{ min: 2300, max: 2399, label: 'International Master', color: '#ff8c00' },
22-
{ min: 2400, max: 2599, label: 'Grandmaster', color: '#ff0000' },
23-
{ min: 2600, max: 2999, label: 'International Grandmaster', color: '#ff0000' },
2415
{ min: 3000, max: 5000, label: 'Legendary Grandmaster', color: '#ff0000' },
16+
{ min: 2600, max: 2999, label: 'International Grandmaster', color: '#ff0000' },
17+
{ min: 2400, max: 2599, label: 'Grandmaster', color: '#ff0000' },
18+
{ min: 2300, max: 2399, label: 'International Master', color: '#ff8c00' },
19+
{ min: 2100, max: 2299, label: 'Master', color: '#ff8c00' },
20+
{ min: 1900, max: 2099, label: 'Candidate Master', color: '#aa00aa' },
21+
{ min: 1600, max: 1899, label: 'Expert', color: '#0000ff' },
22+
{ min: 1400, max: 1599, label: 'Specialist', color: '#03a89e' },
23+
{ min: 1200, max: 1399, label: 'Pupil', color: '#008000' },
24+
{ min: 800, max: 1199, label: 'Newbie', color: '#808080' },
2525
];
2626

2727
// 未定分题目区间

0 commit comments

Comments
 (0)