Skip to content

1.6.0: the panel on vireglass 3, and Cloudflare's 52x retried - #11

Merged
pruffit merged 4 commits into
mainfrom
release/1.6.0
Oct 19, 2026
Merged

pruffit merged 4 commits into
mainfrom
release/1.6.0

Conversation

@pruffit

@pruffit pruffit commented Oct 19, 2026

Copy link
Copy Markdown
Owner

What changed

The panel on vireglass 3 (closes #9). vireglass is bumped to ^3.0.1, and src/glass.ts is re-ported from 3.0's live-DOM renderer:

  • the rim is 3.0's rimGradientCss: a thin line round the whole contour, brighter toward the key light, its strength following the surround, over a dark edge;
  • the body is bodyLayer, one translucent layer lighter than its surround on every backdrop (it replaces the old resolveBody tint). It is still painted on the .tint layer above the refraction, since a parent's background would be pulled into its own backdrop;
  • the contrast rim and the shadow take appear (3.0.1); the panel is always present, so it is passed as 1;
  • kept as before: the finger deform and the morph's stretched map, the two reasons this is a port and not attachGlass. setSample has no use here, because the port reads its own sample.

Checked live in Yandex Browser 26.8 (Chromium 150) on test/ui-demo.html, light, dark and grid backdrops, button at rest and pane open, on main and on this branch. Before: on light the button is a clear body with two rim arcs (top-right and bottom-left), and on dark the lettering is hard to read over a dark body. After: a rim round the whole contour on all three, a lighter body, legible text. The computed backdrop-filter on the glass layer is url("#vg-refract") in both, so the refraction is real.

Cloudflare's 52x are retried (closes #10). 520 to 525 join the retry list in src/core.ts with the existing backoff, so "the site is answering with error 525" appears only after the last attempt. 526, 527 and 530 are not transient and still fail at once. src/translate/google.ts is unchanged: it talks to Google, not Cloudflare. makeContext gets an optional backoffBase (default as before) so the tests do not wait out real backoff. Tests in test/net.ts: 525 twice then 200 completes; an endless 525 fails after five attempts with the 5xx message; 526 is not retried.

Release prep. CHANGELOG 1.6.0 entry, version 1.6.0 in package.json, package-lock.json and manifest.json, dist/ rebuilt. The lockfile changes only vireglass. npm run check passes.

Closes #9
Closes #10

🤖 Generated with Claude Code

pruffit and others added 4 commits October 19, 2026 21:36
An AO3 download stopped at once on a 525: the origin behind Cloudflare had
blinked, and the status was not on the retry list. 520 to 525 now back off
like the other 5xx; 526, 527 and 530 are not transient and still fail at
once. Google Translate is not behind Cloudflare, so its list stays as it was.

Refs #10

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The rim is 3.0's line round the whole contour, the body its single lighter
layer (bodyLayer), and the contrast rim and the shadow take appear. The port
keeps the finger deform and the morph's stretched map: those are why it is
not a call to attachGlass. setSample has no use here, the port reads its own
sample.

Refs #9

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…he 52x edges are tested

A retried 520–525 used to wait up to about 18 s with the panel frozen on its last line; it now says the site is not
answering and when it tries again. 520 and 524 are retried, 526, 527 and 530 are not, and the lockfile's root entry
carries 1.6.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pruffit
pruffit merged commit d7040c8 into main Oct 19, 2026
1 check passed
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.

A Cloudflare 52x from the site ends the download at once Move the panel to vireglass 3

1 participant