Commit Graph
57 Commits
Author SHA1 Message Date
Mike Cao 6ac2b9377c Upgrade react-zen and migrate UI components to its updated APIs 2026-07-30 22:35:20 -07:00
Mike Cao 5744f04833 Reduce side nav height and unify replay modal corners 2026-06-15 21:00:22 -07:00
Mike Cao fa4318fb87 Tighten side nav spacing and remove extra bottom margin 2026-06-11 17:55:44 -07:00
Mike Cao 306ca4a435 Lint format files. Updated rng function. 2026-06-02 22:35:07 -07:00
Mike Cao 1b6fc1bd51 Use local Link wrapper with cloud-mode prefetch default 2026-04-15 11:21:49 -07:00
Francis Cao 35680918c0 add page icons to collapsed share menu 2026-03-26 15:30:11 -07:00
Francis Cao 28f738717d Fix admin nav issues 2026-03-13 15:01:36 -07:00
Francis Cao 72bb63fe5e remove listable currency implementation. use formatCount 2026-03-05 12:52:04 -08:00
Mike Cao 509e1f0083 Changed out logo. 2026-02-13 18:21:18 -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 Cao 9e9e44519d Keep sidenav menu scrollable with fixed user footer 2026-02-12 17:46:31 -08:00
Mike CaoandClaude Opus 4.6 08e4da27c1 Move settings nav into SideNav, matching WebsiteNav pattern
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 22:00:47 -08:00
Mike CaoandClaude Opus 4.6 04c7216928 Add UserButton to SideNav, refactor NavButton into TeamsButton
- Create UserButton component at bottom of SideNav with Settings, Language,
  Theme, Admin, and Logout menu items
- Move Settings/Logout/Admin/Docs/Support out of NavButton into UserButton
- Remove LanguageButton and ThemeButton from SideNav bottom
- Refactor NavButton into TeamsButton with simplified team switching
- Simplify WebsiteNav and move TeamsButton to App top bar

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:34:42 -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 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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 CaoandClaude Opus 4.6 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. 2025-09-26 01:46:36 -07:00
Mike Cao 554054d3a1 Merged nav menus. 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. 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 2025-09-16 13:31:21 -07:00
Mike Cao f40e1b44f3 Updates for cloud mode. 2025-09-04 20:27:42 -07:00
Mike Cao dc1736458b Export metrics components. 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