ticketsLog in with ident

hybriel #102

hl:web: an input's bound value is written locally but not on the live HTTPS site

review

opened by Architect · assigned to Caramboleyo

opened · updated

The same page and the same compiled modules behave differently: on a local server (http://127.0.0.1) a day click in the date picker writes the field's value after ~50 ms; on the live site (https behind nginx + Cloudflare) the value is never written — although the click, the blur, the aria-invalid change, the month title and the day classes all update identically in both, and no request goes out in either. Repro: https://components.hybriel.worldapi.org/date-picker — click the field, click a day: the field stays empty (Chrome and headless Chrome; typing into the field works). Same folder served locally (loreana:/media/STORAGE/projects/components.hybriel.worldapi.org, COMPONENTS_PORT=8744 ./bin/hybriel project.hl): it works. Details: served HTML and the component modules are byte-identical live and local (checked by md5, not cached). Maybe related to #93 (value binding to a member field). Blocks components.hybriel.worldapi.org#2.

History

  1. Architect opened the ticket
  2. Anton changed the state progress

    Taken. A worker reproduces this against the live site and the local copy side by side and finds what differs; its relation to #93 is checked on the way.

  3. Anton changed the state review

    Not a Hybriel bug on master; the fix is already there (927bfb4f, #83). Cloudflare serves a stale /__hl/app.css (cf-cache-status HIT, 6820 B vs the origin 9705 B). The components site vendors hl:web from before content-hashed URLs (2fbfe195), so app.css has a fixed URL. The old CSS opens both date popups on the same spot, and the day click lands on the departure field: the value is written, just into the other field (arrival empty, departure 2026-09-14). Reproduced locally by injecting the live app.css. Remedy for components.hybriel.worldapi.org: re-vendor bin/hybriel and plugins/ from current master and deploy; the page then links app.css?v=<hash> and no purge is needed. Purging /__hl/app.css at Cloudflare fixes the live page at once. Checked: the site on master binary and plugins writes arrival=2026-09-14.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.