mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor: enhance SidebarUserProfile component with download tracking and improved button styling
This commit is contained in:
parent
c77babf39b
commit
4083d33b5c
4 changed files with 49 additions and 4 deletions
|
|
@ -401,6 +401,16 @@ export function trackSourcesTabViewed(searchSpaceId: number, tab: string) {
|
|||
});
|
||||
}
|
||||
|
||||
export function trackDesktopDownloadClicked(options: {
|
||||
os: string;
|
||||
placement: "sidebar_collapsed" | "sidebar_expanded";
|
||||
}) {
|
||||
safeCapture("desktop_download_clicked", {
|
||||
os: options.os,
|
||||
placement: options.placement,
|
||||
});
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// SEARCH SPACE INVITE EVENTS
|
||||
// ============================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue