[PR #361] [MERGED] feat: admin ui for metrics #910

Closed
opened 2026-02-26 19:31:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/361
Author: @catalinpit
Created: 9/8/2023
Status: Merged
Merged: 9/13/2023
Merged by: @Mythie

Base: feat/refreshHead: feat/admin-ui-metrics


📝 Commits (10+)

  • 171a5ba feat: creating the admin ui for metrics
  • 6757115 feat: add the admin page
  • 6cdba45 chore: implemented feedback
  • 7705822 chore: rename files
  • 660f589 chore: feedback improvements
  • 5969f14 chore: changed the cards titles
  • 5862af3 Merge branch 'feat/refresh' into feat/admin-ui-metrics
  • 27edceb Merge branch 'feat/refresh' into feat/admin-ui-metrics
  • 898f5a6 Merge branch 'feat/refresh' into feat/admin-ui-metrics
  • 326743d chore: added app version

📊 Changes

14 files changed (+274 additions, -15 deletions)

View changed files

📝 apps/web/next.config.js (+5 -1)
apps/web/src/app/(dashboard)/admin/layout.tsx (+30 -0)
apps/web/src/app/(dashboard)/admin/nav.tsx (+47 -0)
apps/web/src/app/(dashboard)/admin/page.tsx (+5 -0)
apps/web/src/app/(dashboard)/admin/stats/page.tsx (+75 -0)
📝 apps/web/src/components/(dashboard)/layout/profile-dropdown.tsx (+16 -1)
📝 apps/web/src/components/(dashboard)/metric-card/metric-card.tsx (+3 -3)
packages/lib/next-auth/guards/is-admin.ts (+5 -0)
packages/lib/server-only/admin/get-documents-stats.ts (+26 -0)
packages/lib/server-only/admin/get-recipients-stats.ts (+29 -0)
packages/lib/server-only/admin/get-users-stats.ts (+18 -0)
packages/prisma/migrations/20230907075057_user_roles/migration.sql (+5 -0)
📝 packages/prisma/schema.prisma (+6 -0)
📝 turbo.json (+4 -10)

📄 Description

No description provided


🔄 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/361 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 9/8/2023 **Status:** ✅ Merged **Merged:** 9/13/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `feat/refresh` ← **Head:** `feat/admin-ui-metrics` --- ### 📝 Commits (10+) - [`171a5ba`](https://github.com/documenso/documenso/commit/171a5ba4ee5a167d5fb225b29d12908c808003c9) feat: creating the admin ui for metrics - [`6757115`](https://github.com/documenso/documenso/commit/67571158e88912620e2aa33c537a91ea7da6443f) feat: add the admin page - [`6cdba45`](https://github.com/documenso/documenso/commit/6cdba45396299cc1e06a7d185280acaddda0fb59) chore: implemented feedback - [`7705822`](https://github.com/documenso/documenso/commit/77058220a8975f01d4b9fda48c29bc6089a3bef0) chore: rename files - [`660f589`](https://github.com/documenso/documenso/commit/660f5894a6f66baa5fd9394efec21306e640dc7b) chore: feedback improvements - [`5969f14`](https://github.com/documenso/documenso/commit/5969f148c861bbc1d3e05a68cf359542bdff481c) chore: changed the cards titles - [`5862af3`](https://github.com/documenso/documenso/commit/5862af3034bc62bb9a81078fc04639b5837e1870) Merge branch 'feat/refresh' into feat/admin-ui-metrics - [`27edceb`](https://github.com/documenso/documenso/commit/27edcebef6b2cbc4c12f6392bc5c7cb6187f0753) Merge branch 'feat/refresh' into feat/admin-ui-metrics - [`898f5a6`](https://github.com/documenso/documenso/commit/898f5a629c8b104bad28a4af30ca003917b1ee9f) Merge branch 'feat/refresh' into feat/admin-ui-metrics - [`326743d`](https://github.com/documenso/documenso/commit/326743d8a1f3a2f363f5df4ebe30947cea2a476b) chore: added app version ### 📊 Changes **14 files changed** (+274 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/next.config.js` (+5 -1) ➕ `apps/web/src/app/(dashboard)/admin/layout.tsx` (+30 -0) ➕ `apps/web/src/app/(dashboard)/admin/nav.tsx` (+47 -0) ➕ `apps/web/src/app/(dashboard)/admin/page.tsx` (+5 -0) ➕ `apps/web/src/app/(dashboard)/admin/stats/page.tsx` (+75 -0) 📝 `apps/web/src/components/(dashboard)/layout/profile-dropdown.tsx` (+16 -1) 📝 `apps/web/src/components/(dashboard)/metric-card/metric-card.tsx` (+3 -3) ➕ `packages/lib/next-auth/guards/is-admin.ts` (+5 -0) ➕ `packages/lib/server-only/admin/get-documents-stats.ts` (+26 -0) ➕ `packages/lib/server-only/admin/get-recipients-stats.ts` (+29 -0) ➕ `packages/lib/server-only/admin/get-users-stats.ts` (+18 -0) ➕ `packages/prisma/migrations/20230907075057_user_roles/migration.sql` (+5 -0) 📝 `packages/prisma/schema.prisma` (+6 -0) 📝 `turbo.json` (+4 -10) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:00 +03:00
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#910
No description provided.