pre-agent: Apply services page CRO improvements

This commit is contained in:
platform-mcp
2026-06-17 14:06:10 +05:30
parent 5e81c4bab5
commit 8192ed189a
4 changed files with 75 additions and 14 deletions
+65 -5
View File
@@ -138,11 +138,29 @@
"community": 2,
"norm_label": "validatecontactform()"
},
{
"label": "readSmtpConfig()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L146",
"id": "api_contact_readsmtpconfig",
"community": 2,
"norm_label": "readsmtpconfig()"
},
{
"label": "getTransporter()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L187",
"id": "api_contact_gettransporter",
"community": 2,
"norm_label": "gettransporter()"
},
{
"label": "sendContactEmail()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L168",
"source_location": "L294",
"id": "api_contact_sendcontactemail",
"community": 2,
"norm_label": "sendcontactemail()"
@@ -151,7 +169,7 @@
"label": "escapeHtml()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L316",
"source_location": "L466",
"id": "api_contact_escapehtml",
"community": 2,
"norm_label": "escapehtml()"
@@ -160,7 +178,7 @@
"label": "corsHeaders()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L330",
"source_location": "L480",
"id": "api_contact_corsheaders",
"community": 2,
"norm_label": "corsheaders()"
@@ -169,7 +187,7 @@
"label": "OPTIONS()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L355",
"source_location": "L505",
"id": "api_contact_options",
"community": 2,
"norm_label": "options()"
@@ -178,7 +196,7 @@
"label": "POST()",
"file_type": "code",
"source_file": "src/pages/api/contact.ts",
"source_location": "L362",
"source_location": "L512",
"id": "api_contact_post",
"community": 2,
"norm_label": "post()"
@@ -4823,6 +4841,26 @@
"source": "src_pages_api_contact_ts",
"target": "api_contact_validatecontactform"
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "src/pages/api/contact.ts",
"source_location": "L146",
"weight": 1.0,
"source": "src_pages_api_contact_ts",
"target": "api_contact_readsmtpconfig",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "src/pages/api/contact.ts",
"source_location": "L187",
"weight": 1.0,
"source": "src_pages_api_contact_ts",
"target": "api_contact_gettransporter",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
@@ -4895,6 +4933,28 @@
"source": "api_contact_post",
"target": "api_contact_validatecontactform"
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "src/pages/api/contact.ts",
"source_location": "L295",
"weight": 1.0,
"source": "api_contact_sendcontactemail",
"target": "api_contact_readsmtpconfig",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "src/pages/api/contact.ts",
"source_location": "L310",
"weight": 1.0,
"source": "api_contact_sendcontactemail",
"target": "api_contact_gettransporter",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",