Commit Graph
45 Commits
Author SHA1 Message Date
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
Francis Cao 795a1caadf fix panel and metrics card css 2026-02-06 17:24:11 -08:00
Mike CaoandClaude Opus 4.6 7cafc3e61d Replace numeric prop values with named react-zen values.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 23:41:10 -08:00
Mike Cao c3e0290e65 Merge branch 'dev' into boards
# Conflicts:
#	.gitignore
#	package.json
#	pnpm-lock.yaml
#	prisma/migrations/16_boards/migration.sql
#	prisma/schema.prisma
#	src/app/(main)/MobileNav.tsx
#	src/app/(main)/websites/[websiteId]/WebsiteHeader.tsx
#	src/app/(main)/websites/[websiteId]/settings/WebsiteShareForm.tsx
#	src/components/common/SideMenu.tsx
#	src/lib/types.ts
2026-02-05 20:05:25 -08:00
Mike Cao 8484fd26e1 Code cleanup. 2026-02-05 19:46:16 -08:00
Francis Cao 67cdfdfb7e remove console.log from pixelstable 2026-01-27 10:51:49 -08:00
Francis Cao 2f998ff9d8 implement showActions to pixels/links for viewonly users. 2026-01-26 23:26:40 -08:00
Francis Cao fbe031bfe9 update pixel/link edit form on save. 2026-01-07 09:30:59 -08:00
Francis Cao 912d2d544d Fix deleted website visibility bug
Closes #3865
2025-12-19 14:21:42 -08:00
Mike Cao 64767b1896 Updated next. Fixed link RSC fetch. 2025-12-03 15:11:40 -08:00
Mike Cao 16cae691f6 Don't prefetch links/pixels. Closes #3814 2025-12-03 00:03:56 -08:00
Mike Cao fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao b08a6e1113 Don't prefetch pixel links. 2025-10-30 17:05:11 -07:00
Mike Cao 40492ec7c4 Added DialogButton to handle mobile. 2025-10-16 23:59:18 -07:00
Mike Cao d9b08d9491 Card mode for tables. 2025-10-14 13:04:14 -07:00
Mike Cao 8aa4192576 Responsive updates. 2025-10-09 17:14:09 -07:00
Mike Cao e4ce7c9071 Created ExpandedViewModal component. 2025-10-09 14:31:53 -07:00
Mike Cao fdfa8b08f9 Added expanded view for pixels/links. Made filter form into a popover. 2025-10-03 20:25:06 -07:00
Mike Cao 904c313a64 Always cache prisma. Renamed WebsiteMonthSelect to MonthFilter. 2025-10-03 18:06:18 -07:00
Mike Cao 92ee44756c Refactored useDateRange to always use query string. Fixed all time filter. 2025-10-03 17:55:39 -07:00
Francis Cao 1809959b99 fix event type queries for pixels/links. remove hardcoded event types 2025-10-01 12:29:31 -07:00
Mike Cao 27c342811e Added label to PageHeader. Style fixes. 2025-09-24 00:07:17 -07:00
Mike Cao 8115709a8b Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	src/app/(main)/teams/TeamsDataTable.tsx
#	src/app/(main)/teams/TeamsJoinButton.tsx
#	src/app/(main)/teams/[teamId]/TeamSettings.tsx
2025-09-23 23:10:05 -07:00
Mike Cao 83a014e884 Use FormattedMessage. Updated icons. Fixed bugs. 2025-09-23 23:08:40 -07:00
Francis Cao 1a5c7df671 Fix broken icons, remove showActions from TeamsTable, fix margins for pixel/link overview 2025-09-23 13:55:27 -07:00
Mike Cao f639bb07f4 Added menu options for cloud mode. Async fixes. 2025-09-23 09:14:01 -07:00
Mike Cao 6faf16e9aa Convert all mutate to mutateAsync. 2025-09-22 22:39:25 -07:00
Mike Cao bf16ade184 Updated icons. 2025-09-22 20:11:31 -07:00
Mike Cao 656fb8a3d1 Removed duplicate saved messages. 2025-09-22 14:10:35 -07:00
Mike Cao fc01ee9f56 Get localized error messages. 2025-09-14 23:43:22 -07:00
Mike Cao f40e1b44f3 Updates for cloud mode. 2025-09-04 20:27:42 -07:00
Mike Cao 56af91950a Updated components build. 2025-09-01 15:59:06 -07:00
Mike Cao 0f9669f886 Converted mutation queries. 2025-08-24 15:20:19 -07:00
Mike Cao 3f167e05ba New compare page. 2025-08-23 22:21:25 -07:00
Mike Cao c8fe93dd9d Refactored tables. 2025-08-23 01:12:37 -07:00
Mike Cao 00adb00d2d Fix build. 2025-08-21 03:06:41 -07:00
Mike Cao f7ca583410 Redesigned overview page. 2025-08-21 03:01:37 -07:00
Mike Cao 3a332b5947 Merge remote-tracking branch 'origin/dev' into dev 2025-08-21 01:33:43 -07:00
Mike Cao 8e766e2db7 Pixel/link metrics pages. 2025-08-21 01:33:20 -07:00
Francis Cao 2f1f704728 implement filtering and cohorts to all relevant queries 2025-08-19 15:26:41 -07:00
Mike Cao d130242a0a Pixel editing. 2025-08-15 13:04:13 -07:00
Mike Cao 5f4b83b09c Link editing. 2025-08-15 11:11:24 -07:00
Mike Cao 247e14646b Pixel/links development. New validations folder. More refactoring. 2025-08-14 23:48:11 -07:00
Mike Cao 88639dfe83 New schema for pixels and links. 2025-08-13 20:27:54 -07:00
Mike Cao a97445fb82 Fixed sidenav rendering. 2025-08-09 02:06:54 -07:00