Commit Graph
137 Commits
Author SHA1 Message Date
Mike Cao f76b22b303 Add board type binding support 2026-03-06 23:54:46 -08:00
Francis Cao acfd4462e3 Improvements to revenue screen 2026-03-06 09:58:43 -08:00
Francis Cao 7a3f6d1c00 language updates for new labels/messages 2026-03-05 22:04:00 -08:00
Francis Cao 38577a9c0c fix toggle behavior and reorder replays table with play at beginning. Add missing messages script 2026-03-05 13:31:00 -08:00
Francis Cao 383922ab17 performance page polish 2026-03-05 12:21:34 -08:00
Francis Cao 0e1d6cef6b refactor session replays to be per visit. sessions persist too long resulting in low-quality recordings 2026-03-03 22:59:25 -08:00
Francis Cao 4ecef2e290 add better metrics to revenue page AOV/ARPU 2026-03-03 16:00:39 -08:00
Francis Cao b5f91f11f0 update formatMessage to t. add session replay labels 2026-02-27 16:42:58 -08:00
Mike Cao e2ab4af493 Merge branch 'performance' into dev 2026-02-25 02:27:46 -08:00
Francis Cao 68fdc1c147 update translations remove AND/OR. not needed 2026-02-21 21:37:29 -08:00
Francis Cao cc1e4438d0 implement OR logic to filters, segments, cohorts 2026-02-21 20:00:43 -08:00
Francis Cao f2cf071523 add regex operators 2026-02-20 13:43:16 -08:00
Mike Cao 631cc46f7f Add personal dashboard flow and per-component website selection
This introduces a user-scoped dashboard with board-style view/edit pages while keeping it unavailable in team context, and moves website targeting to component config so dashboard components can each select their own website.
2026-02-13 11:48:15 -08:00
Mike CaoandClaude Opus 4.6 2c7ab2b734 Use i18n for board component strings, show controls in edit mode, require website before editing
- Replace raw strings with useMessages hook in BoardColumn and BoardComponentSelect
- Show WebsiteControls on edit screen so users can test filters
- Disable board body editing until a website is selected
- Scope website select to team websites when editing a team board

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 02:46:30 -08:00
Mike CaoandClaude Opus 4.6 ce9e2416fb Add Web Vitals performance tracking (LCP, INP, CLS, FCP, TTFB)
End-to-end performance metrics tracking: dedicated database table with
percentile aggregation, tracker collection behind data-perf attribute,
/api/send handling, report API endpoints, and Performance dashboard page
with threshold-based metric cards, time-series chart, and per-page breakdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 19:25:20 -08:00
Mike CaoandClaude Opus 4.6 e1ee5eba27 Translate all 51 locale files, reducing untranslated keys from 6,017 to 862.
12 batch translation scripts covering all language families: East Asian, Romance,
Germanic, Nordic, Slavic, Other European, South/Southeast Asian, Tamil, Sinhala,
Urdu, and Burmese. Remaining untranslated keys are intentional loanwords (URL, UTM,
SMS, etc.) and en-GB which is intentionally identical to en-US.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:04:45 -08:00
Mike CaoandClaude Opus 4.6 a954824f65 Add 46 missing translation keys to all locale files.
These keys existed in messages.ts but were missing from the JSON files,
previously relying on react-intl defaultMessage fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 11:24:01 -08:00
Mike CaoandClaude Opus 4.6 50edb71687 Simplify i18n: remove old react-intl artifacts, rename formatMessage to t, replace FormattedMessage with t.rich().
- Rewrite messages.ts to plain string key maps (remove MessageDescriptor)
- Rewrite useMessages hook to expose t from useTranslations() directly
- Rename formatMessage → t across 193 consumer files
- Replace custom FormattedMessage component with next-intl t.rich()
- Update 52 language files to use rich text tags (<b>, <a>)
- Remove all direct imports from @/components/messages in favor of useMessages()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 11:19:04 -08:00
Mike CaoandClaude Opus 4.6 a1890e9261 Replace react-intl with next-intl and consolidate lang files.
Migrate i18n from react-intl to next-intl, eliminating the formatjs
compilation pipeline. Translation files now live as nested JSON in
public/intl/messages/ (single source of truth), removing the duplicated
src/lang/ directory and the copy/compile build steps. The useMessages()
hook API is preserved so all 195+ consumer components are unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 01:51:29 -08:00
JiPai 783098fadc chore(i18n): update zh-CN translation 2025-12-23 23:04:41 +08:00
JiPai 6859f00bf6 chore(i18n): update zh-CN translation 2025-12-23 22:39:33 +08:00
Mike Cao 3e163940da Updated lang files. 2025-10-06 12:11:26 -07:00
Manuchehr 87f5cea636 feat: add missing uzbek language 2025-09-29 09:15:53 +05:00
Mike Cao 1b81074752 Admin section updates. 2025-07-10 20:04:17 -07:00
Mike Cao 184a387ecd Lang updates. 2025-06-27 08:53:10 -07:00
Mike Cao 0692134ea5 AI generated translations. 2025-06-26 13:59:46 -07:00
Mike Cao 543674c7f2 Updated hooks. Changed url, host to path, hostname. 2025-06-20 22:35:02 -07:00
Sufyan Farea 796952698c docs: improve and update Arabic translations 2025-06-09 22:34:58 +03:00
Mike Cao c0ff7a31a4 Updated lang. 2025-04-22 23:09:17 -07:00
Mike Cao afb8fd3894 Updated Next. 2025-04-16 21:29:47 -07:00
Mike Cao 4d0bd03b43 Updated language files. 2025-02-21 17:47:39 -08:00
Mike Cao 87737e35bc Updated lang files. 2025-01-09 22:40:17 -08:00
Mike Cao b72232dcac Updated lang files. 2025-01-03 16:15:18 -08:00
Mike Cao 690ab5916d Updated lang files. 2024-12-12 18:47:07 -08:00
Mike Cao 40abd454fc Build lang files. 2024-12-04 18:39:50 -08:00
Mike Cao 6880ec8506 Updated lang files. 2024-11-28 16:18:23 -08:00
Mike Cao fe98d6ccb8 Updated lang files. 2024-11-08 19:56:33 -08:00
Mike Cao 586d223bdd Updated lang files. 2024-10-26 11:36:43 -07:00
Mike Cao 430880c8c3 Updated lang. 2024-10-04 16:05:22 -07:00
Mike Cao 178f9dc1a7 Updated lang files. 2024-08-27 16:23:34 -07:00
Mike Cao 2c4d7f1810 Updated lang. 2024-08-23 20:10:58 -07:00
Mike Cao 8500669ed0 Updated lang. 2024-08-23 09:33:58 -07:00
Mike Cao 8ee37d1246 New event data screen. 2024-08-09 01:09:54 -07:00
Mike Cao b9068c0050 Added metrics bar and date range to sessions. 2024-08-07 00:10:25 -07:00
Mike Cao 374faae27b Updated lang files. 2024-07-08 23:42:26 -07:00
Mike Cao 0142e0ff2f Fixed typo. 2024-06-28 20:20:12 -07:00
Mike Cao caaa87c0a7 Updated packages and lang files. 2024-06-27 20:12:32 -07:00
Mike Cao fedbb50950 Updated lang files. 2024-06-20 09:30:47 -07:00
Mike Cao cda3ba345b Build new lang files. 2024-06-18 23:12:12 -07:00
Mike Cao 263e92c888 Updated language. Fixed CSS. 2024-06-15 22:48:14 -07:00