feat: implement template search functionality (#2376)

- Added  function to handle template searches based on user input
- Introduced in the TRPC router to facilitate authenticated template
searches
- Updated to include template search results alongside document search
results
- Enhanced query handling by enabling searches only when the input is
valid
- Created corresponding Zod schemas for request and response validation
in
This commit is contained in:
Catalin Pit
2026-03-09 01:44:51 +02:00
committed by GitHub
parent 6c8726b58c
commit c4754553c9
16 changed files with 1292 additions and 927 deletions
@@ -44,7 +44,7 @@ test('[COMMAND_MENU]: should be able to search by recipient', async ({ page }) =
await apiSignin({
page,
email: recipient.email,
email: user.email,
});
await page.keyboard.press('Meta+K');