It wasn't intentional to make analytics dependent on whether or not the
site is an ecommerce plan or if the 3rd party library setting is enabled
. This ensures that analytic tracking will always actually be enabled
when the user opts in to it.
MAILPOET-5161
I'm adding this unprefixed because the library contains code that
dynamically instantiates objects assuming that certain classes will
exist in the global namespace. If we definitely need to include this
library prefixed we would need to add some custom code to update those
references, and also double check that there are no other places we
might run into similar issues.
MAILPOET-5161
This fixes horizontal scroll bar appearing only after scrolling till the end vertically.
Allows for simultaneous X and Y axis scrolling on trackpads and touch devices.
[MAILPOET-5587]
For some unknown reason using the absolute paths in the files changed in
this commit is causing the error below in the premium build. To fix it,
this commit changes the code to use relative paths. I did not
investigate why this error was happening in the first place.
The error started happening when
https://github.com/mailpoet/mailpoet/pull/5213/ was merged.
```
> tsc --noEmit
../mailpoet/assets/js/src/segments/dynamic/dynamic-segments-filters/automation-options.ts:2:29 - error TS2307: Cannot find module 'segments/dynamic/dynamic-segments-filters/sort-filters' or its corresponding type declarations.
2 import { sortFilters } from 'segments/dynamic/dynamic-segments-filters/sort-filters';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mailpoet/assets/js/src/segments/dynamic/dynamic-segments-filters/email-options.ts:2:29 - error TS2307: Cannot find module 'segments/dynamic/dynamic-segments-filters/sort-filters' or its corresponding type declarations.
2 import { sortFilters } from 'segments/dynamic/dynamic-segments-filters/sort-filters';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mailpoet/assets/js/src/segments/dynamic/dynamic-segments-filters/subscriber-options.ts:2:29 - error TS2307: Cannot find module 'segments/dynamic/dynamic-segments-filters/sort-filters' or its corresponding type declarations.
2 import { sortFilters } from 'segments/dynamic/dynamic-segments-filters/sort-filters';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mailpoet/assets/js/src/segments/dynamic/dynamic-segments-filters/woocommerce-options.ts:2:29 - error TS2307: Cannot find module 'segments/dynamic/dynamic-segments-filters/sort-filters.ts' or its corresponding type declarations.
2 import { sortFilters } from 'segments/dynamic/dynamic-segments-filters/sort-filters.ts';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 4 errors in 4 files.
```
https://app.circleci.com/pipelines/github/mailpoet/mailpoet-premium/2862/workflows/b1fa2ad0-fc50-40df-b278-c6ca709e6ce0/jobs/20223
[MAILPOET-5666]