Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Plausible Analytics #176

Merged
merged 3 commits into from
Jul 15, 2023
Merged

Add Plausible Analytics #176

merged 3 commits into from
Jul 15, 2023

Conversation

samanyougarg
Copy link
Member

@samanyougarg samanyougarg commented Jul 15, 2023

Summary by OpenAI

New Feature:

  • Added Plausible Analytics provider to the application for better tracking and insights.

Refactor:

  • Improved code safety by using optional chaining when accessing the "query" parameter in search-page.tsx.

Chore:

  • Updated TypeScript references in next-env.d.ts for compatibility with navigation types.

🎉 With data we now play, as Plausible leads the way,
🛠️ Refactoring done right, makes our codebase light,
📚 Typescript's might, gives our app flight. 🚀

@vercel
Copy link

vercel bot commented Jul 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bg-frontend ❌ Failed (Inspect) Jul 15, 2023 5:53pm
bhagavad-gita ✅ Ready (Inspect) Visit Preview Jul 15, 2023 5:53pm

@github-actions
Copy link
Contributor

github-actions bot commented Jul 15, 2023

🤖 OpenAI

High-Level Summary

The changes primarily introduce Plausible Analytics to the application, configure it, and enhance the handling of "query" parameter access in search functionality. Additionally, a new TypeScript reference has been added.

Files Summary
app/providers.tsx, next.config.js Added and configured Plausible Analytics provider in the application.
next-env.d.ts Added a reference to the next/navigation-types/compat/navigation type.
app/search/search-page.tsx Improved the code to use optional chaining when accessing the "query" parameter from searchParams.

Chat with 🤖 OpenAI Bot (@openai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @openai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Ignoring further reviews

  • Type @openai: ignore anywhere in the PR description to ignore further reviews from the bot.


In the recent run, only the files that changed from the base of the PR and between 7356f48179765a94ad8f5b4df88f35056085469f and be462221e736772bc4bbda4d183755e3d913212b commits were reviewed.

Files not reviewed due to simple changes (1)

Skipped review in the recent run

  • app/search/search-page.tsx

@vercel vercel bot temporarily deployed to Preview – bg-frontend July 15, 2023 17:49 Inactive
@samanyougarg samanyougarg merged commit c0f9501 into main Jul 15, 2023
8 checks passed
@samanyougarg samanyougarg deleted the 171 branch July 15, 2023 17:53
@vercel vercel bot temporarily deployed to Preview – bg-frontend July 15, 2023 17:53 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant