Skip to content

add THIS INSTANCE / Updates - #23

Merged
Digit4w merged 1 commit into
devfrom
feat/updates-section
Sep 10, 2026
Merged

Digit4w merged 1 commit into
devfrom
feat/updates-section

Conversation

@Digit4w

@Digit4w Digit4w commented Sep 10, 2026

Copy link
Copy Markdown
Owner

The last piece of the in-app update cycle (B5): where the version, the check and the install live. Admin only, like Storage and Network — updating is installation infrastructure, and the version everyone reads stays in About, which belongs to nobody.

The screen never compares versions and never detects its environment. updateAvailable and canInstall arrive decided: comparing is the knowledge of whoever emits the format, and asking whether we are inside Electron is exactly what the client cannot do (brief, 3.4). A spec asserts this by handing the screen a latest older than current while the server says an update exists — if the screen were doing the comparison, that would render the up-to-date branch.

The refusal lives in the piece that caused it. An install that cannot apply an update reads that where the button would have been, together with the command — not in a banner above the section. What varies is the CONTENT: Check now and the toggle stay in every state, because a control whose existence depends on the state is a control nobody learns (09/09).

Two placement decisions worth a second look:

  • Not conditional, unlike Network. In a container the section still answers the question the person came with. What disappears is the button, not the section.
  • No badge in the column. The 01/09 counter colours by worst severity, and a new version is info — nothing is broken, the bell already announces it, and a second permanent signal for something that works is the signal rule turned against itself.

Progress is a BAR, the exception the owner registered: the 06/09 rule's own test asks whether the numerator moves one at a time, and a download moves by the thousand. With no Content-Length the bar stays indeterminate and the text says only how much arrived.

Writing the spec caught the 10/09 a11y rule again: aria-label on the Switch, which declares only aria-labelledby, was discarded by the component with tsc -b clean and nothing complaining. Fixed with id + aria-labelledby, and the break was verified red.

Depends on Digit4w/watchpile-server#18, already merged.

🤖 Generated with Claude Code

The last piece of the update cycle: where the version, the check and the
install live. Admin only, like Storage and Network — updating is
installation infrastructure, and the version everyone reads stays in
About, which belongs to nobody.

The screen never compares versions and never detects its environment:
`updateAvailable` and `canInstall` arrive decided. Comparing is the
knowledge of whoever emits the format, and asking whether we are inside
Electron is exactly what the client cannot do (brief, 3.4). A spec
asserts this by handing the screen a `latest` older than `current` while
the server says an update exists — if the screen were doing the
comparison, that would render the up-to-date branch.

The refusal lives in the piece that caused it: an install that cannot
apply an update reads that where the button would have been, together
with the command, not in a banner above the section. What varies is the
CONTENT — `Check now` and the toggle stay in every state, because a
control whose existence depends on the state is a control nobody learns.

The section is NOT conditional, unlike Network: in a container it still
answers the question the person came with. What disappears is the
button, not the section. And it gets no badge in the column — the
counter colours by worst severity, and a new version is `info`. Nothing
is broken, the bell already announces it, and a second permanent signal
for something that works is the signal rule turned against itself.

Progress is a BAR, the registered exception: the 06/09 rule's own test
asks whether the numerator moves one at a time, and a download moves by
the thousand. With no `Content-Length` the bar stays indeterminate and
the text says only how much arrived — faking a fraction would be the
piece asserting what it does not know.

Writing the spec caught the 10/09 a11y rule again: `aria-label` on the
`Switch`, which declares only `aria-labelledby`, was DISCARDED by the
component with `tsc -b` clean and nothing complaining.
@Digit4w
Digit4w merged commit 736bec8 into dev Sep 10, 2026
@Digit4w
Digit4w deleted the feat/updates-section branch September 10, 2026 14:02
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