Skip to content

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.

fix: update the extend trial from default mailto client to notification panel (#4514)

Vikrant Gupta50834be4dbef
diff --git a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
index eab934c69c..4dcc055235 100644
--- a/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
+++ b/frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
@@ -87,21 +87,18 @@ export default function WorkspaceBlocked(): JSX.Element {
const handleExtendTrial = (): void => {
trackEvent('Workspace Blocked: User Clicked Extend Trial');
- const recipient = '[email protected]';
- const subject = 'Extend SigNoz Cloud Trial';
- const body = `I'd like to request an extension for SigNoz Cloud for my account. Please find my account details below
-
- SigNoz URL:
- Admin Email:
- `;
-
- // Create the mailto link
- const mailtoLink = `mailto:${recipient}?subject=${encodeURIComponent(
- subject,
- )}&body=${encodeURIComponent(body)}`;
-
- // Open the default email client
- window.location.href = mailtoLink;
+ notifications.info({
+ message: 'Extend Trial',
+ description: (
+ <Typography>
+ If you have a specific reason why you were not able to finish your PoC in
+ the trial period, please write to us on
+ <a href="mailto:[email protected]"> [email protected] </a>
+ with the reason. Sometimes we can extend trial by a few days on a case by
+ case basis
+ </Typography>
+ ),
+ });
};
return (
@@ -152,7 +149,7 @@ export default function WorkspaceBlocked(): JSX.Element {
<div className="contact-us">
Got Questions?
<span>
- <a href="mailto:[email protected]"> Contact Us </a>
+ <a href="mailto:[email protected]"> Contact Us </a>
</span>
</div>
</>