Mike Cao
631cc46f7f
Add personal dashboard flow and per-component website selection
...
Node.js CI / build (push) Waiting to run
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
e2b391af28
Add board selector to top navigation
2026-02-12 17:26:52 -08:00
Mike Cao
dd2d6bca45
Move website selector into top navigation
2026-02-12 16:46:01 -08:00
Mike Cao
d26ed3b949
Fixed collapse state of website select.
2026-02-07 23:56:06 -08:00
Mike Cao
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 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
dea3c41ecc
Fix WebsiteSelect showing empty value on initial load.
...
Node.js CI / build (push) Waiting to run
Fall back to queried website name when local state hasn't been set yet,
since useState only captures the initial value which is undefined before
the query resolves.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:04:53 -08:00
Mike Cao
b3a77d7c04
Fix CompareTables select width, WebsiteSelect min height, and MetricCard gap.
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:00:42 -08:00
Mike Cao
28c9c7d3ec
Fix Select component usage by removing items prop and render functions.
...
Replace render function children with mapped ListItem elements and remove
the unsupported items prop across all Select instances.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 02:46:38 -08:00
Francis Cao
dde1c3a57a
Increase website select pageSize to 20. Closes #3913
2026-01-27 17:07:14 -08:00
AymanAlSuleihi
491716f4dd
Fix double scrollbar in dropdown
2026-01-03 00:48:09 +00:00
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Mike Cao
10bc2895eb
New mobile menu.
2025-10-14 21:57:31 -07:00
Mike Cao
c5994e5eb6
Save name after website select. Fixed types.
2025-10-05 15:34:37 -07:00
Mike Cao
3496952769
Fixed empty website select. Converted session profile to popover.
2025-10-05 14:11:25 -07:00
Mike Cao
9ccafc390a
Add includeTeams param for fetching websites.
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
2025-09-12 10:15:13 -07:00
Mike Cao
433ce98719
Allow getting team websites.
2025-09-12 08:21:29 -07:00
Mike Cao
8d5e8b072d
Updated WebsiteSelect behavior. Fixed date select.
2025-08-27 16:59:44 -07:00
Mike Cao
3c5c1e48e9
Refactored settings. Updated sidebar.
2025-08-15 22:16:28 -07:00
Mike Cao
eb7b6978d3
New settings layouts. Segment management screen.
2025-08-07 05:14:35 -07:00
Mike Cao
45c9ea9c22
Merge branch 'dev' into jajaja
...
# Conflicts:
# db/mysql/schema.prisma
# package.json
# pnpm-lock.yaml
# src/app/(main)/reports/[reportId]/ReportBody.tsx
# src/app/(main)/reports/[reportId]/ReportPage.tsx
# src/app/(main)/reports/utm/UTMView.tsx
# src/app/(main)/websites/[websiteId]/WebsiteMetricsBar.tsx
# src/app/(main)/websites/[websiteId]/WebsiteTableView.tsx
# src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
# src/app/api/reports/[reportId]/route.ts
# src/app/api/websites/[websiteId]/metrics/route.ts
# src/components/hooks/queries/useReport.ts
# src/components/icons.ts
# src/components/messages.ts
# src/components/metrics/MetricsTable.module.css
# src/components/metrics/MetricsTable.tsx
# src/queries/sql/events/getEventMetrics.ts
# src/queries/sql/reports/getUTM.ts
2025-07-23 23:39:28 -07:00
Mike Cao
876f4c883e
Updated layout. Fixed properties rendering.
2025-07-18 00:22:06 -07:00
Mike Cao
5e6799a715
Fixed properties queries.
2025-07-15 01:31:08 -07:00
Mike Cao
8c26e310f7
Fixed editing and navigation issues.
2025-07-13 00:37:43 -07:00
Mike Cao
ce1f6c3618
New admin section.
2025-07-08 18:40:47 -07:00
Mike Cao
b78ff3b477
New admin section.
2025-07-06 08:22:29 -07:00
Mike Cao
ee6c68d27c
Refactor filter handling for queries.
2025-07-02 01:44:12 -07:00
Mike Cao
a15c7cd596
Updated tables. Added MenuButton.
2025-05-07 04:10:27 -07:00
Mike Cao
e1e6493dec
Lint fixes.
2025-03-08 08:40:41 -08:00
Mike Cao
b4be6cb221
More conversions.
2025-03-07 12:21:20 -08:00
Mike Cao
5999bf6256
Zen components conversion.
2025-03-07 03:11:58 -08:00
Mike Cao
f83a12d6cd
Refactor: removed default exports.
2025-02-13 22:53:25 -08:00
Francis Cao
3e5866832f
fix search bug
2025-02-13 13:24:06 -08:00
Francis Cao
575c50cdfe
fix websiteselect search
2025-02-13 13:21:15 -08:00
Mike Cao
8525188e42
Changed import path.
2025-02-05 15:59:59 -08:00
Mike Cao
d709f4eb80
Fixed websites paging.
2024-02-19 11:31:11 -08:00
Mike Cao
f7151a880e
Fixed 'use client' usage.
2024-02-05 23:59:33 -08:00
Mike Cao
ecb3af284f
Missing 'use client'.
2024-02-02 22:35:46 -08:00
Mike Cao
8f853ddb97
Teams context settings.
2024-02-02 17:49:17 -08:00
Mike Cao
9448aa3ab5
Added teams pages. Refactored hooks.
2024-01-28 18:33:40 -08:00
Mike Cao
dc3818baaa
Refactor of team websites.
2024-01-18 16:46:40 -08:00
Mike Cao
6c4a297697
Added search to websites dropdown.
2023-12-27 14:20:36 -08:00
Mike Cao
c9d3a18af7
Changed props for new Dropdown.
2023-12-22 21:26:42 -08:00
Mike Cao
7c42f0da82
Typescript refactor.
2023-12-03 03:07:03 -08:00