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

[Vue] wait for angular to be initialized to post events to avoid loading race condition #18284

Merged
merged 4 commits into from Nov 9, 2021

Conversation

diosmosis
Copy link
Member

Description:

events can sometimes be posted before angular is ready. Waiting for angular seems to fix the issue.

Review

@diosmosis diosmosis added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Nov 9, 2021
@diosmosis diosmosis added this to the 4.6.0 milestone Nov 9, 2021
@sgiehl
Copy link
Member

sgiehl commented Nov 9, 2021

seems the vue files weren't updated for some reason. Will merge in latest 4.x-dev, maybe that triggers the build.

@sgiehl
Copy link
Member

sgiehl commented Nov 9, 2021

@diosmosis I guess I know why the vue files didn't built. The action only ran on synchronize, but seems that isn't triggered when the PR is opened. As you didn't push any further commits afterwards it was never triggered. I've added a commit so the action should also run when a PR is opened. Feel free to have a look and merge if you think that's fine.

@sgiehl sgiehl removed the Needs Review PRs that need a code review label Nov 9, 2021
@diosmosis
Copy link
Member Author

@sgiehl I see, thanks for pushing a fix!

@diosmosis diosmosis merged commit 16912f4 into 4.x-dev Nov 9, 2021
@diosmosis diosmosis deleted the vue-matomo-event-wait branch November 9, 2021 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants