Commit e52fddb
ENG-1642 Discourse context overlay gets re-triggered every hover in a query block when view is render (#989)
* ENG-1642 Memoize results table to avoid redraws
* spurious includes
* Refactor ResultsView component to simplify menu icon visibility (#1006)
- Removed state management for revealMenuIcons and associated mouse event handlers.
- Introduced a new className for menu icons to control visibility based on interface settings and hover state.
- Updated CSS to manage menu icon display logic, enhancing user experience by streamlining the interface.
This change improves the clarity and maintainability of the ResultsView component.
* remove memo
---------
Co-authored-by: Michael Gartner <mclicks@gmail.com>1 parent 5fd1f73 commit e52fddb
3 files changed
Lines changed: 24 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 163 | + | |
170 | 164 | | |
171 | 165 | | |
172 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | 333 | | |
335 | | - | |
336 | 334 | | |
337 | 335 | | |
338 | 336 | | |
| |||
452 | 450 | | |
453 | 451 | | |
454 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
455 | 461 | | |
456 | 462 | | |
457 | 463 | | |
458 | 464 | | |
459 | 465 | | |
460 | | - | |
461 | | - | |
462 | 466 | | |
463 | 467 | | |
464 | 468 | | |
| |||
580 | 584 | | |
581 | 585 | | |
582 | 586 | | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
| 587 | + | |
587 | 588 | | |
588 | 589 | | |
589 | 590 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
78 | 92 | | |
79 | 93 | | |
80 | 94 | | |
| |||
0 commit comments