Jan Lysý
3a5f2624c8
Unify form template selection header with automation
...
I used WordPress components when it was possible and changed used block from container to content.
[MAILPOET-5376]
2023-07-31 12:28:46 +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
Jan Jakes
c0bdb01965
Fix passing empty callback
...
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Jan Jakes
cbb1db857b
Fix deprecation notice when hiding automations menu
...
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Ralf Wiechers
1cd6ddd1f5
Prevent PHP notices
...
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
David Remer
f10ef78825
Add Analytics Page and backend logic
...
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
86320563ab
Highlight automations menu when email editor accessed from automations
...
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
2b071b6e4f
Add default color to MailPoet icon to avoid flicker from black, simplify SVG
...
The default color is #a7aaad, when CSS is ready, it can override it.
This approach seems to be also used by Woo.
I also removed useless title and groups from the SVG.
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
af1ad22377
Remove no longer needed menu hiding logic
...
This is now determined by whether the parent is "null" or not.
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
dfe5a54762
Highlight main MailPoet menu for welcome wizard, landing page, Woo setup, and error page
...
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
2c9f72a824
Implement menu highlighting for MailPoet pages in PHP
...
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Brezo Cordero
6b40dfabf3
Hide Automations menu for bundles
...
Using null instead of true so that the pages are available directly.
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Rostislav Wolny
d81571dd47
Update CSS selector for automations menu link beta flag
...
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
Rostislav Wolny
d832925107
Remove temporary static property for the plugin main page
...
The property was added so that we were able to set the main page
dynamically based on the feature switch value. This is no longer needed and
we can use the hardcoded constant as we did before.
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
Rostislav Wolny
0f01755e18
Remove homepage feature switch
...
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
Oluwaseun Olorunsola
d061d451a4
Remove Export
from Main menu options
...
MAILPOET-5045
2023-02-13 11:58:58 +01:00
David Remer
139fb2f1ad
Hide Automations and Upgrade in landingpage
...
[MAILPOET-5019]
2023-01-25 13:42:43 +01:00
David Remer
47a4e3b4e9
Hide menu entries when not setup yet
...
[MAILPOET-5019]
2023-01-25 13:42:43 +01:00
Oluwaseun Olorunsola
4be7f37bbc
Remove the feature flag from Landing page
...
MAILPOET-4803
2023-01-23 15:13:38 +01:00
Oluwaseun Olorunsola
e850eaa90c
Add Landing page and hide behind feature flag
...
MAILPOET-4795
2023-01-06 18:29:46 +01:00
Rodrigo Primo
6533a1444d
Display submenu entries only after the Welcome Wizard is completed
...
[MAILPOET-4815]
2022-12-19 21:37:42 +01:00
Rodrigo Primo
4ceb508218
Fix typo
2022-12-19 21:37:42 +01:00
Rostislav Wolny
8fbc5c270a
Place home at the first position in submenu
...
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
Rostislav Wolny
92dc5921df
Set main page to homepage in case the feature is active
...
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
Rostislav Wolny
3c3ce37720
Temporarily add static property for MAIN_PAGE_SLUG
...
We need to be able to change it when homepage feature is active.
When we remove the feature flag will switch back to using constant.
Note I also kept the constant in case a third party plugin uses it.
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
Rostislav Wolny
01aa1e1e52
Refactor page slugs into constants
...
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
Rostislav Wolny
2bbc1b7063
Add homepage page and submenu item hidden behind feature flag
...
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Jakes
882402645d
Do not wrap automations beta badge, make it a bit smaller
...
[MAILPOET-4840]
2022-11-25 09:55:11 +01:00
Jan Jakes
7570c9fa0e
Make automations Beta badge smaller
...
[MAILPOET-4836]
2022-11-22 09:23:57 +01:00
Jan Jakes
725e0ecb00
Remove automation feature flag
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
David Remer
af3d08ff36
Add method to detect automation pages
...
[MAILPOET-4755]
2022-11-04 06:26:21 +02:00
David Remer
e37a824d86
Hide notices on onboarding screen
...
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
c4e7ea4c8e
Use addFilter instead of addAction
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
David Remer
ce462f1643
Close correct HTML element type
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
David Remer
91936aff92
Rename Automation to Automations in Menu
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
David Remer
57858bbe9a
Move Automation menu item between Emails and Forms
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
David Remer
42d9b1241e
Make menu strings translateable and use esc_html__() for menu titles
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
David Remer
fc4a5315df
Add beta badge
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
David Remer
9f24579155
Add template listing page
...
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
Rodrigo Primo
d828754f94
Remove MP2 migration admin page
...
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
David Remer
b05e6d414c
Remove WP\Functions::__ and other translate functions
...
Under the new sniffer rules, those functions produce errors and, when those methods
are used, the sniffer can not properly be applied.
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
Jan Jakes
fc11b2f97e
Fix automation editor body class
...
We use edit-site styles now so we need to set the correct class for the footer to disappear.
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Daniel Bachhuber
e53505354a
Switch to SVG menu icon for Calypso compatibility
...
[MAILPOET-4472]
2022-07-27 09:43:42 +02:00
David Remer
246268e00d
Fix logic operator when detecting newsletter-editor page
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
David Remer
047040b0ed
Prevent Google fonts from loading when they are disabled
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
Jan Jakes
d9c47a40f2
Add permissions to manage automations
...
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Jan Jakes
2c18b851e4
Add automation editor page
...
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
David Remer
9f39843189
Sanitize incoming data according to WP sniffer
...
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00