-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New command to get usage of all segments #14575
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
New command to get usage of all segments #14575
Conversation
Co-authored-by: John Linhart <admin@escope.cz>
…assertMatchesRegularExpression()
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.
I know this is coming from an old PR on our fork, but let's modernize it and bullet-proof it when we have a chance in adding the new classes. It's then very costly to do afterwards when dealing with backward compatibility
app/bundles/LeadBundle/Tests/Command/SegmentStatCommandTest.php
Outdated
Show resolved
Hide resolved
app/bundles/LeadBundle/Tests/EventListener/SegmentStatsSubscriberTest.php
Outdated
Show resolved
Hide resolved
app/bundles/LeadBundle/Tests/EventListener/SegmentStatsSubscriberTest.php
Outdated
Show resolved
Hide resolved
app/bundles/LeadBundle/Tests/EventListener/SegmentStatsSubscriberTest.php
Outdated
Show resolved
Hide 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 @avikarshasaha!
@escopecz can you merge this? |
@avikarshasaha @aarohiprasad @escopecz where are the docs on this? What command is it that users are to run? Please make a PR for the user/dev docs as appropriate, we can't just add commands and expect people to know how to use them :) Thanks! |
@RCheesley good catch! I've created the docs PR here: mautic/user-documentation#351 @avikarshasaha please spend more time on the PR descriptions and docs for new features in the following PRs. |
This pull request has been mentioned on Mautic Forums. There might be relevant details there: https://forum.mautic.org/t/announcing-mautic-6-beta-now-available-for-testing/35196/1 |
Description
This PR adds new command
bin/console mautic:segments:stat
Get usage data for published segments, which includes the following items:
📋 Steps to test this PR: