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

Deprecates the historyService along with broadcast.init, broadcast.propagateAjax, broadcast.pageLoad #12363

Merged
merged 5 commits into from Jun 17, 2018

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Dec 16, 2017

those methods have been used by overlay and in widgetized dashboard only and should now not be used anywhere

refs #6037

@sgiehl sgiehl added the Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. label Dec 16, 2017
@sgiehl sgiehl added this to the 3.2.2 milestone Dec 16, 2017
// init broadcast if not already done (it is required to make popovers work in widgetize mode)
if (broadcast.isWidgetizedDashboard()) {
broadcast.init(true);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

adding <div piwik-popover-handler></div> in the widgetized dashboard template makes this no longer required

@sgiehl sgiehl added the Needs Review PRs that need a code review label Dec 18, 2017
@sgiehl sgiehl removed the Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. label Jan 15, 2018
@sgiehl sgiehl force-pushed the broadcast branch 2 times, most recently from 475d10d to 4dd7231 Compare March 11, 2018 22:00
@sgiehl sgiehl force-pushed the broadcast branch 2 times, most recently from 313a574 to 0d891f0 Compare March 25, 2018 14:01
@sgiehl sgiehl force-pushed the broadcast branch 2 times, most recently from 82a162e to 909fb0b Compare April 1, 2018 16:41
Copy link
Member

@diosmosis diosmosis left a comment

Choose a reason for hiding this comment

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

Tested overlay locally + popovers in widgetized dashboard, appears to work as before.

@diosmosis diosmosis merged commit eb18603 into 3.x-dev Jun 17, 2018
@diosmosis diosmosis deleted the broadcast branch June 17, 2018 23:53
@mattab mattab added the c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. label Aug 28, 2018
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
…st.propagateAjax`, `broadcast.pageLoad` (matomo-org#12363)

* deprecates broadcast.propagateAjax()

* make overlay js independed from history service and some broadcast methods

* deprecates historyService alogn with some broadcast methods

* make popovers work in widgetized dashboard without history service

* do not update overlay page/sidebar when iframe url didn't change

prevents reloading data when opening a popover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants