AG-16865 Fix annotations toolbar to allow top level item buttons#6504
AG-16865 Fix annotations toolbar to allow top level item buttons#6504alantreadway merged 1 commit intolatestfrom
Conversation
|
✅ Codex review complete; no issues found View full reviewAG-16865 Fix annotations toolbar to allow top level item buttonsPR: #6504 SummaryThis PR extends the annotations toolbar to handle direct top-level annotation item buttons (for line, fibonacci, text, and shape items) instead of requiring menu wrappers. It introduces explicit switch cases and a shared helper to activate the pressed button and emit the create-annotation event. FindingsP0: 0 | P1: 0 | P2: 0 | P3: 0 No issues found. VerdictAssessment: correct The change is coherent and consistent with existing toolbar event flows: top-level item values are now explicitly handled and mapped to concrete annotation types without introducing obvious regressions in the shown code. Required Actions: None - ready to merge |
https://ag-grid.atlassian.net/browse/AG-16865