Commit Graph
2 Commits
Author SHA1 Message Date
yetone ba07128884 gui tests: nav-sub-unroll and plugin-check-github-limit find Installed by name, after P0's Built-in tab
3ccbe6bc1 (P0) added Plugins › Built-in, so Plugins now has three
sidebar rows. That broke two tests, red on a75de4c21 in both engines:
- nav-sub-unroll expected two rows (22/22 red).
- plugin-check-github-limit took the second tab as Installed in German,
  and so clicked Discover.
Both now find Installed by its name ("Installiert" in German). The
nav-sub check that the selection doesn't reach into the row above holds
for whatever row that is.

Run: nav-sub-unroll 22/22, plugin-check-github-limit 18/18 (Chromium and
WebKit).
2026-10-13 20:39:39 +08:00
yetone d9a050cc19 gui: Check for updates no longer calls every plugin up to date when some couldn't be checked, and names GitHub's rate limit on a plugin from GitHub (#1942, bingqilinweimaotai)
The summary read "Every plugin is up to date · 1 couldn't be checked"
(所有插件都是最新的 · N 个无法检查), which contradicts itself: a plugin that
couldn't be checked isn't known to be current. When any plugin couldn't be
checked and none has an update, it now reads "No updates for the plugins
checked · N couldn't be checked: …" (zh, zh-TW, ja, de added).

A git plugin's reason now uses the check's new `limited` field (when the
limit lifts, and whether a token was sent) through the rate-limit strings
the Library already translates, instead of the raw error, so it says to add
a GitHub token in Settings → Network and sharing, or that the token's own
limit is used up.

Run: new plugin-check-github-limit.test.cjs (en, zh, ja, de at 980 and 420,
with and without a token) in Chromium and WebKit, 18/18; red with the old
summary and with the raw error restored by hand. plugin-check-updates,
plugin-git, i18n-keys, gui-ja, gui-de in Chromium and WebKit: green.
2026-10-13 15:19:56 +08:00