Roo-Code/webview-ui/src/components/common
roomote[bot] d959e88a97
feat: Add telemetry tracking to DismissibleUpsell component (#8309)
* feat: add telemetry tracking to DismissibleUpsell component

- Added UPSELL_DISMISSED and UPSELL_CLICKED events to TelemetryEventName enum
- Updated DismissibleUpsell component to track clicks and dismissals with telemetry
- Added telemetry tests to DismissibleUpsell test suite
- Events include upsellId in the payload for tracking specific upsells

* refactor(webview): make handleDismiss synchronous in DismissibleUpsell

test(webview): add scenario where dismissOnClick=true without onClick tracks only UPSELL_DISMISSED; update tests; all tests passing locally

---------

Co-authored-by: Roo Code <roomote@roocode.com>
2025-09-25 13:29:43 -04:00
..
__mocks__ Fix: Missing or inconsistent syntax highlighting across UI components (#3656) 2025-05-20 22:29:57 -04:00
__tests__ feat: Add telemetry tracking to DismissibleUpsell component (#8309) 2025-09-25 13:29:43 -04:00
CodeAccordian.tsx ux: Redesigned Message Feed (#7985) 2025-09-19 09:30:13 -04:00
CodeBlock.tsx Remove language selection and word wrap toggle from CodeBlock (#8208) 2025-09-21 23:05:08 -04:00
DecoratedVSCodeTextField.tsx Add auto-approved cost limits (#6484) 2025-07-31 15:33:09 -04:00
DismissibleUpsell.tsx feat: Add telemetry tracking to DismissibleUpsell component (#8309) 2025-09-25 13:29:43 -04:00
FormattedTextField.tsx Add auto-approved cost limits (#6484) 2025-07-31 15:33:09 -04:00
IconButton.tsx fix: standardize tooltip delays to 300ms (#5090) (#5098) 2025-06-26 15:41:32 -04:00
ImageBlock.tsx feat: optimize memory usage for image handling in webview (#7556) 2025-08-30 15:57:30 -04:00
ImageViewer.tsx feat: optimize memory usage for image handling in webview (#7556) 2025-08-30 15:57:30 -04:00
MarkdownBlock.tsx ux: Collapse thinking blocks by default (but control all of them with a keyboard shortcut) (#8254) 2025-09-23 18:48:04 -04:00
MermaidActionButtons.tsx fix: standardize tooltip delays to 300ms (#5090) (#5098) 2025-06-26 15:41:32 -04:00
MermaidBlock.tsx Suppress mermaid error rendering (#5308) 2025-07-01 15:50:24 -04:00
MermaidButton.tsx Give Mermaid buttons a light background in light mode (#5342) 2025-07-02 10:58:35 -04:00
Modal.tsx add mermaid buttons (#4547) 2025-06-12 13:06:27 -04:00
Tab.tsx fix: preserve scroll position when switching tabs in settings (#7587) 2025-09-03 19:43:05 -04:00
TabButton.tsx add mermaid buttons (#4547) 2025-06-12 13:06:27 -04:00
TelemetryBanner.tsx Make Posthog telemetry the default (#7909) 2025-09-11 15:50:40 -04:00
Thumbnails.tsx Redesigned Task Header (#6561) 2025-08-05 06:26:25 -07:00
ToolUseBlock.tsx ux: Redesigned Message Feed (#7985) 2025-09-19 09:30:13 -04:00
VersionIndicator.tsx feat: clean up task list in HistoryPreview and History components (#6687) 2025-08-05 11:05:55 -07:00
VSCodeButtonLink.tsx Revert "Tailwind migration" (#3321) 2025-05-08 10:38:29 -04:00
ZoomControls.tsx fix: standardize tooltip delays to 300ms (#5090) (#5098) 2025-06-26 15:41:32 -04:00