SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
chore: remove facing issues button (#6256)
Vishal Sharmad7846338ce66
diff --git a/frontend/src/components/LaunchChatSupport/util.ts b/frontend/src/components/LaunchChatSupport/util.tsindex 8b610b11cc..ebf40eadb1 100644--- a/frontend/src/components/LaunchChatSupport/util.ts+++ b/frontend/src/components/LaunchChatSupport/util.ts@@ -1,46 +1,3 @@-import { PANEL_TYPES } from 'constants/queryBuilder';-import { AlertDef } from 'types/api/alerts/def';-import { Dashboard, DashboardData } from 'types/api/dashboard/getAll';--export const chartHelpMessage = (- selectedDashboard: Dashboard | undefined,- graphType: PANEL_TYPES,-): string => `-Hi Team,--I need help in creating this chart. Here are my dashboard details--Name: ${selectedDashboard?.data.title || ''}-Panel type: ${graphType}-Dashboard Id: ${selectedDashboard?.uuid || ''}--Thanks`;--export const dashboardHelpMessage = (- data: DashboardData | undefined,- selectedDashboard: Dashboard | undefined,-): string => `-Hi Team,--I need help with this dashboard. Here are my dashboard details--Name: ${data?.title || ''}-Dashboard Id: ${selectedDashboard?.uuid || ''}--Thanks`;--export const dashboardListMessage = `Hi Team,--I need help with dashboards.--Thanks`;--export const listAlertMessage = `Hi Team,--I need help with managing alerts.--Thanks`;-export const onboardingHelpMessage = (dataSourceName: string,moduleId: string,@@ -55,35 +12,3 @@ Module: ${moduleId}Thanks`;--export const alertHelpMessage = (- alertDef: AlertDef,- ruleId: number,-): string => `-Hi Team,--I need help in configuring this alert. Here are my alert rule details--Name: ${alertDef?.alert || ''}-Alert Type: ${alertDef?.alertType || ''}-State: ${(alertDef as any)?.state || ''}-Alert Id: ${ruleId}--Thanks`;--export const integrationsListMessage = `Hi Team,--I need help with Integrations.--Thanks`;--export const integrationDetailMessage = (- selectedIntegration: string,-): string => `-Hi Team,--I need help in configuring this integration.--Integration Id: ${selectedIntegration}--Thanks`;diff --git a/frontend/src/container/ListAlertRules/ListAlert.tsx b/frontend/src/container/ListAlertRules/ListAlert.tsxindex 424d98ddd9..8e18efdb20 100644--- a/frontend/src/container/ListAlertRules/ListAlert.tsx+++ b/frontend/src/container/ListAlertRules/ListAlert.tsx@@ -5,7 +5,6 @@ import type { ColumnsType } from 'antd/es/table/interface';import saveAlertApi from 'api/alerts/save';import logEvent from 'api/common/logEvent';import DropDown from 'components/DropDown/DropDown';-import { listAlertMessage } from 'components/LaunchChatSupport/util';import {DynamicColumnsKey,TableDataSource,@@ -397,15 +396,6 @@ function ListAlert({ allAlertRules, refetch }: ListAlertProps): JSX.Element {dynamicColumns={dynamicColumns}onChange={handleChange}pagination={paginationConfig}- facingIssueBtn={{- attributes: {- screen: 'Alert list page',- },- eventName: 'Alert: Facing Issues in alert',- buttonText: 'Facing issues with alerts?',- message: listAlertMessage,- onHoverText: 'Click here to get help with alerts',- }}/></>);diff --git a/frontend/src/container/ListOfDashboard/DashboardsList.tsx b/frontend/src/container/ListOfDashboard/DashboardsList.tsxindex 9908374a1b..9f30f18c5d 100644--- a/frontend/src/container/ListOfDashboard/DashboardsList.tsx+++ b/frontend/src/container/ListOfDashboard/DashboardsList.tsx@@ -25,8 +25,6 @@ import logEvent from 'api/common/logEvent';import createDashboard from 'api/dashboard/create';import { AxiosError } from 'axios';import cx from 'classnames';-import LaunchChatSupport from 'components/LaunchChatSupport/LaunchChatSupport';-import { dashboardListMessage } from 'components/LaunchChatSupport/util';import { ENTITY_VERSION_V4 } from 'constants/app';import ROUTES from 'constants/routes';import { Base64Icons } from 'container/NewDashboard/DashboardSettings/General/utils';@@ -693,16 +691,6 @@ function DashboardsList(): JSX.Element {<Typography.Text className="subtitle">Create and manage dashboards for your workspace.</Typography.Text>- <LaunchChatSupport- attributes={{- screen: 'Dashboard list page',- }}- eventName="Dashboard: Facing Issues in dashboard"- message={dashboardListMessage}- buttonText="Need help with dashboards?"- onHoverText="Click here to get help with dashboards"- intercomMessageDisabled- /></Flex></div>diff --git a/frontend/src/container/NewDashboard/DashboardDescription/index.tsx b/frontend/src/container/NewDashboard/DashboardDescription/index.tsxindex 9559eed42a..151fba7609 100644--- a/frontend/src/container/NewDashboard/DashboardDescription/index.tsx+++ b/frontend/src/container/NewDashboard/DashboardDescription/index.tsx@@ -12,8 +12,6 @@ import {Typography,} from 'antd';import logEvent from 'api/common/logEvent';-import LaunchChatSupport from 'components/LaunchChatSupport/LaunchChatSupport';-import { dashboardHelpMessage } from 'components/LaunchChatSupport/util';import { SOMETHING_WENT_WRONG } from 'constants/api';import { QueryParams } from 'constants/query';import { PANEL_GROUP_TYPES, PANEL_TYPES } from 'constants/queryBuilder';@@ -356,18 +354,6 @@ function DashboardDescription(props: DashboardDescriptionProps): JSX.Element {{isDashboardLocked && <LockKeyhole size={14} />}</div><div className="right-section">- <LaunchChatSupport- attributes={{- uuid: selectedDashboard?.uuid,- title: updatedTitle,- screen: 'Dashboard Details',- }}- eventName="Dashboard: Facing Issues in dashboard"- message={dashboardHelpMessage(selectedDashboard?.data, selectedDashboard)}- buttonText="Need help with this dashboard?"- onHoverText="Click here to get help with dashboard"- intercomMessageDisabled- /><DateTimeSelectionV2 showAutoRefresh hideShareModal /><Popoveropen={isDashboardSettingsOpen}diff --git a/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx b/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsxindex d98bd25e1c..e22727add1 100644--- a/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx+++ b/frontend/src/container/NewWidget/LeftContainer/QuerySection/index.tsx@@ -4,7 +4,6 @@ import { Color } from '@signozhq/design-tokens';import { Button, Tabs, Typography } from 'antd';import logEvent from 'api/common/logEvent';import PromQLIcon from 'assets/Dashboard/PromQl';-import LaunchChatSupport from 'components/LaunchChatSupport/LaunchChatSupport';import TextToolTip from 'components/TextToolTip';import { PANEL_TYPES } from 'constants/queryBuilder';import { QBShortcuts } from 'constants/shortcuts/QBShortcuts';@@ -235,21 +234,6 @@ function QuerySection({onChange={handleQueryCategoryChange}tabBarExtraContent={<span style={{ display: 'flex', gap: '1rem', alignItems: 'center' }}>- <LaunchChatSupport- attributes={{- uuid: selectedDashboard?.uuid,- title: selectedDashboard?.data.title,- screen: 'Dashboard widget',- panelType: selectedGraph,- widgetId: query.id,- queryType: currentQuery.queryType,- }}- eventName="Dashboard: Facing Issues in dashboard"- buttonText="Need help with this chart?"- // message={chartHelpMessage(selectedDashboard, graphType)}- onHoverText="Click here to get help with this dashboard widget"- intercomMessageDisabled- /><TextToolTiptext="This will temporarily save the current query and graph state. This will persist across tab change"url="https://signoz.io/docs/userguide/query-builder?utm_source=product&utm_medium=query-builder"diff --git a/frontend/src/pages/Integrations/Header.tsx b/frontend/src/pages/Integrations/Header.tsxindex 9fdcee7a3d..bd85db6659 100644--- a/frontend/src/pages/Integrations/Header.tsx+++ b/frontend/src/pages/Integrations/Header.tsx@@ -2,8 +2,6 @@ import './Integrations.styles.scss';import { Color } from '@signozhq/design-tokens';import { Flex, Input, Typography } from 'antd';-import LaunchChatSupport from 'components/LaunchChatSupport/LaunchChatSupport';-import { integrationsListMessage } from 'components/LaunchChatSupport/util';import { Search } from 'lucide-react';import { Dispatch, SetStateAction } from 'react';@@ -25,13 +23,6 @@ function Header(props: HeaderProps): JSX.Element {<Typography.Text className="subtitle">Manage Integrations for this workspace</Typography.Text>- <LaunchChatSupport- attributes={{ screen: 'Integrations list page' }}- eventName="Integrations: Facing issues in integrations"- buttonText="Facing issues with integrations"- message={integrationsListMessage}- onHoverText="Click here to get help with integrations"- /></Flex><Inputdiff --git a/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.tsx b/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.tsxindex 534f00d791..9d3fdf910f 100644--- a/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.tsx+++ b/frontend/src/pages/Integrations/IntegrationDetailPage/IntegrationDetailPage.tsx@@ -5,8 +5,6 @@ import './IntegrationDetailPage.styles.scss';import { Color } from '@signozhq/design-tokens';import { Button, Flex, Skeleton, Typography } from 'antd';-import LaunchChatSupport from 'components/LaunchChatSupport/LaunchChatSupport';-import { integrationDetailMessage } from 'components/LaunchChatSupport/util';import { useGetIntegration } from 'hooks/Integrations/useGetIntegration';import { useGetIntegrationStatus } from 'hooks/Integrations/useGetIntegrationStatus';import { defaultTo } from 'lodash-es';@@ -77,18 +75,6 @@ function IntegrationDetailPage(props: IntegrationDetailPageProps): JSX.Element {>All Integrations</Button>- <LaunchChatSupport- attributes={{- screen: 'Integrations detail page',- activeTab: activeDetailTab,- integrationTitle: integrationData?.title || '',- integrationId: selectedIntegration,- }}- eventName="Integrations: Facing issues in integrations"- buttonText="Facing issues with integration"- message={integrationDetailMessage(selectedIntegration)}- onHoverText="Click here to get help with this integration"- /></Flex>{loading ? (