generated from OpsDeck/module_template
feat: show the pending update count on the nav entry #4
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/nav-badge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The sidebar entry for Updates now shows a yellow pill with the number of pending packages. The hover text says how many of them are security updates.
Changes
load()callsctx.ui.badgeevery time it produces a fresh state. That covers the collector tick, page views and the reload after a run.packages: []from a host the module cannot read does not mean nothing is pending.⚠️ Merge order
This needs OpsDeck/core
feat/nav-badges, which addsctx.ui.badge. On an older core the call throws and every page load fails. Deploy core first, then update the module's pinned sha.This branch is based on
main, separate from #3 (restart-host). The two don't overlap.Verification
feat/nav-badges:deno check backend/mod.tsis clean anddeno test --allow-read backend/passes (56 tests).🤖 Generated with Claude Code