Integrate rich cursor and fix tooltip pointer events#395
Conversation
- Add TimeGraphChartRichCursor layer to gantt chart - Set tooltip pointerEvents to 'none' to avoid blocking canvas events - Add pixi.js-legacy resolution to force 7.x from linked timeline-chart
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe pull request adds a rich cursor visualization layer to the gantt chart component, disables tooltip pointer events to prevent interference, and resolves the pixi.js-legacy dependency required by the new layer. ChangesRich Cursor Visualization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Requires eclipse-cdt-cloud/timeline-chart#338 |
|
I confirm the cursor on a time-line chart gets a row-based overlay label reflecting the full state label at the cursor position. I do observe a strange behaviour though: Initially, after clicking into the time chart canvas, the cursor moves along with the mouse. But after a while the cursor becomes sticky and does not follow the mouse movement anymore. Once I click again into the canvas, the cursor moves again. Opinion: I'd expect the cursor to span all visible time-based graphs and being shown in a similar way. With this change, the cursor on other views is just set the the time position where the mouse click appears but does not move along with the mouse pointer, nor does it show similar signal markers. E.g., in a time XY with multiple signals, we should have current value displayed at the cursor position as well while the cursor follows the mouse pointer. |
| "@vscode/vsce": "2.25.0", | ||
| "@types/react": "18.3.8" | ||
| "@types/react": "18.3.8", | ||
| "pixi.js-legacy": "^7.3.2" |
There was a problem hiding this comment.
Do we need to repeat this transitive dependency here?
There was a problem hiding this comment.
This one is a big one, we upgraded from 5 - 7, but maybe no, we can test later! ;)
What it does
How to test
Open a timegraph
Follow-ups
Review checklist
Summary by CodeRabbit
New Features
Bug Fixes
Chores