Commit Graph

193 Commits

Author SHA1 Message Date
Jan Jakes
b774fff3b9 Add legacy automation count to automation total count
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
92aef9ea05 Add description for legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
29430db641 Add description for legacy welcome emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
abe7c0e49c Add notice about legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Rostislav Wolny
966014d71d Improve name of a getter for campaign name or subject on NewsletterEntity
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Rostislav Wolny
b8b5696ab1 Use campaign name if available in newsletters listing in segment editor
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Jan Lysý
aa40d7eb7b Set BlockList layout
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Jakes
d5aa68ed8a Fix filters list to work in automation template previews
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
068f99bdbe Add automation context and registry to listing and templates pages
[MAILPOET-4537]
2023-12-11 20:51:12 +01:00
Oluwaseun Olorunsola
2a714511c2 Add tracking for users arriving to the wizard from WooCommerce Marketing Dashboard
Users can click on the Finish setup button on the WooCommerce Multichannel Marketing Dashboard which would redirect them to the MailPoet welcome wizard.

 We want to track users that arrive to the MP wizard from
WooCommerce but at this point tracking is not enabled. So we store the
information in a setting, and send the tracking event to Mixpanel, if it
is enabled, after the user completes the wizard.

MAILPOET-5695
2023-11-27 10:25:09 +01:00
Jan Jakes
d220f05840 Move automation template categories to registry
This will also allow 3rd parties adding new categories in the future.

[MAILPOET-4676]
2023-11-20 14:30:05 +01:00
Jan Lysý
91094fad7c Use layoutStyles in email editor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Jakes
b5552a5a5e Remove usages of MailPoet\Tasks\Sending from Help page
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
John Oleksowicz
c6a6d7d8e1 Automatically opt in to tracking if wpcom
MAILPOET-5549
2023-11-01 12:24:46 +01:00
Rostislav Wolny
554b862bf3 Enable media upload
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
afe2cd562a Remove unnecessary CSS queueing for the email editor
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Jan Jakes
62f2d1e773 Add registry subjects to automation analytics
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Rostislav Wolny
399ed61503 Introduce SettingsController for managing editor settings
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
3a88989a84 Rename custom email editor to email editor
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
4646214c62 Add send email preview to custom editor
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
c04658d9c0 Skip page renderer when rendering email editor
As for now, we will not load mailpoet admin scripts for MailPoet
and other default variables that are used in MailPoet Layout.
This is to prevent unwanted dependencies on the MailPoet plugin.

[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
4b2e5e8eae Hotfix redirect when creating new email
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Jan Lysý
a07a744707 Rename folders and files by the new lint rule
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
c770901c4f Ensure post exists when loading editor page without postId
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
796df6e1b9 Adjust visual editor css
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
07576b9f79 Render basic block editor with header
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
1919d58973 Add JS build and an index file for the editor app
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
debbeaafdc Add EmailEditor page into MailPoet admin
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
John Oleksowicz
b1dd110bf8 Add lookup data retrieval for used shipping method
For ease of lookup, I changed the helper to return an array with keys
corresponding to the instanceId of the shipping methods. I couldn't see
anywhere else in the codebase where the keys would have mattered.

MAILPOET-5625
2023-10-13 11:21:42 +02:00
Jan Jakes
312f85efdd Enqueue all styles using WP native functions
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
282f7b8414 Enqueue all admin scripts using WP native functions
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
480d9f1239 Extract admin pages assets setup out of form assets controller
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
John Oleksowicz
c0c578ee05 Only show detailed stats if premium active
Without this check, if premium is present but not active, attempting to
view the stats page for a newsletter results in an "Invalid API
endpoint" error because it tries to retrieve detailed stats from a
premium endpoint.

MAILPOET-5511
2023-10-03 13:09:11 +02:00
Jan Lysý
191bd69fac Remove coupons from dynamic segments page
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
Jan Lysý
019b9ec3fa Remove coupons loading from NewsletterEditor
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
Brezo Cordero
7e0a361b03 Rename HelpScout/Beacon
One of the hardest problems in programming. Name changed to represent what the class is for now that we have removed the beacon. Hopefully.

[MAILPOET-5551]
2023-09-07 14:50:35 +02:00
David Remer
fad0880436 Dynamically add user name and email when not yet populated
[MAILPOET-5550]
2023-08-30 12:53:11 +02:00
John Oleksowicz
ecde4c10e3 Populate store with coupon data
MAILPOET-5007
2023-08-14 13:49:55 +02:00
Jan Lysý
edaefea5b7 Use Subscribers feature instead of Installer
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
David Remer
f7689232b2 Move user roles from global window to context
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
Rodrigo Primo
c72fce9aae Separate the segments and lists pages on the PHP side
Until now we were using the same render() method and Twig templates for
the segments and lists pages. This commit separates them by creating two
different render() methods, one for each page, and also separing the
Twig templates. Only the translations remain shared as separating them
would be more involved and probably not worth it.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
Rodrigo Primo
728b8e91ac Add new menu entry to lists
Segments and lists now will have separate menu entries. The pages will
be split in subsequent commits.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
John Oleksowicz
a7b5bad346 Fix type mismatch
MAILPOET-5003
2023-07-12 11:10:18 +02:00
John Oleksowicz
22bd33fecc Add automations segmentation filters frontend code
MAILPOET-5003
2023-07-12 11:10:18 +02:00
Rodrigo Primo
f85b7a52fc Change logic of the code to build the 'used shipping method' segment UI
This commit fixes an issue with the initial logic used to retrieve
shipping methods to build the UI of the 'used shipping method' segment.
It updates the code to properly retrieve WooCommerce shipping methods
configured for all zones. Before the code was getting just the shipping
method types and the shipping method instances.

The query that is used to get the subscribers that match this segment
will be updated in another commit.

[MAILPOET-4992]
2023-07-04 22:23:06 +02:00
Rodrigo Primo
243c096643 Add UI for new "used shipping method" segment
[MAILPOET-4992]
2023-07-04 22:23:06 +02:00
Jan Jakes
0c6ecbd8b2 Remove filter args_schema from editor for now, as it is not used
[MAILPOET-5415]
2023-06-26 13:19:32 +02:00
Jan Jakes
24111af58b Move template management to registry
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
David Remer
f10ef78825 Add Analytics Page and backend logic
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
2c9f72a824 Implement menu highlighting for MailPoet pages in PHP
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00