feat: add product select to price alerts

Customer can pick a product when creating an alert and see it on the card.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 22:23:25 +03:30
co-authored by Cursor
parent e01192fb5e
commit e578ba521d
8 changed files with 66 additions and 71 deletions
-3
View File
@@ -8,9 +8,6 @@ export const SUPERADMIN_BASES = [
/** هر API: سه دامنه × سه دور */
export const SA_RETRY_ROUNDS = 3
/** تنظیمات پیشرفته نسخه — همان دادهٔ /get_settings بدون نیاز به nginx جدا */
export const SA_PROGRAM_SETTINGS_PATH = '/api/public/program-settings'
function normalizeBase(url: string) {
return String(url || '').trim().replace(/\/$/, '')
}