[PR #714] [CLOSED] feat: add document search to the command menu #1133

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/714
Author: @kritarth2121
Created: 12/2/2023
Status: Closed

Base: mainHead: document-search-in-command-menu


📝 Commits (1)

  • 4d48476 feat: add document search to the command menu

📊 Changes

4 files changed (+138 additions, -6 deletions)

View changed files

📝 apps/web/src/components/(dashboard)/common/command-menu.tsx (+65 -6)
packages/lib/server-only/document/search-documents-with-query.ts (+46 -0)
📝 packages/trpc/server/document-router/router.ts (+22 -0)
📝 packages/trpc/server/document-router/schema.ts (+5 -0)

📄 Description

It resolves #702

Implemented even the smaller parts that were missed in other PRS like below, apart from fully solving the issue,

  • Limiting the no of document search results to 5 documents to maintain interface clarity.
  • Sorting it with the latest document.
  • Using debounce to reduce API Calls

I worked on each and every smaller requirements of the Issue


🔄 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/714 **Author:** [@kritarth2121](https://github.com/kritarth2121) **Created:** 12/2/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `document-search-in-command-menu` --- ### 📝 Commits (1) - [`4d48476`](https://github.com/documenso/documenso/commit/4d48476c81946b18d6e73d66de38c9df112a942b) feat: add document search to the command menu ### 📊 Changes **4 files changed** (+138 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/components/(dashboard)/common/command-menu.tsx` (+65 -6) ➕ `packages/lib/server-only/document/search-documents-with-query.ts` (+46 -0) 📝 `packages/trpc/server/document-router/router.ts` (+22 -0) 📝 `packages/trpc/server/document-router/schema.ts` (+5 -0) </details> ### 📄 Description It resolves #702 Implemented even the smaller parts that were missed in other PRS like below, apart from fully solving the issue, - Limiting the no of document search results to 5 documents to maintain interface clarity. - Sorting it with the latest document. - Using debounce to reduce API Calls I worked on each and every smaller requirements of the Issue --- <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:58 +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#1133
No description provided.