From 42ec2700bd2a4cf8d4ceb76a95767ac221e283e5 Mon Sep 17 00:00:00 2001 From: yetone Date: Mon, 26 Oct 2026 01:20:42 +0800 Subject: [PATCH] gui: markNewPartners' comment is shorter, so app.js is in its budget again (#3367) ef3b9f85a put app.js 20 bytes over TestCoreScriptBudget (1326125 > 1326105, core 1537036 > 1537016) and its record ran only the GUI files, not internal/gui's Go tests. The comment it added is 33 bytes shorter now; no code changes and the budget stays as it is. Run at origin/main 3173440ca + this change: go test ./internal/gui/ -count=1 ok (104s), app.js 1326092 bytes; gofmt -l clean. --- internal/gui/assets/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.js index 127987155..19ffda8fb 100644 --- a/internal/gui/assets/app.js +++ b/internal/gui/assets/app.js @@ -7633,8 +7633,8 @@ function countPartner(what, ids) { // a partner listed since the add sheet last showed the partners puts a // small dot on the add button, its name in the button's title, until the // sheet shows it (yetone: 有了新的合作伙伴的时候…提醒吸引用户点击查看), -// and a still one on Providers in the sidebar, as Plugins has for an -// update, so it is seen from any page (yetone: 侧边栏…不要太打扰用户) +// and a still one on Providers in the nav, as Plugins has for an update +// (yetone: 侧边栏…不要太打扰用户) function markNewPartners() { const list = providers || providersEarly?.got; const fresh = adding ? [] : (list?.presets || []).filter((p) => p.kind === "partner" && p.new && !p.added && partnerShown(p));