Commit Graph

14 Commits

Author SHA1 Message Date
4c7a8be5b8 feat: Reports & Analytics page, CSV export, notification bell in header
- Reports page with overview stats, client growth chart, email activity chart
- Engagement breakdown (engaged/warm/cooling/cold) with stacked bar
- Industry and tag distribution charts
- At-risk client lists (cold + cooling)
- CSV export button downloads all clients
- Notification bell in top bar: overdue events, upcoming events, stale clients, pending drafts
- Dismissable notifications with priority indicators
- Added Reports to sidebar nav between Network and Settings
2026-01-29 13:04:53 +00:00
e7c2e396c0 feat: add CSV import, activity timeline, and AI insights widget
- CSV Import: modal with file picker, auto column mapping, preview table, import progress
- Activity Timeline: new tab on client detail showing all communications, events, status changes
- AI Insights Widget: dashboard card showing stale clients, upcoming birthdays, suggested follow-ups
- Import button on Clients page header
2026-01-29 12:43:30 +00:00
0b7bddb81c feat: Network Matching page - AI-powered client connection suggestions
- New /network page with match cards, score badges, category filters
- Network stats dashboard (clients, matches, avg score, top connectors)
- Category-based filtering (industry, interests, location, business, social)
- Adjustable minimum score threshold
- AI introduction generation button per match
- Added Network to sidebar navigation
- Types: NetworkMatch, NetworkStats
2026-01-29 12:35:33 +00:00
b6de50ba5e add unit test suite: 80 tests across utils, api, auth, clients, events, emails
- Vitest + React Testing Library + jsdom setup
- utils.test.ts: cn, formatDate, formatFullDate, getInitials, getRelativeTime, getDaysUntil
- api.test.ts: token management, auth, CRUD for clients/events/emails, admin, error handling
- auth.test.ts: login, logout, checkSession, setUser
- clients.test.ts: fetch, create, update, delete, markContacted, filters
- events.test.ts: fetch, create, update, delete, syncAll
- emails.test.ts: fetch, generate, update, send, delete
2026-01-28 22:12:38 +00:00
c838a714d2 admin: replace icon buttons with user detail slide-over panel
- Click user row to open detail panel instead of inline icons
- Panel shows user info, role toggle (User/Admin buttons), password reset, and delete
- Cleaner UX: all user management in one place
2026-01-28 22:07:37 +00:00
726bbf27ca fix: use custom profile endpoints for email/password change 2026-01-28 21:55:39 +00:00
a3d4f09291 feat: change email and password in settings 2026-01-28 21:52:17 +00:00
696e2187f4 feat: password reset UI (forgot password, reset page, admin reset button) 2026-01-28 21:44:22 +00:00
6e451e0795 feat: admin panel and invite acceptance UI 2026-01-28 21:40:13 +00:00
ab402da7fd fix: use bearer tokens instead of cookies for cross-origin auth 2026-01-28 21:33:53 +00:00
b23e5ef801 fix: improve mobile responsiveness across all pages 2026-01-28 21:14:45 +00:00
0198348494 fix: update API URLs to thenetwork subdomain 2026-01-28 20:52:36 +00:00
2320005f72 add nginx config for SPA routing 2026-01-28 19:52:55 +00:00
1afd5d5bac feat: initial SPA frontend for network app 2026-01-28 19:51:45 +00:00