Commit Graph

68 Commits

Author SHA1 Message Date
bc7bb56f90 Highlight the MailPoet > Emails menu item when editing email post
[MAILPOET-6090]
2024-11-15 17:16:21 +02:00
4d29faf998 Add permission level for the help page
[MAILPOET-6013]
2024-05-14 13:03:37 +02:00
cbff461b4d Display upgrade page if no valid premium key
[MAILPOET-5905]
2024-03-25 12:36:08 +01:00
724681d3a7 Display upgrade page for Tier 1
[MAILPOET-5905]
2024-03-25 12:36:08 +01:00
3972a4d7e7 Remove automations beta badge
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
2012621791 Improve code comment when adding block editor class
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
cc8bb10d8b Add proper body class for the email editor to mark it a block editor
This class is needed so that some CSS rules (e.g. white background, hidden footer)
are applied for WP admin.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
414e540f33 Remove unnecessary code for highlighting MailPoet > Email menu
The code was needed when we used the post editor. After we switched to
the custom editor we don't need it any more.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
ef8d7bf264 Remove automation hiding logic
This was introduced in:

https://github.com/mailpoet/mailpoet/pull/4917
https://github.com/mailpoet/mailpoet/pull/5171

[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
24dfd5c4c7 Fix deprecation error for pages hidden in menu
[MAILPOET-5718]
2023-11-23 10:50:33 +01:00
debbeaafdc Add EmailEditor page into MailPoet admin
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
c12438db08 Add filter to remove restriction on Woo Express
[MAILPOET-5573]
2023-09-25 07:02:19 -07:00
68e833f80c Refactor email editor PHP and JS code to follow automations namespacing
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
5abc308f40 Highlight correct submenu item when editing email
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
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
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
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
c0bdb01965 Fix passing empty callback
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
cbb1db857b Fix deprecation notice when hiding automations menu
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
1cd6ddd1f5 Prevent PHP notices
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
f10ef78825 Add Analytics Page and backend logic
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
86320563ab Highlight automations menu when email editor accessed from automations
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
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
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
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
2c9f72a824 Implement menu highlighting for MailPoet pages in PHP
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
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
d81571dd47 Update CSS selector for automations menu link beta flag
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
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
0f01755e18 Remove homepage feature switch
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
d061d451a4 Remove Export from Main menu options
MAILPOET-5045
2023-02-13 11:58:58 +01:00
139fb2f1ad Hide Automations and Upgrade in landingpage
[MAILPOET-5019]
2023-01-25 13:42:43 +01:00
47a4e3b4e9 Hide menu entries when not setup yet
[MAILPOET-5019]
2023-01-25 13:42:43 +01:00
4be7f37bbc Remove the feature flag from Landing page
MAILPOET-4803
2023-01-23 15:13:38 +01:00
e850eaa90c Add Landing page and hide behind feature flag
MAILPOET-4795
2023-01-06 18:29:46 +01:00
6533a1444d Display submenu entries only after the Welcome Wizard is completed
[MAILPOET-4815]
2022-12-19 21:37:42 +01:00
4ceb508218 Fix typo 2022-12-19 21:37:42 +01:00
8fbc5c270a Place home at the first position in submenu
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
92dc5921df Set main page to homepage in case the feature is active
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
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
01aa1e1e52 Refactor page slugs into constants
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
2bbc1b7063 Add homepage page and submenu item hidden behind feature flag
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
882402645d Do not wrap automations beta badge, make it a bit smaller
[MAILPOET-4840]
2022-11-25 09:55:11 +01:00
7570c9fa0e Make automations Beta badge smaller
[MAILPOET-4836]
2022-11-22 09:23:57 +01:00
725e0ecb00 Remove automation feature flag
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
af3d08ff36 Add method to detect automation pages
[MAILPOET-4755]
2022-11-04 06:26:21 +02:00
e37a824d86 Hide notices on onboarding screen
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
c4e7ea4c8e Use addFilter instead of addAction
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
ce462f1643 Close correct HTML element type
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00