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

Show 'new' metrics on visitor engagement report/sparklines #15128

Merged
merged 18 commits into from Dec 16, 2019

Conversation

katebutler
Copy link

Fixes #539

@katebutler katebutler added the Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. label Nov 6, 2019
@katebutler katebutler added this to the 3.13.0 milestone Nov 6, 2019
@katebutler katebutler added Needs Review PRs that need a code review and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Nov 13, 2019
Copy link
Member

@tsteur tsteur left a comment

Choose a reason for hiding this comment

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

@katebutler left a few comments.

plugins/VisitFrequency/API.php Outdated Show resolved Hide resolved
plugins/VisitFrequency/API.php Show resolved Hide resolved
plugins/VisitFrequency/Reports/Get.php Outdated Show resolved Hide resolved
plugins/VisitFrequency/Reports/Get.php Outdated Show resolved Hide resolved
katebutler added 4 commits November 21, 2019 10:01
# Conflicts:
#	plugins/Ecommerce/tests/System/expected/test_ecommerceOrderWithItems_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf
#	tests/PHPUnit/System/expected/test_DataComparisonTest_multipleMultiPeriods__VisitFrequency.get_day.xml
#	tests/PHPUnit/System/expected/test_DataComparisonTest_multipleSites_multipleCompare__VisitFrequency.get_month.xml
#	tests/PHPUnit/System/expected/test_TwoVisitors_twoWebsites_differentDays_schedrep_in_pdf_tables_only__ScheduledReports.generateReport_month.original.pdf
@mattab mattab modified the milestones: 3.13.0, 3.13.1 Nov 27, 2019
katebutler added 7 commits November 28, 2019 15:05
# Conflicts:
#	tests/PHPUnit/System/expected/test_BackwardsCompatibility1XTest__VisitFrequency.get_range.xml
#	tests/PHPUnit/System/expected/test_BackwardsCompatibility1XTest__VisitFrequency.get_year.xml
#	tests/PHPUnit/System/expected/test_BackwardsCompatibility1XTest_multipleOldNew__VisitFrequency.get_month.xml
… new or returning ones (unable to trigger this as the evolution graph doesn't call the method at all in this case); ensure that only the columns requested will be returned
…tests to check that correct columns are returned
@tsteur
Copy link
Member

tsteur commented Dec 9, 2019

@katebutler looking at the tests there seem to be heaps of them failing?

@tsteur
Copy link
Member

tsteur commented Dec 16, 2019

@katebutler can you update the ecommerce tests as discussed last Thursday or Friday? Then we can merge

@tsteur tsteur merged commit 72eece3 into 3.x-dev Dec 16, 2019
@tsteur tsteur deleted the 539-new-metrics branch December 16, 2019 21:15
$columns = Piwik::getArrayFromApiParameter($columns);

/** @var \Piwik\DataTable\DataTableInterface $resultSet */
$resultSet = new DataTable();
Copy link
Member

Choose a reason for hiding this comment

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

FYI, this needs to be new Simple() otherwise the XML output will have an extra <row> element.

Copy link
Member

Choose a reason for hiding this comment

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

cheers @diosmosis

diosmosis pushed a commit that referenced this pull request Dec 18, 2019
* Switch VisitFrequency to use Simple datatable, restore constant in Goals API for BC

* Update system test files
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
* Switch VisitFrequency to use Simple datatable, restore constant in Goals API for BC

* Update system test files
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
* Switch VisitFrequency to use Simple datatable, restore constant in Goals API for BC

* Update system test files
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve the New Vs Returning report
4 participants