Closed interim17 closed 5 months ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π‘ | Statements | 73.27% | 603/823 |
π‘ | Branches | 68.38% | 80/117 |
π΄ | Functions | 40.31% | 79/196 |
π‘ | Lines | 71.73% | 538/750 |
99 tests passing in 7 suites.
Report generated by π§ͺjest coverage report action from 82e731ff5a7fe0b8e923f898f456e6f32f9ac900
Time to review: Small: 5 minutes
Problem
Closes #297 specifially criteria 1 and 2 @meganrm already resolved criteria 3 and 4 in previous work.
Solution
We need to manage the tooltip open/closed state via a local state so we can keep it closed after a click event, and only update the title text while the tooltip is closed so that the new text doesn't flicker before the tooltip has a chance to hide.
Steps to Verify:
https://github.com/simularium/simularium-website/assets/24981838/2efef448-aa93-417f-a6eb-67b71e0063e2