-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
} | ||
} | ||
|
||
function getRageClickOpporunities(rageClickInstances) { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
This PR will trigger a minor release when merged. |
# [@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))
🎉 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 📦🚀 |
TODO: Unit tests