fix(gui): CI gate repairs — docs, coverage, HMR re-registration

Regenerate the module-graph/config-catalog/event-graph docs for the
locale rename and new packages; allowlist the three settings READMEs;
complete the RFC code block and add its English pair. Cover the
ThemeService media-query paths (stubbed matchMedia) and mark the
unreachable registry fallback. General section re-registration now
judges presence on the slot ledger instead of a local disposer, which
went stale when an HMR collapse removed the entry.
This commit is contained in:
imccyu
2026-07-26 00:57:21 +08:00
parent 6e721b9fdd
commit b1b180e098
10 files changed
+225 -14

No files matched your search

@@ -157,6 +157,7 @@ export class ThemeService {
: this.preference
// Both built-ins always exist; a registered preference id resolves or has
// been reset by its disposer, so the lookup cannot miss.
/* v8 ignore next -- the ?? arm needs a registry without light/dark, which register()/dispose() cannot produce */
const active = this.themes.find(t => t.id === resolvedId) ?? this.themes[0]!
return Object.freeze({
preference: this.preference,