Surfaced by the clarity-review pass on the v0.1.0 release branch (B3). Do NOT apply for v0.1.0 — captured for post-launch.
After #47, the hovered flag in src/components/Avatar.svelte is semantically "the bio panel is open." It is toggled by click, focus, hover, and escape alike — not just hover. The hovered name predates that and reads as a literal pointer-over flag, which is misleading when reading handleEscape, handleClose, and aria-expanded={hovered}.
setOpen is already the setter; the state name should match. Suggested rename: hovered → isOpen (or bioOpen if the disambiguation against a future full-card-expand state matters).
Files
src/components/Avatar.svelte (single-file rename)
Surfaced by the clarity-review pass on the v0.1.0 release branch (B3). Do NOT apply for v0.1.0 — captured for post-launch.
After #47, the
hoveredflag insrc/components/Avatar.svelteis semantically "the bio panel is open." It is toggled by click, focus, hover, and escape alike — not just hover. Thehoveredname predates that and reads as a literal pointer-over flag, which is misleading when readinghandleEscape,handleClose, andaria-expanded={hovered}.setOpenis already the setter; the state name should match. Suggested rename:hovered→isOpen(orbioOpenif the disambiguation against a future full-card-expand state matters).Files
src/components/Avatar.svelte(single-file rename)