[PR #1976] feat: team analytics #1969

Open
opened 2026-02-26 20:31:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1976
Author: @ephraimduncan
Created: 8/20/2025
Status: 🔄 Open

Base: mainHead: feat/team-dashboard


📝 Commits (3)

  • 202702b feat: team analytics
  • a39b4ef Merge branch 'main' into feat/team-dashboard
  • 0aae25e fix: build errors

📊 Changes

16 files changed (+834 additions, -5 deletions)

View changed files

apps/remix/app/components/analytics/analytics-charts.tsx (+67 -0)
apps/remix/app/components/analytics/analytics-date-filter.tsx (+88 -0)
apps/remix/app/components/analytics/analytics-metrics.tsx (+105 -0)
apps/remix/app/components/analytics/analytics-page.tsx (+71 -0)
📝 apps/remix/app/components/general/menu-switcher.tsx (+6 -0)
📝 apps/remix/app/components/general/org-menu-switcher.tsx (+12 -5)
📝 apps/remix/app/components/general/settings-nav-desktop.tsx (+14 -0)
📝 apps/remix/app/components/general/settings-nav-mobile.tsx (+14 -0)
apps/remix/app/hooks/use-analytics-filter.ts (+24 -0)
apps/remix/app/routes/_authenticated+/settings+/_dynamic_personal_routes+/analytics.tsx (+55 -0)
apps/remix/app/routes/_authenticated+/t.$teamUrl+/analytics.tsx (+88 -0)
packages/lib/server-only/analytics/get-document-stats.ts (+68 -0)
packages/lib/server-only/analytics/get-monthly-stats.ts (+80 -0)
packages/lib/server-only/analytics/get-recipient-stats.ts (+75 -0)
packages/lib/server-only/analytics/index.ts (+4 -0)
packages/lib/server-only/analytics/types.ts (+63 -0)

📄 Description

Demo

CleanShot 2025-08-20 at 15 22 29@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/1976 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 8/20/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/team-dashboard` --- ### 📝 Commits (3) - [`202702b`](https://github.com/documenso/documenso/commit/202702b1c78aee1d7b6d46d37423b5761119680d) feat: team analytics - [`a39b4ef`](https://github.com/documenso/documenso/commit/a39b4efc28c2be13bb403d617471fbc2b1a6b3c3) Merge branch 'main' into feat/team-dashboard - [`0aae25e`](https://github.com/documenso/documenso/commit/0aae25e423bdf37f41cf9b3bddf95b013b59e9d6) fix: build errors ### 📊 Changes **16 files changed** (+834 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `apps/remix/app/components/analytics/analytics-charts.tsx` (+67 -0) ➕ `apps/remix/app/components/analytics/analytics-date-filter.tsx` (+88 -0) ➕ `apps/remix/app/components/analytics/analytics-metrics.tsx` (+105 -0) ➕ `apps/remix/app/components/analytics/analytics-page.tsx` (+71 -0) 📝 `apps/remix/app/components/general/menu-switcher.tsx` (+6 -0) 📝 `apps/remix/app/components/general/org-menu-switcher.tsx` (+12 -5) 📝 `apps/remix/app/components/general/settings-nav-desktop.tsx` (+14 -0) 📝 `apps/remix/app/components/general/settings-nav-mobile.tsx` (+14 -0) ➕ `apps/remix/app/hooks/use-analytics-filter.ts` (+24 -0) ➕ `apps/remix/app/routes/_authenticated+/settings+/_dynamic_personal_routes+/analytics.tsx` (+55 -0) ➕ `apps/remix/app/routes/_authenticated+/t.$teamUrl+/analytics.tsx` (+88 -0) ➕ `packages/lib/server-only/analytics/get-document-stats.ts` (+68 -0) ➕ `packages/lib/server-only/analytics/get-monthly-stats.ts` (+80 -0) ➕ `packages/lib/server-only/analytics/get-recipient-stats.ts` (+75 -0) ➕ `packages/lib/server-only/analytics/index.ts` (+4 -0) ➕ `packages/lib/server-only/analytics/types.ts` (+63 -0) </details> ### 📄 Description ## Demo <img width="1340" height="1677" alt="CleanShot 2025-08-20 at 15 22 29@2x" src="https://github.com/user-attachments/assets/faef54b8-61a0-4a7c-87a8-22c98379da3d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1969
No description provided.