fix(pinokio): disclose incoming changes before Update pulls and installs (#507)

Supersedes #356 by @Lob26, ported onto the current component layout with fixes from review.

Verified before merge: format, package boundaries, unit suite, build, and the browser tracking suite; a browser harness for the change where one applies; adversarial review applied.

Co-authored-by: Pedro Lobato <[email protected]>
This commit is contained in:
Bilawal SidhuandPedro Lobato authored and GitHub committed 2026-09-14 19:34:23 -05:00
1 parent b00f835341
commit 70dca86bc1
4 files changed
+697 -4

No files matched your search

+10
View File
@@ -253,6 +253,16 @@ of current runtime behavior, see [`docs/CURRENT-STATE.md`](docs/CURRENT-STATE.md
last good picture kept after a failed refresh — and the one feature that sends
imagery anywhere: the voice assistant's viewport screenshot. Contributed by
Lob26 (#357).
- Pinokio's Update shows what it is about to install before it installs it: the
tracking branch, the remote it fetched from, the incoming commits and their
diffstat. The remote is printed as host and path — a password or token in the
URL's user field is replaced and any query string dropped, though a secret
spelled as an ordinary path segment cannot be told from a repository name. It
fetches once and applies exactly the revision it named, so a commit that lands
mid-update cannot be installed unannounced. A git read it cannot complete is
reported as such instead of as "already up to date", and if the revision to
apply cannot be resolved at all the update stops without installing anything
and exits unsuccessfully. Contributed by Lob26 (#356).
- Extract panel disclosure and hover/focus controls into a reusable module;
cancel their listeners and pending work during replacement and teardown.