Spaces:
Running
Running
Commit History
-
feat: Granular notifications, Channel support, and 3-level Escalation
axeronis1d33ce6
-
feat: comprehensive updates - remove 7-day trial mentions, AI trial restriction, notifications with dialog summary, Telegram welcome message, Google OAuth on register
axeronis80c9efd
-
feat(ui): hide analytics and make AI Brain settings the default screen
axeronis6e3a1f6
-
fix: avatar persistence with setUserWithCache, Header role-based display
axeronis99aaaa2 -
fix: resolve typescript errors in profile page and auth context
axeronisfe8c5f7
-
fix: admin impersonation opens new tab, preserves admin session
axeronis6bfac6b -
fix: auto-reload page when account changes in another tab
axeronise45174b -
fix: clear all localStorage on logout to prevent data mixing
axeronisdba382f
-
Perf: SYNCHRONOUS cache initialization - FINAL FIX
axeronis- AuthContext now initializes user and token from localStorage SYNCHRONOUSLY - useState uses lazy initializers to read cache during first render - isLoading starts as FALSE when cache exists - No more loading spinner flash on page refresh!2764763 -
Perf: Add auth caching for instant page loads
axeronis- Cache user data in localStorage, load instantly on page mount - Skip API call if already verified in current session - Add clearAuthState helper for consistent cleanup - Update logout to clear all cached datafbfaf91
-
fix: add legal pages to AuthContext public list
axeronisc8e0aa8
-
perf: Implement React Query caching for faster navigation - Dashboard now uses React Query with 5min staleTime - Optimized QueryClient settings: staleTime=5min, gcTime=30min - Added SWR context and hooks (optional alternative) - Faster page transitions with cached data
axeronis4c90e6d
-
Debug: add extensive logging to trace registration flow
axeronisc1b36bb -
Fix: use window.location for reliable redirect after registration
axeronis4f2852f -
Fix: redirect to verify-email on login with unverified account
axeronisfa1d3dc -
Fix: robust route matching for auth middleware
axeroniscd2b38a -
Fix registration: async email sending and verify-email redirect loop
axeronisf38c921
-
feat: Implement Auth and Email Verification (Frontend & Backend)
axeronisdd35b54
-
feat: Админ-панель для управления клиентами и тарифами
MicroFunnelBACKEND: - Создан admin API (/api/v1/admin) с защитой superuser - Endpoints: list tenants, update subscription, activate/suspend - Статистика: MRR, клиенты по планам и статусам - Новые планы: trial (7 дней), start (), growth (), unlimited () - Обновлена модель Tenant с новыми планами FRONTEND: - Админ-панель (/admin) с полным управлением клиентами - Фильтры по плану, статусу, поиск по имени/email - Карточки статистики: всего клиентов, активных, на trial, MRR - Модальное окно редактирования подписки - Активация/приостановка клиентов одной кнопкой - Визуальные бейджи для планов и статусов ТАРИФЫ: - Trial: 7 дней бесплатно - Start: /мес - 300 диалогов, 1 канал - Growth: /мес - 1000 диалогов, 2 канала - Unlimited: /мес - безлимит ДОСТУП: - Только для пользователей с is_superuser=True - Защита на уровне API и UIc997c51 -
feat: Партнёрские ссылки + Красивые toast уведомления + Изоляция данных
MicroFunnel- Добавлен endpoint /billing/referral-link только для ACTIVE партнёров - Создана система красивых toast уведомлений (success, error, warning, info) - Заменены все alert() на toast уведомления - Подтверждена изоляция данных: каждый tenant имеет уникальный webhook URL - Добавлены градиентные анимации для toast с прогресс-баром326ae89 -
Fix: Add SSR guards for localStorage/document in AuthContext
MicroFunnelc41be9b -
Production-ready: Refactored codebase with Railway + Vercel config
MicroFunnelcd61bf7