Repository navigation
Commit 9acc44c
committed
Remount the widget instead of relying on reactive signal updates
The packaged CLI does not repaint plugin components after their initial
frame (separate plugin/host reactive graphs — anomalyco/opencode#39986),
so a signal-driven widget freezes after first paint even though timers
and fetches keep running. Rework the widget to be fully stateless: the
refresh loop and clock tick now dispose and re-claim the sidebar slot
with an immutable snapshot, and initial-paint mounting is the one path
that always works on affected builds. The keymap layer is kept as a
best-effort for builds where it does activate.1 parent df69ae4 commit 9acc44c
3 files changed
Lines changed: 123 additions & 115 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments