yetone
dc1f17c1c8
library: RTK's chart says its top number is the busiest day, not a total (jasonchia58 on X)
...
jasonchia58 on X (macOS, v0.1.3119): the number at the top right of
Library → RTK's chart (1.6M) stopped changing, while the total under the
chart kept growing. That number is the bars' scale: the busiest day's
(or week's) input in the range, shown bare since 5b43bdd61 . It changes
only when a day passes the old busiest, so it read as a stuck total.
Nothing on main changed it since 3119.
It now says "peak day 1.2M" / "peak week 1.2M" (zh 单日最高, zh-TW 單日最高,
ja 1日の最大, de Stärkster Tag), in the library plugin's own words, and
a range with nothing in it shows none. The total stays under the chart.
The Usage page's charts have the same bare peak (plugins/usage/page.js
875 and 4315); filed as #6517 , not changed here.
Tests:
- internal/library/testdata/rtk-gain-daily.json is real rtk 1.0.1
`rtk gain --daily --format json` output from a sandbox HOME;
TestRTKGainRealDaily parses it and checks the days add up to the
summary.
- library-rtk-chart.test.cjs feeds those days (moved to end yesterday)
through a faked /api/library/rtk, chromium and webkit, en/zh/zh-TW/ja/de
at 980 and 420px: the head says the peak, the busiest bar is the one
at full height, the foot is the total; an empty 30-day range has no
peak.
Run on mica (base 5b25d7e9e , then again after the rebase onto
49d7adef7 : gofmt, the provider and library tests, library-rtk-chart,
library-rtk-gain, i18n-keys, i18n-en-no-cjk all pass): gofmt -l clean; go test
./internal/library ok; GOOS=darwin/windows go vet and GOOS=linux go vet
-tags nogui of internal/{provider,library,gui} ok; GUI files
library-rtk-chart, library-rtk-gain, library-rtk-admin,
library-rtk-nohook, i18n-keys, i18n-en-no-cjk all pass (both engines).
Broken by hand: the old head (bare tokens(peak)) makes all 12
library-rtk-chart subtests red.
Also run: go test -tags nogui ./internal/gui ./internal/provider: red
only on TestCoreScriptBudget (1,268,751 > 1,268,645, the same number
#6518 records at base 5b25d7e9e; this change adds no core script) and
TestHostBuildsNoList (#6479 ); editor-hints webkit red as in #6156 .
Not run: the full Go suite and the whole GUI suite.
2026-11-13 18:41:28 +08:00
..
2026-11-13 18:41:28 +08:00
2026-10-15 14:52:51 +08:00
2026-10-11 07:55:23 +08:00
2026-11-12 17:07:23 +08:00
2026-11-11 03:50:20 +08:00
2026-11-01 10:22:56 +08:00
2026-10-13 06:43:50 +08:00
2026-10-13 06:43:50 +08:00
2026-11-11 14:04:37 +08:00
2026-11-10 15:47:32 +08:00
2026-11-10 15:47:32 +08:00
2026-11-12 02:24:10 +08:00
2026-11-12 02:24:10 +08:00
2026-11-12 02:24:10 +08:00
2026-11-11 15:59:46 +08:00
2026-11-11 15:59:46 +08:00
2026-11-06 15:41:43 +08:00
2026-11-06 15:41:43 +08:00
2026-10-10 14:52:17 +08:00
2026-11-12 19:33:39 +08:00
2026-11-05 11:29:20 +08:00
2026-10-31 13:14:16 +08:00
2026-11-13 13:42:48 +08:00
2026-10-10 09:14:35 +08:00
2026-11-01 04:36:37 +08:00
2026-11-02 05:38:11 +08:00
2026-11-06 10:20:34 +08:00
2026-11-10 12:54:39 +08:00
2026-11-07 20:57:30 +08:00
2026-11-06 02:04:53 +08:00
2026-11-11 23:09:15 +08:00
2026-10-16 05:10:43 +08:00
2026-11-10 22:56:39 +08:00
2026-10-15 08:33:54 +08:00
2026-10-13 15:44:02 +08:00
2026-10-29 04:23:33 +08:00
2026-11-10 13:46:13 +08:00
2026-10-17 18:51:53 +08:00
2026-11-10 12:54:39 +08:00
2026-11-09 12:04:06 +08:00
2026-11-12 02:59:41 +08:00
2026-11-12 02:59:41 +08:00
2026-11-02 11:01:51 +08:00
2026-10-10 00:43:26 +08:00
2026-11-10 12:54:39 +08:00
2026-11-12 00:17:30 +08:00
2026-10-13 11:04:13 +08:00
2026-10-28 03:50:46 +08:00
2026-10-21 06:16:31 +08:00
2026-10-10 19:53:02 +08:00
2026-11-11 18:14:47 +08:00
2026-11-11 16:38:41 +08:00
2026-11-07 20:14:25 +08:00
2026-10-15 23:08:03 +08:00
2026-11-11 02:55:15 +08:00
2026-10-11 01:28:22 +08:00
2026-11-11 11:54:21 +08:00
2026-11-11 11:54:21 +08:00
2026-10-12 00:10:59 +08:00
2026-11-11 15:59:46 +08:00
2026-10-20 20:23:56 +08:00
2026-11-06 15:04:01 +08:00
2026-11-01 22:32:41 +08:00
2026-10-17 09:39:47 +08:00
2026-11-12 02:00:19 +08:00
2026-11-03 11:16:02 +08:00
2026-10-13 11:10:59 +08:00
2026-11-03 20:03:00 +08:00
2026-11-06 00:26:59 +08:00
2026-11-10 12:54:39 +08:00
2026-11-10 03:25:44 +08:00
2026-11-10 15:47:14 +08:00
2026-10-30 14:38:22 +08:00
2026-11-10 16:14:54 +08:00
2026-11-10 17:40:35 +08:00
2026-11-10 15:47:14 +08:00
2026-11-10 16:14:54 +08:00
2026-11-01 17:00:04 +08:00
2026-11-10 21:15:14 +08:00
2026-11-01 17:26:12 +08:00
2026-10-26 16:32:23 +08:00
2026-10-30 14:47:13 +08:00
2026-11-10 12:54:39 +08:00
2026-10-11 20:10:05 +08:00
2026-11-12 23:24:50 +08:00
2026-11-01 17:00:04 +08:00
2026-11-12 23:24:50 +08:00
2026-11-13 12:29:04 +08:00
2026-11-12 00:57:23 +08:00
2026-11-12 00:57:23 +08:00
2026-11-01 16:43:21 +08:00
2026-11-01 16:43:21 +08:00
2026-10-27 06:45:37 +08:00
2026-10-13 03:43:04 +08:00
2026-10-10 17:49:07 +08:00
2026-11-05 14:50:02 +08:00
2026-11-11 18:14:47 +08:00
2026-10-23 01:00:44 +08:00
2026-11-12 00:57:23 +08:00
2026-10-10 18:35:17 +08:00
2026-10-10 18:35:17 +08:00
2026-10-12 02:56:01 +08:00
2026-11-13 13:42:48 +08:00
2026-11-13 13:42:48 +08:00
2026-11-07 03:21:57 +08:00
2026-11-02 18:37:57 +08:00
2026-10-29 09:33:11 +08:00
2026-11-10 03:25:44 +08:00
2026-11-12 00:57:23 +08:00
2026-10-30 02:31:08 +08:00
2026-11-13 13:42:48 +08:00
2026-11-03 20:38:11 +08:00
2026-11-10 12:54:39 +08:00
2026-11-10 10:23:53 +08:00
2026-11-10 10:23:53 +08:00
2026-10-27 18:52:15 +08:00
2026-11-11 17:01:36 +08:00
2026-11-11 17:01:36 +08:00
2026-10-28 00:19:24 +08:00
2026-10-28 00:19:24 +08:00
2026-11-12 00:57:23 +08:00
2026-11-12 00:57:23 +08:00
2026-11-13 11:11:33 +08:00
2026-11-11 10:49:46 +08:00
2026-10-31 10:14:03 +08:00
2026-11-13 11:11:33 +08:00
2026-10-13 03:43:05 +08:00
2026-10-11 22:06:36 +08:00
2026-10-10 18:09:59 +08:00
2026-11-12 00:57:23 +08:00
2026-11-07 12:59:36 +08:00
2026-10-25 09:41:32 +08:00
2026-10-15 06:07:43 +08:00
2026-11-11 16:38:41 +08:00
2026-10-11 09:24:07 +08:00
2026-11-13 13:42:48 +08:00
2026-11-10 03:25:44 +08:00
2026-11-11 15:08:58 +08:00
2026-11-11 15:08:58 +08:00
2026-11-10 16:27:14 +08:00
2026-11-03 21:43:54 +08:00
2026-10-15 06:07:43 +08:00
2026-11-09 16:33:28 +08:00
2026-11-09 16:33:28 +08:00
2026-11-10 21:15:14 +08:00
2026-11-10 21:15:14 +08:00
2026-10-13 08:36:14 +08:00
2026-11-10 12:54:39 +08:00
2026-11-11 17:27:08 +08:00
2026-11-07 20:14:49 +08:00
2026-11-07 20:14:49 +08:00
2026-11-11 05:30:02 +08:00
2026-10-08 23:58:22 +08:00
2026-10-15 14:19:00 +08:00
2026-11-10 22:39:29 +08:00
2026-11-10 22:39:29 +08:00
2026-11-10 22:39:29 +08:00
2026-11-10 22:39:29 +08:00
2026-11-13 12:18:23 +08:00
2026-11-13 12:18:23 +08:00
2026-11-13 12:18:23 +08:00
2026-11-10 22:39:29 +08:00
2026-11-10 22:39:29 +08:00
2026-11-13 12:18:23 +08:00
2026-10-11 22:23:45 +08:00
2026-10-11 05:33:23 +08:00
2026-10-11 05:33:23 +08:00
2026-10-15 00:02:24 +08:00
2026-10-27 17:08:57 +08:00
2026-10-13 14:29:52 +08:00
2026-10-13 14:29:52 +08:00
2026-10-13 14:29:52 +08:00
2026-10-30 20:03:32 +08:00
2026-10-28 19:28:44 +08:00
2026-10-30 20:03:32 +08:00
2026-10-15 06:07:43 +08:00
2026-11-13 18:41:28 +08:00
2026-11-01 16:43:21 +08:00
2026-11-11 17:21:00 +08:00
2026-11-11 17:21:00 +08:00
2026-10-22 21:15:36 +08:00
2026-10-11 00:37:16 +08:00
2026-10-11 00:37:16 +08:00
2026-10-11 00:37:16 +08:00
2026-10-29 19:58:40 +08:00
2026-10-31 21:29:22 +08:00
2026-11-10 12:54:39 +08:00
2026-10-10 01:30:40 +08:00
2026-11-10 15:47:14 +08:00
2026-10-20 20:23:56 +08:00
2026-11-05 18:31:17 +08:00
2026-10-15 06:07:43 +08:00
2026-11-09 11:29:51 +08:00
2026-11-01 02:02:24 +08:00
2026-11-11 17:28:53 +08:00
2026-10-30 10:29:59 +08:00
2026-10-13 15:44:02 +08:00
2026-11-05 18:31:17 +08:00
2026-11-03 16:33:03 +08:00
2026-11-03 16:33:03 +08:00
2026-11-02 05:38:11 +08:00
2026-11-10 12:54:39 +08:00
2026-10-23 01:58:00 +08:00
2026-10-23 01:58:00 +08:00
2026-11-13 11:28:51 +08:00
2026-11-13 11:28:51 +08:00
2026-10-29 04:23:33 +08:00
2026-10-16 18:38:31 +08:00
2026-10-29 04:23:33 +08:00
2026-10-30 10:29:59 +08:00
2026-11-09 11:29:51 +08:00
2026-11-09 11:29:51 +08:00
2026-11-06 22:22:20 +08:00
2026-11-06 12:13:16 +08:00
2026-11-10 12:54:39 +08:00
2026-10-29 14:39:57 +08:00
2026-11-13 10:53:40 +08:00
2026-11-13 10:53:40 +08:00
2026-11-01 02:02:24 +08:00
2026-11-01 04:36:37 +08:00
2026-10-17 11:01:48 +08:00
2026-11-01 16:43:21 +08:00
2026-11-06 19:50:40 +08:00
2026-10-23 01:58:00 +08:00
2026-11-10 12:54:39 +08:00
2026-11-06 19:50:40 +08:00
2026-11-01 02:45:01 +08:00
2026-11-06 19:50:40 +08:00
2026-11-03 20:03:00 +08:00
2026-11-06 15:04:01 +08:00
2026-11-06 15:04:01 +08:00
2026-11-03 05:43:12 +08:00
2026-11-11 23:09:15 +08:00
2026-10-27 09:31:57 +08:00
2026-10-27 09:31:57 +08:00
2026-11-04 21:18:56 +08:00
2026-11-13 12:18:23 +08:00
2026-10-13 14:55:46 +08:00
2026-11-13 12:18:23 +08:00
2026-10-07 03:00:47 +08:00
2026-10-15 23:08:03 +08:00
2026-11-12 17:07:23 +08:00
2026-10-10 19:53:02 +08:00
2026-10-30 10:29:59 +08:00
2026-11-03 20:03:00 +08:00
2026-10-31 21:29:22 +08:00
2026-11-03 20:03:00 +08:00
2026-11-03 20:03:00 +08:00
2026-11-03 20:03:00 +08:00
2026-11-03 20:03:00 +08:00
2026-11-03 20:03:00 +08:00
2026-10-10 00:37:32 +08:00