Closed NiallJoeMaher closed 1 month ago
@NiallJoeMaher is attempting to deploy a commit to the Codú Team on Vercel.
A member of the Team first needs to authorize it.
This pull request introduces several enhancements to the search functionality within a Next.js application, particularly in the Search.tsx
component, which now integrates Algolia's search capabilities. Key updates include the implementation of a new instrumentation.ts
file for Sentry error tracking, modifications to the next.config.js
for improved configuration, and adjustments to Sentry's client configuration. Additionally, two files related to Sentry configuration for server and edge environments have been removed, consolidating error tracking setup into a more streamlined approach.
File | Change Summary |
---|---|
components/ui/Search.tsx | - Updated import for algoliasearch to use named export liteClient . - Modified getItems to fetch 6 results per query. - Enhanced useAutocomplete hook for better state management. - Updated SearchInput to handle Escape key more effectively. - Categorized results in SearchResults based on category . - Integrated autocomplete object in SearchDialog . - Added functions: Search and MobileSearch . |
instrumentation.ts | - Introduced a new file for Sentry error tracking initialization based on the runtime environment. - Added register function for Sentry setup. |
next-env.d.ts | - Updated TypeScript configuration documentation URL in a comment. |
next.config.js | - Added experimental feature instrumentationHook . - Updated module export structure for clarity without changing functionality. |
sentry.client.config.ts | - Modified Sentry Replay integration from constructor to method call. |
sentry.edge.config.ts | - Deleted file responsible for edge Sentry configuration. |
sentry.server.config.ts | - Deleted file responsible for server Sentry configuration. |
Search.tsx
component, specifically enhancing the usage of components from the @headlessui/react
library, which is relevant to the modifications made in the main PR that also involves the Search.tsx
component.🐇 In the meadow where searchlights gleam,
A rabbit hops, chasing a dream.
With Algolia's magic, results align,
Six treasures found, oh how they shine!
Sentry's watchful eyes keep us safe,
In this code garden, we dance and chafe! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
codu | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 3, 2024 7:55am |
✨ Codu Pull Request 💻
Update and fix Sentry and Algolia Search
Pull Request details