Skip to content

reload: a reload that went through is a toast, not a transcript line (7.196.0, to-human 0.4.0) - #306

Merged
SSFSKIM merged 1 commit into
mainfrom
reload-toast
Oct 21, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
reload-toast

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 21, 2026

Copy link
Copy Markdown
Owner

What

A successful autoreload (/reload-plugins whose output is the single Reloaded: … line) now reaches the person as a toast instead of the reload mod's $.ui.log transcript line. Any other output (load errors, an unreachable marketplace, an update not applied) stays a transcript line. The to-human view's ui.log hook, which routed the success line to the debug log while the report folded, is removed.

Why

A $.ui.log transcript line is stored as a system row that the engine draws through no render hook. Once one is written (while the full transcript showed, or when the view's hook missed it), no view can fold it again, and every resume draws it once more. Since to-human 0.3.2, 39 of the 164 autoreloads in this machine's transcripts wrote the line, 25 of them in sessions whose report was folding. An isolated live session reproduced none of those 25: the hook diverted the line on every kind of reload (another plugin, to-human, doperpowers, sminos).

Verified

Sminos-Session: doperpowers-8d#d6cb5bd0 (doperpowers on macbook)

…(7.196.0, to-human 0.4.0)

The reload mod told a successful /reload-plugins as its `$.ui.log`
transcript line, and the to-human view kept that line out of its report
with a `ui.log` hook that sent it to the debug log while the report
folded. A transcript line is a system row the engine draws through no
render hook: once one is written (while the full transcript showed, or
when the hook missed it) no view can fold it again, and every resume
draws it once more. This machine's transcripts since to-human 0.3.2: 39
of 164 autoreloads wrote the line, 25 of them in sessions whose report
was folding; an isolated live session reproduced none of those.

A reload whose output says no more than `Reloaded: …` now reaches the
person as a toast, which the debug log also keeps, and leaves no row. One
that says more (load errors, an unreachable marketplace, an update not
applied) stays the plugin's transcript line, in both views. The to-human
view's `ui.log` hook goes, with its tests; the live reload-rows check now
expects no notice row and the toast on screen.

Sminos-Session: doperpowers-8d#d6cb5bd0 (doperpowers on macbook)
@SSFSKIM
SSFSKIM merged commit cb78c2d into main Oct 21, 2026
1 check passed
@SSFSKIM
SSFSKIM deleted the reload-toast branch October 21, 2026 01:30
SSFSKIM added a commit that referenced this pull request Oct 21, 2026
482053f set a fixed 7.195.1 on top of main's 7.196.0 (PR #306), so the next
minor bump would have reused 7.196.0, a number the plugin cache already
holds, and never installed. The to-human "only" wording ships as 7.197.0.

Sminos-Session: doperpowers-f7#e7f55ccc (doperpowers on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant