Skip to content

fix(web): home sections below the hero never stay hidden (E-065) + two doc facts - #4

Merged
MoTechSys merged 1 commit into
mainfrom
genspark_ai_developer
Oct 6, 2026
Merged

MoTechSys merged 1 commit into
mainfrom
genspark_ai_developer

Conversation

@MoTechSys

@MoTechSys MoTechSys commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

P0 on the live home page: on capable devices (where the WebGL backdrop mounts ~1 s after load) every section below the hero stayed at opacity 0 — measured live: 18/18 [data-reveal] hidden after a full scroll (0/18 on a 2-core device where the backdrop is skipped). Cause: useReveal re-ran on every render; the backdrop re-render disconnected the observer and cancelled the safety timer, and the new run selected [data-reveal]:not([data-in]) = nothing.

Fix: effect runs once per mount, re-adopts already-hidden elements, reveals everything on cleanup.

Measured: production build in Chromium with the backdrop → 0/18 hidden; vitest 34/34 (+2 regression tests that fail on the old hook); tsc, oxlint 0 errors, build ok.

Docs: README layout line Python 3.13 → ≥ 3.12 (matches pyproject); AI_USAGE I1–I11 → I1–I19 (matches SAFETY). E-065 in DECISIONS, CHANGELOG Fixed.

(The earlier bot health-dependency content of this PR is already on main via c39d9f1/2fb4b0e.)

…s: Python ≥3.12, I1–I19

useReveal ran on every render; the backdrop's mount re-render disconnected the observer and
cancelled the safety timer, leaving all 18 [data-reveal] sections at opacity 0 (measured live).
Effect now runs once per mount, re-adopts hidden elements, reveals all on cleanup.
Verified: production build in Chromium with the backdrop -> 0/18 hidden; vitest 34/34 (+2 that
fail on the old hook). README layout line Python 3.13 -> >=3.12; AI_USAGE I1-I11 -> I1-I19.
@MoTechSys
MoTechSys force-pushed the genspark_ai_developer branch from dc2d82c to bf790a0 Compare October 6, 2026 19:27
@MoTechSys MoTechSys changed the title ops(deploy): bot waits for API healthcheck + live measurements of the VPS bot (E-063) fix(web): home sections below the hero never stay hidden (E-065) + two doc facts Oct 6, 2026
@MoTechSys
MoTechSys merged commit 144f831 into main Oct 6, 2026
5 checks 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.

2 participants