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

Resolve issue of duplicate entries in Dicover tab #184

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

sachatrauwaen
Copy link
Contributor

Issue
Some time you get duplicates in the discover tab.

Analyse
It hapen when google search api get more then 1 entry for a device/country/keyword.
It is because the page is included in the dimentions of the google search console api call.

Solution
I have not change the api call because the data is stored locally and used also in other tabs (with the page dimension).
I grouped and sumerizing the stats in the Discover tab.

Remark : i included also an update of dev dependencies of react in package.json
(i actually, dont know how to make a separate pull request for it)

Sacha Trauwaen and others added 2 commits March 28, 2024 20:41
2) changing reduce and map together to make the code more readable.
3) ctr and position value rounded.
@sachatrauwaen sachatrauwaen requested a review from towfiqi March 28, 2024 19:49
@sachatrauwaen
Copy link
Contributor Author

I make the changes

@kevincerro
Copy link

This PR looks great, anything more to do here?

@sachatrauwaen
Copy link
Contributor Author

This PR looks great, anything more to do here?

No it's ready, waiting for review

Copy link
Owner

@towfiqi towfiqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good

@towfiqi towfiqi merged commit bf8fd53 into towfiqi:main Apr 24, 2024
1 check passed
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.

3 participants