mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-11 01:11:30 +08:00

* feat: add integrations to the side-nav for cloud users * feat: change the route from integrations/installed to /integrations * feat: light mode table color * feat: increase the width of the integrations panel by 25 percent * feat: added telemetry constants and page view * feat: added telemetry events for integrations * feat: address review comments
22 lines
797 B
TypeScript
22 lines
797 B
TypeScript
import history from 'lib/history';
|
|
|
|
export const handleContactSupport = (isCloudUser: boolean): void => {
|
|
if (isCloudUser) {
|
|
history.push('/support');
|
|
} else {
|
|
window.open('https://signoz.io/slack', '_blank');
|
|
}
|
|
};
|
|
|
|
export const INTEGRATION_TELEMETRY_EVENTS = {
|
|
INTEGRATIONS_ITEM_LIST_CLICKED: 'Integrations Page: Clicked an integration',
|
|
INTEGRATIONS_DETAIL_CONNECT:
|
|
'Integrations Detail Page: Clicked connect integration button',
|
|
INTEGRATIONS_DETAIL_TEST_CONNECTION:
|
|
'Integrations Detail Page: Clicked test Connection button for integration',
|
|
INTEGRATIONS_DETAIL_REMOVE_INTEGRATION:
|
|
'Integrations Detail Page: Clicked remove Integration button for integration',
|
|
INTEGRATIONS_DETAIL_CONFIGURE_INSTRUCTION:
|
|
'Integrations Detail Page: Navigated to configure an integration',
|
|
};
|