opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: add interactive tip cycling on click with hover effect

Open R44VC0RP opened this issue 8 hours ago • 2 comments

Summary

  • Add interactive tip cycling - users can click on tips to cycle through them
  • Add hover underline effect to indicate tips are interactive
  • Convert tip display to use reactive signals for state management

Changes

  • Added index signal to track current tip
  • Added hover signal for hover state
  • Added cycle() function to advance through tips
  • Added mouse event handlers (onMouseOver, onMouseOut, onMouseUp)
  • Converted static parts to reactive createMemo for dynamic updates
  • Added underline style on hover for visual feedback

Testing

Tested locally with bun dev - tips now cycle on click and show underline on hover.

R44VC0RP avatar Jan 15 '26 23:01 R44VC0RP