-
Notifications
You must be signed in to change notification settings - Fork 296
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
UseInViewSelect #8924
UseInViewSelect #8924
Conversation
Build files for 8672821 have been deleted. |
This comment was marked as resolved.
This comment was marked as resolved.
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.
Thanks, @zutigrm. Mostly looks good to me. Left one comment.
@eugene-manuilov Thanks, I updated PR. I noticed that few key metrics widgets were stuck in loading state, so after digging up a bit, I also needed to update the usage of this hook, as we tend to use it for fetching reports, so I updated the usage to include proper dependencies - beside the initial resolution of some dependencies, report options can update when reference date is changed on the dashboard, so this PR grew a bit in number of files that needed editing. |
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.
Great job, @zutigrm. Almost looks good to me. Left two minor comments for you and then it should be good to go.
assets/js/modules/analytics-4/components/widgets/LeastEngagingPagesWidget.js
Outdated
Show resolved
Hide resolved
Thanks @eugene-manuilov , PR updated |
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.
Thanks, @zutigrm. LGTM.
Thanks @zutigrm – while I'm not opposed to the addition of dependencies in the usage, it shouldn't have been necessary here. This is likely due to a related flaw in the initial implementation which set I've opened #9009 to address the fix for the default. |
Summary
Addresses issue:
useInViewSelect
#8789Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist