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

feat: [oppty] Pages with high click amount on non-interacting element #329

Merged
merged 11 commits into from
Aug 26, 2024

Conversation

rpapani
Copy link
Contributor

@rpapani rpapani commented Aug 15, 2024

TODO: Unit tests

@rpapani rpapani requested review from ekremney and ramboz August 20, 2024 00:23
@rpapani rpapani marked this pull request as ready for review August 20, 2024 00:23
}
}

function getRageClickOpporunities(rageClickInstances) {
Copy link
Member

Choose a reason for hiding this comment

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

typo here

return opportunities;
}

function handler(bundles) {
Copy link
Member

Choose a reason for hiding this comment

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

personal opinion and not blocking: I don't know how much memory overhead it would add but using functional js interfaces map, filter etc. would increase the readability

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as I was building a global structure rageClickInstances, felt like map wasn't best fit and running multiple operations of map/filter, will iterate the array more than once, so I thought its better to create the structure I want with single iteration.

Copy link

This PR will trigger a minor release when merged.

@solaris007 solaris007 added the enhancement New feature or request label Aug 21, 2024
@rpapani rpapani merged commit 610a22f into main Aug 26, 2024
9 checks passed
@rpapani rpapani deleted the rageclick branch August 26, 2024 21:26
adobe-bot pushed a commit that referenced this pull request Aug 26, 2024
# [@adobe/spacecat-shared-rum-api-client-v2.8.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.7.4...@adobe/spacecat-shared-rum-api-client-v2.8.0) (2024-08-26)

### Features

* [oppty] Pages with high click amount on non-interacting element ([#329](#329)) ([610a22f](610a22f))
@adobe-bot
Copy link

🎉 This issue has been resolved in version @adobe/spacecat-shared-rum-api-client-v2.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants