-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Segment categories #9544
Segment categories #9544
Conversation
Thank you for your contribution! We require all contributors to sign our Contributor License Agreement, and we do not have a record of your signature on file. In order for us to review and merge your code, please head over to https://www.mautic.org/contributor-agreement and complete the form. There may be a short delay while the team add you as a contributor - please be patient :). Any problems contact the Product Team on Slack (get an invite at https://mautic.org/slack). CLA has not been signed by @bkomel. |
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.
Looks good. Please add migrations
app/bundles/LeadBundle/DataFixtures/ORM/LoadCategorizedLeadListData.php
Outdated
Show resolved
Hide resolved
@cla-bot check |
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.
Code is looking great, thanks @bkomel! I tested the migration locally and it works without issues. Nice that you even included a down()
function 🚀 Since this has been tested by multiple people already, I'll go ahead and merge this PR now 😊
This PR is breaking the API library tests unfortunately: https://github.com/mautic/api-library/actions/runs/562027599 Will have a closer look tomorrow. Note to self: I think it's caused by the fact that it adds a dependency to the CategoryModel in the ListModel. The CategoryModel is dependent on the BrowserStack for getting the current request 🤯 - UPDATE: Bingo! Found a solution. |
Fixed in #9667 |
Description:
This feature allows users to add new categories of type 'segment' and sort segments (lead lists) into this categories. When listing the segments it is possible to filter them based on the category.
Steps to test this PR: