[PR #1825] [CLOSED] feat: rework document table filters #1872

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1825
Author: @ephraimduncan
Created: 6/5/2025
Status: Closed

Base: mainHead: feat/document-table-filters


📝 Commits (10+)

  • f536555 feat: rework document table filters
  • 9ccd8e0 fix: table empty state and use the table somewhere else
  • 9739a0c feat: use data-table on template pages
  • 2c064d5 chore: minor changes
  • de45a63 chore: minor changes
  • 64695fa chore: add translations
  • c5bc3a3 chore: clean up unused imports and improve accessibility in pagination
  • 5545fb3 Merge branch 'main' into feat/document-table-filters
  • 8484783 fix: merge conflicts
  • 0f3c9da fix: cannot find source column

📊 Changes

24 files changed (+1568 additions, -380 deletions)

View changed files

apps/remix/app/components/general/period-selector.tsx (+0 -70)
📝 apps/remix/app/components/general/template/template-page-view-documents-table.tsx (+153 -91)
📝 apps/remix/app/components/tables/documents-table-empty-state.tsx (+17 -2)
📝 apps/remix/app/components/tables/documents-table.tsx (+103 -18)
apps/remix/app/components/tables/template-documents-table-empty-state.tsx (+70 -0)
📝 apps/remix/app/routes/_authenticated+/t.$teamUrl+/documents._index.tsx (+25 -127)
📝 apps/remix/app/routes/_authenticated+/t.$teamUrl+/templates._index.tsx (+5 -5)
📝 apps/remix/app/routes/_internal+/[__htmltopdf]+/audit-log.tsx (+25 -8)
📝 apps/remix/app/routes/_internal+/[__htmltopdf]+/certificate.tsx (+41 -14)
📝 apps/remix/app/routes/embed+/v1+/authoring+/document.create.tsx (+7 -6)
📝 apps/remix/app/routes/embed+/v1+/authoring+/template.create.tsx (+7 -6)
📝 packages/lib/server-only/document/find-documents.ts (+90 -11)
📝 packages/lib/server-only/document/get-stats.ts (+12 -13)
📝 packages/trpc/server/document-router/router.ts (+1 -1)
📝 packages/trpc/server/document-router/schema.ts (+16 -2)
📝 packages/ui/components/document/document-download-button.tsx (+3 -2)
📝 packages/ui/primitives/data-table-pagination.tsx (+12 -4)
packages/ui/primitives/data-table/data-table-faceted-filter.tsx (+145 -0)
packages/ui/primitives/data-table/data-table-pagination.tsx (+98 -0)
packages/ui/primitives/data-table/data-table-single-filter.tsx (+139 -0)

...and 4 more files

📄 Description

https://github.com/user-attachments/assets/7062d9bf-94f8-4bf1-a09d-69f0fb3b5177


🔄 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/1825 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 6/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/document-table-filters` --- ### 📝 Commits (10+) - [`f536555`](https://github.com/documenso/documenso/commit/f5365554abcaaf56588faa1877f52ca7cfaa1878) feat: rework document table filters - [`9ccd8e0`](https://github.com/documenso/documenso/commit/9ccd8e0397ceb44d2bd66715509454db25cfa677) fix: table empty state and use the table somewhere else - [`9739a0c`](https://github.com/documenso/documenso/commit/9739a0ca96b037d64aa7b3c44fc14a8e94049637) feat: use data-table on template pages - [`2c064d5`](https://github.com/documenso/documenso/commit/2c064d5aff586cf7956269acd6fa67b7d471d36d) chore: minor changes - [`de45a63`](https://github.com/documenso/documenso/commit/de45a63c971709ef9dc0c23c0a3741c04dd4f0ff) chore: minor changes - [`64695fa`](https://github.com/documenso/documenso/commit/64695fad32bd23e7b1032ab8f8548b5a7dc03f59) chore: add translations - [`c5bc3a3`](https://github.com/documenso/documenso/commit/c5bc3a32f892bc5ed01ac1e5640cef22a17ce835) chore: clean up unused imports and improve accessibility in pagination - [`5545fb3`](https://github.com/documenso/documenso/commit/5545fb36e8884ec33178c1f44097260121454904) Merge branch 'main' into feat/document-table-filters - [`8484783`](https://github.com/documenso/documenso/commit/8484783ec5bee31fbdc1f6a8ee1cb95f1c57561b) fix: merge conflicts - [`0f3c9da`](https://github.com/documenso/documenso/commit/0f3c9dafa88dbac24254e352c3bfb0da4d49aef2) fix: cannot find source column ### 📊 Changes **24 files changed** (+1568 additions, -380 deletions) <details> <summary>View changed files</summary> ➖ `apps/remix/app/components/general/period-selector.tsx` (+0 -70) 📝 `apps/remix/app/components/general/template/template-page-view-documents-table.tsx` (+153 -91) 📝 `apps/remix/app/components/tables/documents-table-empty-state.tsx` (+17 -2) 📝 `apps/remix/app/components/tables/documents-table.tsx` (+103 -18) ➕ `apps/remix/app/components/tables/template-documents-table-empty-state.tsx` (+70 -0) 📝 `apps/remix/app/routes/_authenticated+/t.$teamUrl+/documents._index.tsx` (+25 -127) 📝 `apps/remix/app/routes/_authenticated+/t.$teamUrl+/templates._index.tsx` (+5 -5) 📝 `apps/remix/app/routes/_internal+/[__htmltopdf]+/audit-log.tsx` (+25 -8) 📝 `apps/remix/app/routes/_internal+/[__htmltopdf]+/certificate.tsx` (+41 -14) 📝 `apps/remix/app/routes/embed+/v1+/authoring+/document.create.tsx` (+7 -6) 📝 `apps/remix/app/routes/embed+/v1+/authoring+/template.create.tsx` (+7 -6) 📝 `packages/lib/server-only/document/find-documents.ts` (+90 -11) 📝 `packages/lib/server-only/document/get-stats.ts` (+12 -13) 📝 `packages/trpc/server/document-router/router.ts` (+1 -1) 📝 `packages/trpc/server/document-router/schema.ts` (+16 -2) 📝 `packages/ui/components/document/document-download-button.tsx` (+3 -2) 📝 `packages/ui/primitives/data-table-pagination.tsx` (+12 -4) ➕ `packages/ui/primitives/data-table/data-table-faceted-filter.tsx` (+145 -0) ➕ `packages/ui/primitives/data-table/data-table-pagination.tsx` (+98 -0) ➕ `packages/ui/primitives/data-table/data-table-single-filter.tsx` (+139 -0) _...and 4 more files_ </details> ### 📄 Description https://github.com/user-attachments/assets/7062d9bf-94f8-4bf1-a09d-69f0fb3b5177 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:27 +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#1872
No description provided.