mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 01:07:08 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
1.5 KiB
1.5 KiB
Shared changes requested by /careers (Wave 2 Company chat)
- components/Morph.jsx (Chrome or kit owner): every data-morph click times out.
- The cause: the view-transition update callback resolves inside
requestAnimationFrame, and rAF does not run while a transition holds rendering. A bare test took 4062ms with rAF against 852ms with a timeout. - The fix: call
ok()directly once the new route has committed, or use asetTimeout(0). - Until then the Company pages open cards with the page-local
components/pages/doorway.js.
- The cause: the view-transition update callback resolves inside
- components/kit.jsx
A: a bare#hashhref counts as external and getstarget=_blank.Ashould treat#…(andmailto:) as same-tab. The Company pages pass/<page>#hashmeanwhile. done: the template is grey deck only, tags under the title./careers/*role template: blue kicker and blue askcomponents/pages/doorway.jsuseArrival(Company group): make the landing idempotent. A cancelled wipe must never remove the cover (a.finished.then(remove, () => {}), plus a timed failsafe). /careers and /careers/* no longer use it: they open through the page-localcomponents/pages/careers/door.js(openSheet/useSheetLanding), which also lifts any shared[data-door]cover that way.- Header (Chrome owner): with
data-ask="off"(careers, MASTER part 4) the header's solid "Try Hanzo" shares the first screen with the page's solid ask. The header could turn quiet when a page turns its ask bar off. Not hacked here.