[PR #1384] [MERGED] feat: search documents by name or recipient name or recipient email #1598

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1384
Author: @catalinpit
Created: 10/4/2024
Status: Merged
Merged: 10/8/2024
Merged by: @Mythie

Base: mainHead: feat/add-dashboard-document-search


📝 Commits (7)

  • 867dc00 feat: search documents by name or recipient name or recipient name
  • a209839 feat: add document search component
  • fe49650 chore: extract translations
  • 8eded45 feat: update counts
  • 571111f feat: debounce search term
  • bdbc60c Merge branch 'main' into feat/add-dashboard-document-search
  • 73cfe50 chore: add tests

📊 Changes

10 files changed (+357 additions, -13 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/documents/documents-page-view.tsx (+10 -2)
apps/web/src/components/(dashboard)/document-search/document-search.tsx (+41 -0)
packages/app-tests/e2e/teams/search-documents.spec.ts (+249 -0)
📝 packages/lib/server-only/document/find-documents.ts (+11 -1)
📝 packages/lib/server-only/document/get-stats.ts (+33 -4)
📝 packages/lib/translations/de/web.po (+1 -1)
📝 packages/lib/translations/en/web.po (+1 -1)
📝 packages/lib/translations/fr/web.po (+1 -1)
📝 packages/prisma/seed/teams.ts (+3 -1)
📝 packages/prisma/seed/users.ts (+7 -2)

📄 Description

https://github.com/user-attachments/assets/658d35ef-bd92-4eb1-91f2-21c18a410ffd

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced a document search functionality, allowing users to filter documents based on search criteria.
    • Added a DocumentSearch component for improved user input of search queries.
    • Enhanced document statistics retrieval with search filtering capabilities.
  • Bug Fixes

    • Enhanced translation accuracy and consistency across German, English, and French interfaces.
  • Documentation

    • Updated translation strings for better clarity and user experience in multiple languages.
  • Tests

    • Implemented end-to-end tests to validate document visibility based on user roles and team memberships.

🔄 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/1384 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 10/4/2024 **Status:** ✅ Merged **Merged:** 10/8/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/add-dashboard-document-search` --- ### 📝 Commits (7) - [`867dc00`](https://github.com/documenso/documenso/commit/867dc003a29e9d82afa5a269d1a6fb41173dd512) feat: search documents by name or recipient name or recipient name - [`a209839`](https://github.com/documenso/documenso/commit/a2098395f2d371fba49b89fc3c26a208c615991f) feat: add document search component - [`fe49650`](https://github.com/documenso/documenso/commit/fe496504ea27ae71dcdda20ad1853a4c2ab2f053) chore: extract translations - [`8eded45`](https://github.com/documenso/documenso/commit/8eded451bb523bf8b051c8b74ef0de88ccec51fb) feat: update counts - [`571111f`](https://github.com/documenso/documenso/commit/571111fd2df386f163fc8a61ea9f3744536542e1) feat: debounce search term - [`bdbc60c`](https://github.com/documenso/documenso/commit/bdbc60c42d9f334a98b31d322002d992bcd7dbcf) Merge branch 'main' into feat/add-dashboard-document-search - [`73cfe50`](https://github.com/documenso/documenso/commit/73cfe505eee306ed4699834fb0e7dd27cfb2b209) chore: add tests ### 📊 Changes **10 files changed** (+357 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/documents/documents-page-view.tsx` (+10 -2) ➕ `apps/web/src/components/(dashboard)/document-search/document-search.tsx` (+41 -0) ➕ `packages/app-tests/e2e/teams/search-documents.spec.ts` (+249 -0) 📝 `packages/lib/server-only/document/find-documents.ts` (+11 -1) 📝 `packages/lib/server-only/document/get-stats.ts` (+33 -4) 📝 `packages/lib/translations/de/web.po` (+1 -1) 📝 `packages/lib/translations/en/web.po` (+1 -1) 📝 `packages/lib/translations/fr/web.po` (+1 -1) 📝 `packages/prisma/seed/teams.ts` (+3 -1) 📝 `packages/prisma/seed/users.ts` (+7 -2) </details> ### 📄 Description https://github.com/user-attachments/assets/658d35ef-bd92-4eb1-91f2-21c18a410ffd <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced a document search functionality, allowing users to filter documents based on search criteria. - Added a `DocumentSearch` component for improved user input of search queries. - Enhanced document statistics retrieval with search filtering capabilities. - **Bug Fixes** - Enhanced translation accuracy and consistency across German, English, and French interfaces. - **Documentation** - Updated translation strings for better clarity and user experience in multiple languages. - **Tests** - Implemented end-to-end tests to validate document visibility based on user roles and team memberships. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:56 +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#1598
No description provided.