Rebrand the product to Montact and point local UI at production API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { MemoryItemDto, NoteDto, PersonDto } from '@mento/shared';
|
||||
import { brand, brandSuggestionFa, type MemoryItemDto, type NoteDto, type PersonDto } from '@mento/shared';
|
||||
|
||||
export type ProbabilityBand = 'بالا' | 'متوسط' | 'پایین';
|
||||
|
||||
@@ -85,12 +85,12 @@ export function buildSmartSummary(input: {
|
||||
const hasSignal = memoryBits.length > 0 || input.notes.length > 0 || input.lastQuoteLabel;
|
||||
const text = hasSignal
|
||||
? parts.join(' ').replace(/\s+/g, ' ').trim()
|
||||
: 'هنوز خلاصهٔ پایداری از این مشتری ثبت نشده. با یادداشت یا حافظهٔ منتو، پیشنهاد هوشمند اینجا ظاهر میشود.';
|
||||
: `هنوز خلاصهٔ پایداری از این مشتری ثبت نشده. با یادداشت یا حافظهٔ ${brand.nameFa}، پیشنهاد هوشمند اینجا ظاهر میشود.`;
|
||||
|
||||
let cta = 'پیشنهاد منتو: امروز با مشتری تماس بگیر';
|
||||
let cta = brandSuggestionFa('امروز با مشتری تماس بگیر');
|
||||
let ctaKind: 'call' | 'activity' = 'call';
|
||||
if (input.daysSinceCall != null && input.daysSinceCall <= 1) {
|
||||
cta = 'پیشنهاد منتو: پیگیری بعدی را ثبت کن';
|
||||
cta = brandSuggestionFa('پیگیری بعدی را ثبت کن');
|
||||
ctaKind = 'activity';
|
||||
}
|
||||
return { text, cta, ctaKind };
|
||||
|
||||
Reference in New Issue
Block a user