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

Rename Actions category to Behavior + Referrers category to Acquisition #12950

Merged
merged 7 commits into from May 24, 2018

Conversation

diosmosis
Copy link
Member

Adds getDisplayName() method to Category so original ID is retained.

Fixes #12750

@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 May 21, 2018
@diosmosis diosmosis added this to the 3.5.1 milestone May 21, 2018
@@ -178,7 +178,7 @@ private function buildCategoryMetadata($category)

return array(
'id' => (string) $category->getId(),
'name' => Piwik::translate($category->getId()),
'name' => Piwik::translate($category->getDisplayName()),
Copy link
Member

Choose a reason for hiding this comment

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

FYI the Piwik::translate is not needed here

Copy link
Member Author

Choose a reason for hiding this comment

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

whoops

@tsteur
Copy link
Member

tsteur commented May 22, 2018

@diosmosis some tests are failing, otherwise looks good to me 👍

@diosmosis diosmosis force-pushed the 12750-rename-actions-referrers branch from 913dd24 to 4718b81 Compare May 24, 2018 00:46
@diosmosis diosmosis merged commit 623bbf6 into 3.x-dev May 24, 2018
@diosmosis diosmosis deleted the 12750-rename-actions-referrers branch May 24, 2018 04:32
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
…on (matomo-org#12950)

* Rename Actions category to Behavior + Referrers category to Acquisition while retaining category ID.

* quick fix

* Update expected system test files.

* Updating screenshots & fixing test.

* fix dashboard test

* Update screenshots again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review 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