gui: markNewPartners' comment is shorter, so app.js is in its budget again (#3367)
ef3b9f85aput 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/main3173440ca+ this change: go test ./internal/gui/ -count=1 ok (104s), app.js 1326092 bytes; gofmt -l clean.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user