PrathamSutone / Google-clone-reactjs

A Google Clone created with ReactJs, Google API(Rapid Api), React-router, Firebase, Context Api for state management, Styled-components and Material-UI.
https://clone-1000.web.app
Apache License 2.0
0 stars 0 forks source link

Sweep: Notify Google analytics whenever a search is made #2

Open PrathamSutone opened 10 months ago

PrathamSutone commented 10 months ago
Checklist - [X] ``my-app/src/utils/GoogleAnalytics.js`` ✅ Commit [`30ee3e7`](https://github.com/PrathamSutone/Google-clone-reactjs/commit/30ee3e71b2cf05a182bbd6b27f9a846c511af918) - [X] ``my-app/src/components/Results/index.js`` ✅ Commit [`2f032c8`](https://github.com/PrathamSutone/Google-clone-reactjs/commit/2f032c81041ee2fba94c875c50e3b03ed7730be5) - [X] ``my-app/src/index.js`` ✅ Commit [`2e149ed`](https://github.com/PrathamSutone/Google-clone-reactjs/commit/2e149ed664ed74008d166bca2f7a79fb3df8a438)
sweep-ai[bot] commented 10 months ago

Here's the PR! https://github.com/PrathamSutone/Google-clone-reactjs/pull/3.

⚡ Sweep Free Trial: I'm creating this ticket using GPT-4. You have 4 GPT-4 tickets left for the month and 2 for the day. For more GPT-4 tickets, visit our payment portal.

Actions (click)


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/PrathamSutone/Google-clone-reactjs/blob/e04d940bad2264982ad310facd87dfd5d218ac09/my-app/src/components/Results/index.js#L1-L110 https://github.com/PrathamSutone/Google-clone-reactjs/blob/e04d940bad2264982ad310facd87dfd5d218ac09/my-app/src/pages/search.js#L1-L33 https://github.com/PrathamSutone/Google-clone-reactjs/blob/e04d940bad2264982ad310facd87dfd5d218ac09/my-app/src/index.js#L1-L18 https://github.com/PrathamSutone/Google-clone-reactjs/blob/e04d940bad2264982ad310facd87dfd5d218ac09/my-app/src/reportWebVitals.js#L1-L12

Step 2: ⌨️ Coding


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/add-google-analytics-tracking.

.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord