Commit graph

44 commits

Author SHA1 Message Date
Mike Cao
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 Cao
b9eb5f9800 Fix missing back button in WebsiteNav by defaulting sidenav-collapsed state to false.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 05:01:11 -08:00
Mike Cao
5f404f62d8 Bold text for selected items in SideNav and WebsiteNav.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:43:21 -08:00
Mike Cao
3467184b8f Consolidate WebsiteNavSection into WebsiteNav and fix scrollbar flash.
Move sidebar rendering logic into WebsiteNav with isCollapsed prop so
SideNav uses WebsiteNav directly instead of duplicating code. Add
overflow hidden to prevent horizontal scrollbar during expand transition.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:27:37 -08:00
Mike Cao
635317ecfb Combine WebsiteNav into SideNav when viewing a website.
Replace the separate 240px WebsiteNav sidebar with website navigation
integrated into the main SideNav. When a websiteId is active, SideNav
shows a back arrow, WebsiteSelect dropdown, and grouped nav items
instead of the main links. Extract shared useWebsiteNavItems hook used
by both SideNav and WebsiteNav (still used by MobileNav).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 03:57:28 -08:00
Mike Cao
18c3ffc2d8 Fix NavButton text not showing and remove unused Sidebar.
Show NavButton text whenever sidebar is not collapsed, not only on
pages without sub-navigation. Also remove unused Sidebar component.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 03:12:47 -08:00
Mike Cao
8484fd26e1 Code cleanup. 2026-02-05 19:46:16 -08:00
Mike Cao
7edddf15a7 Boards schema. 2025-11-28 00:37:51 -08:00
Mike Cao
fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao
14981717b9 Responsive updates. 2025-10-10 17:28:53 -07:00
Mike Cao
257050f749 Updated edit forms and icons.
Some checks failed
Create docker images / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-09-26 01:46:36 -07:00
Mike Cao
554054d3a1 Merged nav menus.
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-09-25 20:46:00 -07:00
Mike Cao
1b400da7b2 Fixed share page. Updated device detect. Updated teams fetch. 2025-09-25 11:21:44 -07:00
Mike Cao
27c342811e Added label to PageHeader. Style fixes.
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-09-24 00:07:17 -07:00
Mike Cao
bf16ade184 Updated icons. 2025-09-22 20:11:31 -07:00
Francis Cao
28ba2a1666 fix margins, teams button, and remove boards
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-16 13:31:21 -07:00
Mike Cao
f40e1b44f3 Updates for cloud mode.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-04 20:27:42 -07:00
Mike Cao
dc1736458b Export metrics components.
Some checks failed
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled
2025-09-03 17:16:03 -07:00
Mike Cao
8c8e36c63b Cohorts editing. 2025-08-26 23:55:57 -07:00
Mike Cao
c8fe93dd9d Refactored tables. 2025-08-23 01:12:37 -07:00
Mike Cao
3c5c1e48e9 Refactored settings. Updated sidebar. 2025-08-15 22:16:28 -07:00
Mike Cao
88639dfe83 New schema for pixels and links. 2025-08-13 20:27:54 -07:00
Mike Cao
c60e8b3d23 Moved panel button. 2025-08-09 17:46:27 -07:00
Mike Cao
a97445fb82 Fixed sidenav rendering. 2025-08-09 02:06:54 -07:00
Mike Cao
eb7b6978d3 New settings layouts. Segment management screen. 2025-08-07 05:14:35 -07:00
Mike Cao
a025fc9552 Updated nav. 2025-07-23 17:47:56 -07:00
Mike Cao
25f96f6b6b Fixed nav display. 2025-07-20 00:38:15 -07:00
Mike Cao
876f4c883e Updated layout. Fixed properties rendering. 2025-07-18 00:22:06 -07:00
Mike Cao
01bfd7f52e New properties screens. New website nav. 2025-07-17 01:18:31 -07:00
Mike Cao
a534c51b5e New website nav. 2025-07-15 03:35:18 -07:00
Mike Cao
1b81074752 Admin section updates. 2025-07-10 20:04:17 -07:00
Mike Cao
5ca51b3e8f Updated date range handling. 2025-06-25 14:27:17 -07:00
Mike Cao
543674c7f2 Updated hooks. Changed url, host to path, hostname. 2025-06-20 22:35:02 -07:00
Mike Cao
e3cc19638c Breakdown report. 2025-06-10 20:59:27 -07:00
Mike Cao
cee05d762c Added journey page. Removed dashboard. 2025-06-06 19:44:09 -07:00
Mike Cao
49bcbfd7f9 New goals page. Upgraded prisma. 2025-05-31 02:11:18 -07:00
Mike Cao
99330a1a4d Refactored icons. 2025-05-27 00:50:28 -07:00
Mike Cao
7662b77ce3 Added revenue screen. 2025-05-24 17:08:47 -07:00
Mike Cao
06f76dda13 Refactored website components. New layout. 2025-05-20 01:12:07 -07:00
Mike Cao
6e41ba2e2c New website layout. 2025-05-18 03:34:37 -07:00
Mike Cao
5999bf6256 Zen components conversion. 2025-03-07 03:11:58 -08:00
Mike Cao
5682b4d217 Build svg into components. 2025-03-03 18:37:49 -08:00
Mike Cao
1c5ef97f84 Updated icons. 2025-02-18 20:46:03 -08:00
Mike Cao
b53606d497 Added side nav. 2025-02-16 01:11:45 -08:00