Rebrand the product to Montact and point local UI at production API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-07 11:49:54 +03:30
co-authored by Cursor
parent 8357676e6c
commit 48d3469eea
56 changed files with 309 additions and 216 deletions
+4 -4
View File
@@ -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 };